Jump to content

Quantity selector limited to units available in stock


TRESSET

Recommended Posts

Good afternoon. One detail that has surprised me of Prestashop is that it does not connect the selector of units of a product with the amount of available stock.

 

For example, I have a product called "Broccoli", with 3 units available in stock. In the front office, a user visit the Broccoli product page, and can choose the amount that they want to buy. In the selector, type text, you can add an unlimited number of Broccoli, you can buy 1, 8 or 500 units, and when you click on "add to cart" a message notifies you that there is not enough stock.

 

Question, would not it be simpler if the selector just did not let you increase the number of 3 units (in this case)? Is there any way to configure / develop this?

 

Thank you very much.

 

I'm using Prestashop 1.7.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...