mlarino Posted May 26, 2015 Share Posted May 26, 2015 Hi, I have a problem with our store, We are using an ERP to upload all our products into prestashop, they are all simple products, but the stock is added to the product attributes "sizes", the actual product has stock 0. The problem comes when all sizes reach "0" stock. The products are still beeing displayed in the product list. I need an {if} conditional that intead of checking the stock for the product, checks the stock in the attributes. Can someone help me? thanks! Link to comment Share on other sites More sharing options...
mlarino Posted June 6, 2015 Author Share Posted June 6, 2015 Let me explain a little more, this is the way my products are entered: - PRODUCT 1 (stock 0) - Product 1 size S (stock 20) - Product 1 size M (stock 20) - Product 1 size L (stock 20) - Product 1 size XL (stock 20) - PRODUCT 2 (stock 0) - Product 2 size S (stock 10) - Product 2 size M (stock 10) - Product 2 size L (stock 15) - Product 2 size XL (stock 20) I need to hide them when stock is 0 in the atributes convinations not in the product. Any ideas? Thanks Link to comment Share on other sites More sharing options...
mlarino Posted June 8, 2015 Author Share Posted June 8, 2015 Let me explain a little more, this is the way my products are entered: - PRODUCT 1 (stock 0) - Product 1 size S (stock 20) - Product 1 size M (stock 20) - Product 1 size L (stock 20) - Product 1 size XL (stock 20) - PRODUCT 2 (stock 0) - Product 2 size S (stock 10) - Product 2 size M (stock 10) - Product 2 size L (stock 15) - Product 2 size XL (stock 20) I need to hide them when stock is 0 in the atributes convinations not in the product. Any ideas? Thanks no one? Link to comment Share on other sites More sharing options...
zaok Posted July 6, 2015 Share Posted July 6, 2015 Looking for the same answer for quite some time.. Finding it hard to believe that all stores have this problem and there is no solution Link to comment Share on other sites More sharing options...
p.guerin Posted December 1, 2016 Share Posted December 1, 2016 No one has ever solved this problem..? Facing the same issue... 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