Jump to content

Different short description on Category page and Product page.


Recommended Posts

Hello there, I'm wondering if it is at all possible to have a different discription on the list of products on the category page to the actual page of a product its self.

see here:

http://www.glhf.co.uk/en/4-valuegaming

As you can see the short description looks very crowded and unorganised, where as on the product page it looks fine and as I intend it to... see here:

http://www.glhf.co.uk/en/valuegaming/5-glhf-budget-x3.html

Now is there anyway to have the short description different on each page, or at least fix it so the HTML works and it has bullet points the same as the product page does.

Any help is muchly appreciated thank you! :)

Link to comment
Share on other sites

Edit product-list.tpl in your theme folder and change
{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}


To

{$product.description_short|truncate:360:'...'}



I tried this but now I have a ""> around my short description and cant figure out where it is coming from :(

Any ideas?

code in product-list.tpl now looks like this:

"getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} />

{if isset($product.new) && $product.new == 1}{l s='New'}{/if}{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}


{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'}


"
Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...