{* product tree for froogle-module and yandexmarket-module *} {literal} {/literal} {foreach from=$ProductCategories item=_ProductCategory} {/foreach}
{if $_ProductCategory.ExistSubCategories} {if $_ProductCategory.ExpandedCategory} {else} {/if} {else} {/if} {count array=$session_selectedProducts[$_ProductCategory.categoryID] item=_ProductsNum} {if $_ProductCategory.products_count_category} {$_ProductCategory.name|escape:'html'} {else} {/if} {if $_ProductCategory.ExpandedCategory or !$_ProductCategory.ExistSubCategories} ( {if $_ProductsNum} {$_ProductsNum} {elseif $session_checkedCategories[$_ProductCategory.categoryID]} {$_ProductCategory.products_count_category} {else} 0 {/if} / {$_ProductCategory.products_count_category} ) {else} ( {if $session_selectedProductsIncSub[$_ProductCategory.categoryID]} {$session_selectedProductsIncSub[$_ProductCategory.categoryID]} {elseif $session_selectedProductsIncSub[$_ProductCategory.categoryID]} {$_ProductCategory.products_count} {else}0 {/if} / {$_ProductCategory.products_count} ) {/if} {if $showProducts==$_ProductCategory.categoryID and $ProductsNum}

{counter start=0 skip=1 print=false} {foreach from=$Products item=_Product} {/foreach}
{"prdset_product_name"|translate} {"str_price"|translate}, {"str_universal_currency"|translate}
{if $_Product.Price} {$_Product.Price} {else} {"msg_price_isnot_set"|translate} {/if}
{/if}