Jump to content

quantity_wanted is restarting to 1


RytisLT

Recommended Posts

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!

 

post-785064-0-31873200-1440144066_thumb.png

Link to comment
Share on other sites

  • 4 years later...

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

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