I've had a strange issue crop up.
When customers view their cart and attempt to update the quantity in their cart (say from 4 units to 6 units) and then select the blue 'update' button, the quantity reverts to the original (back to 4 units). It does not update to the new quantity.
Using 1.5.6.
I'm looking for what files I should be looking at and what code is responsible for updating the quantity.
Any help is appreciated!
So I've verified the following:
1. There isn't an issue with the cart.tpl file. On a dev site, the cart updates fine with the same file.
2. I've removed vqmods from the live site that are not active in the dev site, but still the live site does not update the quantity/cost.
What other files are involved in the updating of the cart when a product quantity is changed?
Thanks.
1. There isn't an issue with the cart.tpl file. On a dev site, the cart updates fine with the same file.
2. I've removed vqmods from the live site that are not active in the dev site, but still the live site does not update the quantity/cost.
What other files are involved in the updating of the cart when a product quantity is changed?
Thanks.
I figured it out myself and am updating this for anyone else who may run across this issue. I referenced this thread as a guide: http://forum.opencart.com/viewtopic.php?f=19&t=114377
Turns out the issue was related to the SSL on the site.
The simple fix is to edit config.php and change:
to:
The cart updates as it should now.
Turns out the issue was related to the SSL on the site.
The simple fix is to edit config.php and change:
Code: Select all
// HTTP
define('HTTP_SERVER', 'http://YOURSITEHERE/');
Code: Select all
// HTTP
define('HTTP_SERVER', 'https://YOURSITEHERE/');
Last edited by straightlight on Wed Apr 15, 2020 11:39 pm, edited 1 time in total.
Reason: Added code tags.
Reason: Added code tags.
this worked for me.. OC 1.5.6. Thank you so much for posting! very grateful, saved me A WHOLE lot of stress and money!!!Diver1993 wrote: ↑Wed Nov 26, 2014 12:31 amI figured it out myself and am updating this for anyone else who may run across this issue. I referenced this thread as a guide: http://forum.opencart.com/viewtopic.php?f=19&t=114377
Turns out the issue was related to the SSL on the site.
The simple fix is to edit config.php and change:to:Code: Select all
// HTTP define('HTTP_SERVER', 'http://YOURSITEHERE/');
The cart updates as it should now.Code: Select all
// HTTP define('HTTP_SERVER', 'https://YOURSITEHERE/');
For me the problem was mod expire headers, opencart 3.0.2.0 with journal 3 after hours i figure out ))
Who is online
Users browsing this forum: No registered users and 45 guests