DARKF3D3 Posted December 28, 2014 Share Posted December 28, 2014 I'm showing products availability on product listing with a code like this: {if $product.quantity <= 0} <p id="oos-badge" class="icon-remove"></p> {/if} In this way if a products is out of stock the user will see a red cross on the product. The problem is that if the product has combinations like colors or other attributes, and the main attributes it's out of stock, the red cross is showed also if theres other color available. There's a way to show the red cross only if all combinations have quantity = to zero? 1 Link to comment Share on other sites More sharing options...
DARKF3D3 Posted January 25, 2015 Author Share Posted January 25, 2015 Anyone know if it's possible to do that? Link to comment Share on other sites More sharing options...
Recommended Posts