AnGe7 0 Posted January 13 Posted January 13 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. Share this post Link to post Share on other sites
PrestaServicePro 123 Posted January 13 Posted January 13 Hello, Use " $product.quantity = 0 " and can be ok Let me know about the result Share this post Link to post Share on other sites
AnGe7 0 Posted January 13 Posted January 13 i tried this : https://github.com/PrestaShop/PrestaShop/issues/13096#issuecomment-736018651 but not working, Share this post Link to post Share on other sites
AnGe7 0 Posted January 13 Posted January 13 (edited) ok it works but product-flags are hidden. Edited January 13 by AnGe7 (see edit history) Share this post Link to post Share on other sites
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