| {$product_names = ''} {foreach $products as $p name=product_names} | {$product_names = $product_names|cat:($p.name)} {if !$smarty.foreach.product_names.last}{$product_names = $product_names|cat:', '}{/if} | {/foreach}
|---|---|
| [`Price`] | {foreach $products as $p}
{if $p.min_price < $p.max_price}
{shop_currency_html($p.min_price, ['extended_format' => '%t', 'format' => true])}
— {shop_currency_html($p.max_price)}
{else}
{shop_currency_html($p.price)}
{/if}
|
{/foreach}
| {$f.name} | {foreach $products as $p}
{if $f.type !== 'divider'}
{if isset($p.features[$f_id])}
{if is_array($p.features[$f_id])}
{implode('
{/if}
', $p.features[$f_id])} {else} {$p.features[$f_id]} {/if} {else} — {/if} |
{/foreach}
[`Product comparison list is empty.`]
{/if}