Jump to content

Combination variables don't update - error in cart


Irene13

Recommended Posts

 

 

Hi everyone, I have a problem with combinations.
I have three parameters to configure my product, the problem is that the variables don't update as they should.

For example, the "Red" type of pvc should only have a thickness of 2mm \ 200mm, instead all are displayed.

Third combination should be only 2mm-200mm
If I purposely select a combination that doesn't exist, the article is not placed in the cart and this error occurs.

1563378290_Schermata2020-03-05alle09_19_38.thumb.png.a8c4b116647ca51fbf192ea45fe40ce8.png290433817_Schermata2020-03-05alle09_21_28.thumb.png.eb9613d14405cb0478c150a7ced4ff23.png

 

 

I would need, as so far I have seen the combinations on Prestashop behave, that by selecting the type of pvc, the variables for the strip measurements were updated, removing those not available for colored pvc and returning available when there is actually a combination that includes them.

The calculator shown in the figure is part of a perfectly functional module, it updates the price exactly for each variable the problem seems to me to be in the prestashop mechanism itself.

Thanks a lot to anyone who will help me,

Have a nice day

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