Jump to content

Product Description


tylerjfm

Recommended Posts

I have been trying to find out why the product description works when looking at products by category (page: http://www.officespo...d-address-books) but if you try search for a product the description doesn't come through. I noticed that both the search and category views both use product-list.tpl so I am really confused as to why it works in one but not the other. If you have any idea about this please tell me.

 

The code that displays the production discription:

<p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description|strip_tags:'UTF-8'|truncate:120:'...'}" >{$product.description|strip_tags:'UTF-8'|truncate:120:'...'}</a></p>

 

Edit: Added code

 

 

Thanks,

Tyler

Edited by tylerjfm (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...