Jump to content

How to add text when product is out of stock


Recommended Posts

Hi,

 

I want to add text when product is out of stock - similar to warning when have only 1 product in stock.

 

Final result need to be like: (in stock: no - is modified default availability of products)

 

post-335617-0-67340800-1395839642_thumb.png

 

I watching warning when have only 1 product in stock and need to add something similar may be?

<p class="warning_inline" id="last_quantities"{if ($product->quantity > $last_qties OR $product->quantity <= 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none"{/if} >{l s='Warning: Last items in stock!'}</p>

Thanks

Link to comment
Share on other sites

×
×
  • Create New...