Post by Diver1993 » Sat Nov 22, 2014 2:20 am

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!
Last edited by Diver1993 on Wed Nov 26, 2014 12:32 am, edited 1 time in total.

New member

Posts

Joined
Thu Mar 20, 2014 10:49 pm

Post by Diver1993 » Tue Nov 25, 2014 2:39 am

Bumping for any help. Looking for help in the script/ajax that might control the 'update cart' button on the shopping cart.

Thanks!

New member

Posts

Joined
Thu Mar 20, 2014 10:49 pm

Post by Diver1993 » Tue Nov 25, 2014 10:18 am

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.

New member

Posts

Joined
Thu Mar 20, 2014 10:49 pm

Post by Diver1993 » Wed Nov 26, 2014 12:31 am

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:

// HTTP
define('HTTP_SERVER', 'http://YOURSITEHERE/');

to:

// HTTP
define('HTTP_SERVER', 'https://YOURSITEHERE/');

The cart updates as it should now.

New member

Posts

Joined
Thu Mar 20, 2014 10:49 pm

Post by jdiai » Wed Dec 27, 2017 9:32 am

Diver1993 wrote:
Wed Nov 26, 2014 12:31 am
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:

// HTTP
define('HTTP_SERVER', 'http://YOURSITEHERE/');

to:

// HTTP
define('HTTP_SERVER', 'https://YOURSITEHERE/');

The cart updates as it should now.
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!!!

Newbie

Posts

Joined
Tue Nov 12, 2013 11:30 pm
Who is online

Users browsing this forum: No registered users and 23 guests