Jump to content

[SOLVED]Is there any no-more stock icon to be shown if quantity hit to zero?


seldon.paul2

Recommended Posts

Try changing line 19 of product-list.tpl (in PrestaShop v1.3.2) from:

{if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}



to:

{if ($product.allow_oosp OR $product.quantity > 0)}<img src="{$img_dir}icon/available.gif" alt="{l s='Available'}" width="14" height="14" />{else}<img src="{$img_dir}icon/unavailable.gif" alt="{l s='Out of stock'}" width="14" height="14" />{/if}

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...