thehurricane Posted January 4, 2019 Share Posted January 4, 2019 Hello, is it possible to set minimal stock for sale for every product? You know something like "If product A have stock lower than 5, show as not for sale for customer, but for product B minimal stock is 3, and for product C it is 10"?? Regards Link to comment Share on other sites More sharing options...
musicmaster Posted January 5, 2019 Share Posted January 5, 2019 Prestashop products have an "available_for_order" flag. So you can either in your php code or in your templates add copy of the type: if((product=A) AND (stock <5)) available_for_order = false; You will need to do this separately for the product page and the product-list (category) page. And maybe some others too. If you do it smart you might be able to have a central table where you enter the stock levels. Link to comment Share on other sites More sharing options...
thehurricane Posted January 9, 2019 Author Share Posted January 9, 2019 And maybe there is some module for it? Because it's gonna take long to code those if for 1000+ products... Link to comment Share on other sites More sharing options...
thehurricane Posted January 16, 2019 Author Share Posted January 16, 2019 I still have this problem, any1 have this problem? And maybe found module that can do that? 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