Search found 731 matches

Search found 731 matches

Re: specific custom field in checkout opencart 3.0.3

It is not possible to achieve using custom fields as these fields do not show up unless the customer adds a new address. You can check this module. It allows the customer to choose optional offers either free or paid. You can create a free offer https://www.opencart.com/index.php?route=marketplace/e...

Jump to post
  • Thu May 14, 2020 3:07 pm
  • Replies 2
  • Views 266
Re: Calculate shipping about distance

Distance-based shipping involves additional cost as google map API is not free. Alternative options could be postal or city-based shipping although city-based shipping is not a viable solution as it is a free text entered by customers. Therefore, postal based shipping is the optimal alternative of d...

Jump to post
  • Thu May 14, 2020 2:28 pm
  • Replies 2
  • Views 284
Re: How to change store URL

Aleks1201 wrote:
Tue May 12, 2020 9:03 pm
Where is this config.php file and htaccess file? been searching for 1 hour lol
One config.php file is located in the root directory and another in the admin directory admin/config.php

Please ignore the htaccess file. You don't need to change anything in it, I was mingling with SEO URL :)

Jump to post
  • Tue May 12, 2020 10:23 pm
  • Replies 6
  • Views 430
Re: Opencart site infected/hacked - script injection

I recently came across a store where injected code was found in the database. Most probably it was injected via the WYSIWYG editor. So dump the DB and find the inject code if you know what the injected codes are.

Jump to post
  • Tue May 12, 2020 7:34 pm
  • Replies 6
  • Views 183
Re: How to change store URL

1. Replace all URLs with SSL URLs in both config file (admin and catalog)
2. Rename .htaccess.txt to .htaccess and adjust the `RewriteBase` path if the store is running from a sub-directory e.g. /store

Jump to post
  • Tue May 12, 2020 6:34 pm
  • Replies 6
  • Views 430
Re: Need another set of eyes on a MySQL INSERT statement

public function updateCarrier($order_id, $carrier) { $this->db->query("INSERT INTO `bt_order_shipment` (order_id, date_added, shipping_carrier_id) VALUES(" . (int)$order_id . ", " . NOW() . ", " . (int)$carrier . ") ON DUPLICATE KEY UPDATE shipping_carrier_id=" . (int)$carrier); } I am getting the ...

Jump to post
  • Tue May 05, 2020 2:01 pm
  • Replies 4
  • Views 231
Re: Google ads Tracking Purchase conversion Event Question

ok thank you will test that to see if it works and the reason people said for that code is because the contact us uses the same success.twig something like that Ooop!, you are right. I forgot the contact page. So you have to add one flag on the order success page. You can do as follows: 1. In the f...

Jump to post
  • Mon May 04, 2020 10:25 pm
  • Replies 4
  • Views 173
Re: Google ads Tracking Purchase conversion Event Question

<?php if (isset($this->request->get['route']) && $this->request->get['route'] == 'checkout/success') { ?> <!-- tracking code goes here --> <?php } ?> You don't need to check whether it is the success page or not as you are on the success page already. For OC 3.x, just add your tracking code before ...

Jump to post
  • Mon May 04, 2020 10:02 pm
  • Replies 4
  • Views 173
Re: What database table and column contains the SEO URL in OpenCart 2.3.0.2

It seems you have already figured it out. I checked https://skyreadyrc.com/store/cobra-5-racing-frame.html is working fine now. However, I want to mention that `seo_url_id ` is just a primary key and it does not have any impact on this matter. The `query` field is the key field. For example, the que...

Jump to post
  • Tue Apr 21, 2020 8:02 pm
  • Replies 6
  • Views 413
Re: What database table and column contains the SEO URL in OpenCart 2.3.0.2

In OC 2.3.x, the table name is `oc_url_alias` and fields are `query` and `keyword `.
In OC 3.x, it has two additional fields language_id and store_id.

Jump to post
  • Mon Apr 20, 2020 3:34 pm
  • Replies 6
  • Views 413
Re: Issues to force HTTP to HTTPS opencart 3.0.3.2

The codes are correct. Try putting your redirection code above the opencart code block. It will be like the following: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L] RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_s...

Jump to post
  • Wed Apr 01, 2020 2:58 pm
  • Replies 3
  • Views 346
Re: No Transport No Transport Undefined

Ateix652 wrote:
Tue Mar 31, 2020 9:20 am
Hi There it worked. Thank you very much, you are a life saver. ;D
Glad to hear. Next time replace HTTP to HTTPS carefully :)

Jump to post
  • Tue Mar 31, 2020 12:54 pm
  • Replies 4
  • Views 258
Re: Error in admin

paulfeakins wrote:
Mon Mar 30, 2020 7:10 pm
Most web hosts deny the problem until you prove it's them very clearly.
It was indeed a server issue. The hosting provider has admitted it as their problem. OP told me in a private message.

Jump to post
  • Mon Mar 30, 2020 10:46 pm
  • Replies 8
  • Views 565
Re: No Transport No Transport Undefined

Replace the jquery library with a fresh version. You have tainted the core jquery.

Jump to post
  • Mon Mar 30, 2020 3:48 pm
  • Replies 4
  • Views 258
Re: Gift Certificate Non-Refundable background

It completely depends on the theme you are using. Share your store URL so we can check.

Jump to post
  • Sun Mar 29, 2020 2:16 pm
  • Replies 1
  • Views 175
Re: [SOLVED] Product catalog broken

There is one mod file that modifies controller/common/header.php, but regarding the base URL, it is exactly the same as in the original header.php: (I used Compare function in Notepad++) hmm, it might be modified at a later time during event processing. But it is being modified somehow, that is sur...

Jump to post
  • Sun Mar 29, 2020 12:50 am
  • Replies 14
  • Views 472
Re: Error in admin

I contacted them and they say it is not their fault, they say the MySQL server is ok. The error only happen when I check the Notify customer option, if I don't check that everything works fine. therefore it is something related to MySQL server because when that is checked it sends an email to the c...

Jump to post
  • Sun Mar 29, 2020 12:44 am
  • Replies 8
  • Views 565
Re: [SOLVED] Product catalog broken

have you checked if the header.php was modified via ocmod?

Jump to post
  • Sun Mar 29, 2020 12:30 am
  • Replies 14
  • Views 472
Re: Error in admin

The error is the following one. It could happen due to several reasons. Contact your host provider and give them the following message.

Code: Select all

 Error: MySQL server has gone away

Jump to post
  • Sun Mar 29, 2020 12:23 am
  • Replies 8
  • Views 565
Re: Product catalog broken

Fantastic, it worked! I am very surprised why something suddenly changed, since it has been working a long time now and nothing was edited to cause the crash! Thank you very much for your time and help @opencartmart and @straightlight! Awesome! Now check the file controller/common/header.php (or th...

Jump to post
  • Sun Mar 29, 2020 12:14 am
  • Replies 14
  • Views 472

Search found 731 matches