PrabuSS Posted March 3, 2015 Share Posted March 3, 2015 I would like to display "Out of stock" text on the product page when product quantity is zero. I have used following script to product.tpl and its working good for single combination products. But unfortunately its not working in the multiple combination products. Please see attached. {if (isset($groups) AND $quantity == 0) OR (!isset($groups) AND $product->quantity == 0)}<p class="price" style="color: red;">{l s='Out of stock!'}</p>{/if} Please any one 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