Re: Hide related products tpl when there are none
Use:
PHP Code:
{if $active_modules.Upselling_Products ne "" && $product_links ne ""}
<p />
{include file="modules/Upselling_Products/related_products.tpl" }
{/if}
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)
ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer
Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
|