Jump to content

Prestashop 1.6.1.1 - Combinations doesn't change price in cart


Recommended Posts

Hello,

 

I have problem with attributes in prestashop 1.6.1.1

 

When I'm changing attribute on product page, price is changing. But if I'm trying to add to cart product with this combination, price is default.

 

I have read a lot of topics, but I didn't found solution.

 

Already tried:

 

- Changing to default template.

- Changing to original files: Product.php, ProductController.php and product.js 

 

Photos:

 

post-1367148-0-03367600-1486130264_thumb.jpg

post-1367148-0-20634300-1486130265_thumb.jpg

post-1367148-0-69964600-1486130265_thumb.jpg

post-1367148-0-21599900-1486130266_thumb.jpg

post-1367148-0-79539200-1486130266_thumb.jpg

 

If anyone have some advices, I will be glad for help.

Link to comment
Share on other sites

 

When you say "Changing to original files: Product.php, ProductController.php and product.js" - specifically product.js, did you try just replacing it by the one you have on your default theme or the one in the latest PS 1.6 version default theme? You could also check ajax-cart.js  

  • Like 1
Link to comment
Share on other sites

I have downloaded both version of prestashop: 1.6.1.1 and 1.6.1.11

and tried:

 

1) Replace files to default files from Prestashop 1.6.1.1

 

classes/Product.php

controllers/front/ProductController.php

themes/themename/js/product.js

themes/themename/js/modules/blockcart/ajax-cart.js

modules/blockcart/ajax-cart.js

 

2) Replace files to default files from Prestashop 1.6.1.11

 

classes/Product.php

controllers/front/ProductController.php

themes/themename/js/product.js

themes/themename/js/modules/blockcart/ajax-cart.js

modules/blockcart/ajax-cart.js

 

 

and still the same problem...

Link to comment
Share on other sites

Do you have any override in /override ? I tried doing some debugging and I believe the correct combination is being sent to the cart, however it is returning default combination. You can check adding a different from default combination to the cart, after you go to the cart and the combination/attributes are correct, but the price is that of the default combination. So this makes me think its a server side problem. 

 

Is there any reason you cannot update to the latest 1.6 version?

  • Like 1
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...