Not sure when it started, but the add to cart, add to wish list and add to compare buttons stopped working in the following locations:
Featured
Latest
Best Seller
Will work on some products pages, but not others.
In a few cases the buttons work on the first page of a product, but on the second one.
I've checked the config files, templates, disabled extensions/mods, checked for oddities in some of the affected
category and product entries. Same thing using Chrome, Safari, Opera, Avast Secure browser,
Explorer, Brave, Firefox and a couple of other browsers.
I'm losing my mind trying to figure this out. Can anyone here provide some insight?
Featured
Latest
Best Seller
Will work on some products pages, but not others.
In a few cases the buttons work on the first page of a product, but on the second one.
I've checked the config files, templates, disabled extensions/mods, checked for oddities in some of the affected
category and product entries. Same thing using Chrome, Safari, Opera, Avast Secure browser,
Explorer, Brave, Firefox and a couple of other browsers.
I'm losing my mind trying to figure this out. Can anyone here provide some insight?
Please provide your OC version and URL.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Ensure all layouts are properly configured from your OC admin > extensions > modules page for each extension modules you are using.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I had all the mods disabled and removed extensions that were just an xml file. Nothing changed.
Look in your web browser's development console. You will probably see a CORS policy error. This is because you categories start with www. and your other pages do not. Likely caused by a bad theme or modification.
That was it my friend!! When I made the new navbar and a grid with the image links, out of habit I included www. Removed those and all is well.
Thanks so much for your help!!
Thanks so much for your help!!
You need to decide if you want to use www.domain or just domain, set that in all your configs and redirect from one to the other in your htaccess.
I actually looked at some products that a storefront employee had entered, found options with no values assigned, things working properly again, but
www is my choice, I will have to check the htaccess file for shites and giggles. Thanks.
www is my choice, I will have to check the htaccess file for shites and giggles. Thanks.
Who is online
Users browsing this forum: No registered users and 82 guests