AnGe7 Posted January 13, 2021 Share Posted January 13, 2021 Hello all, i try to add « Sold Out » on picture of product in product List if *all* products variants are out of stock. Can i use $product.quantity = 0 ? need to test products.attributes.quantity ? Thank you. Link to comment Share on other sites More sharing options...
PrestaServicePro Posted January 13, 2021 Share Posted January 13, 2021 Hello, Use " $product.quantity = 0 " and can be ok Let me know about the result Link to comment Share on other sites More sharing options...
AnGe7 Posted January 13, 2021 Author Share Posted January 13, 2021 i tried this : https://github.com/PrestaShop/PrestaShop/issues/13096#issuecomment-736018651 but not working, Link to comment Share on other sites More sharing options...
AnGe7 Posted January 13, 2021 Author Share Posted January 13, 2021 (edited) ok it works but product-flags are hidden. Edited January 13, 2021 by AnGe7 (see edit history) 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