Jump to content

Cart will only accept default product combination


Recommended Posts

One of my products is available in five colors. But no matter what color I choose in the order module, the cart only goes with the default color combination choosen in BO.

Anyone who have experiences with this problem ?

Thanks

Morten

Link to comment
Share on other sites

Thanks a lot ... I chose the easy solution - to turn off the V1.1 compatibility in Prestashop V1.2 as I'm not really sure how to implement the changes to the underlying files as described in the link above.

I'm a PrestaShop novice - need I say ? What would be the consequence of turning of the compatibility ?

Thanks again ...

Link to comment
Share on other sites

  • 5 months later...

It is the following line in themes/prestashop/js/product.js that is causing the problem:

if (in_array(combinations[combination]['idsAttributes'][idAttribute], choice))



You are getting an "Object expected" error for some reason. I guess the combinations array is incorrect. I don't know why. I can only suggest using the "Product combinations generator" to re-generate the combinations to see whether that works.

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...