Jump to content

Proccessing out-of-stock products increase values and fire auto add rules


Recommended Posts

Hello, while trying the out-of-stock concept I found that adding or subtracting from the cart is skipping the validation for out-of-stock concept by setting the variable


to true.

It's causing problems for me because it's firing some rules that I made, so I wanted to know if anyone know why is this the case as this was introduced 2 years ago by this commit: Link

It is also confusing for the customer in my opinion, because you can have more quantity of the current products in stock, even if the checkout is disable.

If I change it to false everything is fine.
Should I report this into the prestashop github? Or do you think this is the expected behavior?





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