Jump to content

[SOLVED] 'Out of Stock' label


Recommended Posts

Hi all,

I can't manage to arrange text in product list when there is no stock. The 'out of stock' label overlaps the short description of the product as shown in the picture. I've been sneaking in the product-list.tpl file without any outcome.

Any idea on how to correct this?

Thanks in advance

28204_MORiAgEgz7ko7xjuCmx0_t

Link to comment
Share on other sites

ok, solved

Just added

 

to get a line break

in instruction:

{$product.description_short|strip_tags|truncate:90:'...'} {if ($product.allow_oosp OR $product.quantity > 0)}{else}

 

{l s='Out of stock'}{/if}

not very elegant, but effective!
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...