Bud
09-04-08, 02:31
I don't like having empty product descriptions, especially on the product page, so I've added a little code to at least fill the empty space:
In .../elements/product_disply.tpl, just above:
<p>{$sProductDesc}</p>
<p>{$sProductPromo}</p>
I've inserted
{if $sProductDesc ==""}
<p>For more information about this {$sProductName} please visit {$sMerchantName}'s product page for this item.</p>
<p>Simply click the picture to the left for detailed information and ordering.</p>
{else}
{/if}
It's probably not perfect, but seems to do the job.
Likewise, you can do the same with product_display_list.tpl if desired.
Hope that's of use to someone.
In .../elements/product_disply.tpl, just above:
<p>{$sProductDesc}</p>
<p>{$sProductPromo}</p>
I've inserted
{if $sProductDesc ==""}
<p>For more information about this {$sProductName} please visit {$sMerchantName}'s product page for this item.</p>
<p>Simply click the picture to the left for detailed information and ordering.</p>
{else}
{/if}
It's probably not perfect, but seems to do the job.
Likewise, you can do the same with product_display_list.tpl if desired.
Hope that's of use to someone.