Bruna BSPCU Posted June 3, 2013 Share Posted June 3, 2013 (edited) Hello everyone! When a product is unavailable (with 0 stock), how can i display the text: "Product unavailable"? I'd changed the settings in admin panel, on Products, to display quantities available on product page but is not working i think. See some example of product with 0 stock here: http://www.gochic.co...ado-folhas.html How can i display the text? PS version: 1.4 Thanks for all! Edited June 3, 2013 by Bruna BSPCU (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2013 Share Posted June 3, 2013 {if $product->quantity == 0} {l s='YOUR COMMUNICATE HERE'} {/if} 1 1 Link to comment Share on other sites More sharing options...
Bruna BSPCU Posted June 3, 2013 Author Share Posted June 3, 2013 (edited) vekia thanks a lot of times. It worked very well! PS: TO WORK I HAD TO PUT == NOT = LIKE: {if $product->quantity == 0} Thanks for answering and helping like always! Edited June 3, 2013 by Bruna BSPCU (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2013 Share Posted June 3, 2013 yes you've got right - it is necessary to use == instead the = it was my mistake Im happy that i could help you :-) regards 1 Link to comment Share on other sites More sharing options...
Mackens Posted December 27, 2013 Share Posted December 27, 2013 Is it possible to change the available text in the product list when a product is out of stock but available to order ? Link to comment Share on other sites More sharing options...
Recommended Posts