Jump to content

prod description gets cut off


Recommended Posts

If you want more than one line for the product description, you'll need to change line 14 of modules/homefeatured/homefeatured.tpl:

{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'}



Increase the truncate value from 27 to for two-line descriptions. Increase the 32 as well to how long the tooltip should be.

Link to comment
Share on other sites

  • 1 month later...

Change line 8 of product-list.tpl in a similar way:

{if $product.new == 1}{l s='new'}{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'}

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...