WordPress Business Themes › Forums › Version 7 Themes › ShopperPress › "ADD TO CART" BUTTON DOES NOT WORK ON PRODUCT PAGE
The product page for each item has a large “ADD TO CART” button on the top right. This button has never worked. However, at the bottom of the page is a product carousel and the “ADD TO CART” button works on all of those.
create a ticket for this please so we can check the button, seems like its only a setting issue.
ticket url : http://premiumpress.com/ticket/
Something like this can happen after editing a file and saving it with different encoding (this is set within the editing software settings) or when uploading files if using an incorrect transfer mode, so the same method would not work. (i.e. text files and images are transferred differently, images use ‘binary’ mode and text files use ‘text’),
I’d be happy to take a look at your ‘/ST/framework/class/defaults_cart.php’ file if you could zip it up and attach it here.
Thank you. Here it is.
I went line by line in two files (with a fresh file and the one I have installed), but the main differences had to do with spacing of some sort (i.e. tabs, space, newlines…etc).
Everything else looked ok, so I would think just replacing the file should fix it..
This is a fresh ST theme file. Rename your current ‘defaults_cart.php’ file and place this file in it’s place and it should work.
Note: The file was taken from the v8.9.7 Shopping Theme.
Great! It worked! Thank you very much
My pleasure Jeffrey, glad it helped.
Have a pleasant weekend.
Im having the same issue, i believe. My button sends me back to home page on certain items that have attributes added to them. Thanks in advance for any assistance
your issue was resolved via ticket system
The caused was with your pages & buttons from Theme setup > General setup. those were not set.
Submit your feature requests to our ideas board and it could be included in a future theme update.
or contact our support team