Jump to content

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


Ouro

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

skipAvailabilityCheckOutOfStock

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?

image.png.488fe9baa15ea6f9d2825545185cada3.png


image.png.8c553988cf5850a4c742dae561d0ad6d.png

image.thumb.png.37cf98370da1a076cd64fbfc0aa5ce63.png

image.thumb.png.499788369336bc6044c9e6ce4661c961.png

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