{* шаблон раздела сравнения товаров *} {include file="header.tpl.html" header=$smarty.const.STRING_PRODUCT_COMPARISON}
{* названия товаров *} {section name=i loop=$products} {/section} {* фотографии товаров *} {section name=i loop=$products} {/section} {* цены товаров *} {section name=i loop=$products} {/section} {* описания товаров *} {section name=i loop=$products} {/section} {section name=i loop=$definedOptions} {* характеристики товаров *} {section name=j loop=$products} {/section} {/section}
{$smarty.const.TABLE_PRODUCT_NAME}{$products[i].name}
{$smarty.const.ADMIN_PRODUCT_PICTURE}{if $products[i].picture}{$products[i].name}{else}{if $smarty.const.CONF_DISPLAY_NOPHOTO eq 1}{else}-{/if}{/if}
{$smarty.const.STRING_PRODUCT_PRICE}{$products[i].PriceWithUnit}
{$smarty.const.STRING_PRODUCT_BRIEF_DESC}{if $products[i].brief_description}{$products[i].brief_description}{else}-{/if}
{$definedOptions[i].name}{$products[j][i]}