Jump to content

How do add i one more label to the product?


Recommended Posts

product.tpl:

 

<!-- disappeared-->

{if $product->condition == 'disappeared'}

<span class="disappeared-box no-print">

<span class="disappeared-label">{l s='disappeared'}</span>

</span>

{/if}

<!-- end disappeared-->

 

product-list.tpl:

 


<!-- disappeared-->

{if $product.condition == 'disappeared'}

<a class="disappeared-box" href="{$product.link|escape:'html':'UTF-8'}">

<span class="disappeared-label">{l s='disappeared'}</span>

</a>

{/if}

<!-- end disappeared-->

Edited by Quechua (see edit history)
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...