alan3k Posted February 3, 2017 Share Posted February 3, 2017 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: If anyone have some advices, I will be glad for help. Link to comment Share on other sites More sharing options...
w3bsolutions Posted February 7, 2017 Share Posted February 7, 2017 Can you post a link to the site? Link to comment Share on other sites More sharing options...
alan3k Posted February 8, 2017 Author Share Posted February 8, 2017 You can test it here: http://milomeble.pl/narozniki/1268-naroznik-soprano-iii.html Link to comment Share on other sites More sharing options...
w3bsolutions Posted February 8, 2017 Share Posted February 8, 2017 You can test it here: http://milomeble.pl/narozniki/1268-naroznik-soprano-iii.html 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 1 Link to comment Share on other sites More sharing options...
alan3k Posted February 8, 2017 Author Share Posted February 8, 2017 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 More sharing options...
w3bsolutions Posted February 9, 2017 Share Posted February 9, 2017 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? 1 Link to comment Share on other sites More sharing options...
alan3k Posted February 10, 2017 Author Share Posted February 10, 2017 I have tried to update shop on subdomain and... it's helped! Module: 'One-click upgrade' - Prestashop addons. Thank You for Your time and advices. Link to comment Share on other sites More sharing options...
w3bsolutions Posted February 10, 2017 Share Posted February 10, 2017 Ok, so its solved? Link to comment Share on other sites More sharing options...
alan3k Posted February 13, 2017 Author Share Posted February 13, 2017 Yes, its solved. Thank You. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now