Jump to content

Always add default combination


Recommended Posts

Hello,

 

my problem is, when i choose product combination, add to cart button always add the default combination value to cart, and whatever i choose, on the product page price and stock view wont change /if i choose combination with + price/. Theme is ok, this function works on other server without problem

 

Register globals is off, maybe it is the problem?

 

PrestaShopu: 1.4.9.0

Linux #1 SMP Sat Aug 4 09:56:37 EDT 2012 x86_64

LiteSpeed

PHP: 5.3.16

MySQL: 5.1.65-rel14.0

 

Thanks!

Link to comment
Share on other sites

  • 2 months later...
  • 4 years later...

Same issue on two stores. Disabling ajax add to cart does not affect this.
Someone, somewhere, suggested that when customer selects another size that the default one (for example) the javascript does not have time to do it's thing until the customer presses the add to cart button, so the default combo gets added to cart.
But I gave waited ~20 sec after choosing a different combo and the issue remains: the default combination lands in the cart.
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...