[-] FO : Fixed #PSCFI-4080 - short descriptions in product-list.tpl are now correctly displayed
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
{if isset($product.new) && $product.new == 1}<span class="new">{l s='New'}</span>{/if}
|
||||
</a>
|
||||
<h3><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}</a></h3>
|
||||
<p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'|escape:'htmlall':'UTF-8'}">{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'}</a></p>
|
||||
<p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}" >{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'}</a></p>
|
||||
</div>
|
||||
<div class="right_block">
|
||||
{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="on_sale">{l s='On sale!'}</span>
|
||||
|
||||
Reference in New Issue
Block a user