skin1/modules/Upselling_Products/related_products.tpl
{*--------------------------------------*}
{* Set number of columns *}
{assign var='ups_cols' value='3'}
{*--------------------------------------*}
{* Thumbnail height *}
{assign var='ups_th' value='100'}
{*--------------------------------------*}
{math equation="x / y" x=100 y=$ups_cols assign=ups_w}
{*--------------------------------------*}
{if $product_links ne "" && $printable ne "Y"}
{capture name=dialog}
{foreach from=$product_links item=p name=related}
{if $smarty.foreach.related.first }
| {if $smarty.foreach.related.last} |
skin1/modules/Recommended_Products/recommends.tpl
{*--------------------------------------*}
{* Set number of columns *}
{assign var='rec_cols' value='3'}
{*--------------------------------------*}
{* Thumbnail height *}
{assign var='rec_th' value='100'}
{*--------------------------------------*}
{math equation="x / y" x=100 y=$rec_cols assign=rec_w}
{*--------------------------------------*}
{if $recommends}
{capture name=recommends}
{section name=num loop=$recommends}
{if %num.first%}
| {if %num.last%} |