RytisLT Posted August 21, 2015 Share Posted August 21, 2015 Hello, I changed quantity_wanted to select form, and for one option i need to set "selected". If product don't have attributes - everything is ok, but if product have attributes then quantity_wanted select form "selected" don't work, every time form shows value 1. I found that this script is moving select form from "selected" to 1 value. How I can fix it, I need keep quantity_wanted form on "selected" value. Thanks! Link to comment Share on other sites More sharing options...
RytisLT Posted August 24, 2015 Author Share Posted August 24, 2015 Afters two year of using Prestashop I wrote ~3 post and on all them I got 0 answers. Super community. Link to comment Share on other sites More sharing options...
texxo Posted February 22, 2020 Share Posted February 22, 2020 I have also some sort of same problem because when i try to increase quantity, PS 1.7.6.1 and my theme, the quantity is being reset always to 1 (and therefore on the product page is not seen on the price any notification about quantity discount (not the table bellow - that is shown normally). i noticed that this quantity_wanted is the ID of that field but i noticed also that it always is being passed 1 which is strange. Did you find any answer on this yourself? 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