kinui Posted November 1 Share Posted November 1 (edited) Hello, I'm looking for a module or code solution for always leave one unit in stock, so the user can't buy the last product. I appreciate if someone knows a module or a solution to implement. Thanks Edited November 1 by kinui more context (see edit history) Link to comment Share on other sites More sharing options...
MEG Venture Posted November 1 Share Posted November 1 Hi I prepared you a module and attached to this post. This module adds 1 quantity to the ordered products' inventory if the quantity left is 0, after the order validation. The module is compatible with Prestashop 1.7 and 8 Please test and let me know about the result. autostock.zip 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