[-] FO : #PSTEST-772 - Add description to manufacturer's product list

This commit is contained in:
mDeflotte
2012-02-16 15:19:38 +00:00
parent 0ef8453064
commit 13fc0614f8
+11
View File
@@ -30,6 +30,17 @@
{if !isset($errors) OR !sizeof($errors)}
<h1>{l s='List of products by manufacturer:'}&nbsp;{$manufacturer->name|escape:'htmlall':'UTF-8'}</h1>
{if !empty($manufacturer->description) || !empty($manufacturer->short_description)}
<div class="description_box">
{if !empty($manufacturer->short_description)}
<p>{$manufacturer->short_description}</p>
<p class="hide_desc">{$manufacturer->description}</p>
<a href="#" class="lnk_more" onclick="$(this).prev().slideDown('slow'); $(this).hide(); return false;">{l s='More'}</a>
{else}
<p>{$manufacturer->description}</p>
{/if}
</div>
{/if}
{if $products}
<div class="sortPagiBar clearfix">