{if not $PRINTABLE} {capture name=price_list} {/if} {if $CONFIG.modules.price_list.avail ne 'Y'}

{$LABEL.lbl_module_disabled}

{elseif $CONFIG.settings.prices_for_only_registered eq 'on' && !$smarty.session.customer_info.id}

{$LABEL.lbl_price_list_you_must_be_logged_in}

{else} {if $PRINTABLE}

{$LABEL.lbl_price_list}{if $CONFIG.settings.shop_name} ({$CONFIG.settings.shop_name}){/if}

{else} {if $broken}

{$CONFIG.settings.price_list_max_count|string_format:$LABEL.lbl_price_list_too_large}

{/if}

{$LABEL.lbl_price_list}

{$LABEL.lbl_printable}

{/if} {foreach from=$rows item=row name=price_list} {if $row.type eq 'category'} {assign var=class value="bold"} {else} {assign var=class value=""} {/if} {/foreach}
{$LABEL.lbl_product} {$LABEL.lbl_price}, {$SHOP_CURRENCY.short_name}
{''|indent:$row.tabs:'    '} {if $row.type eq 'category'} {$row.data.caption} {elseif $row.type eq 'product' or $row.type eq 'product_var'} {$row.data.caption} {/if} {if ($row.type eq 'product' and not $row.has_options) || $row.type eq 'product_var'} {$row.data.$PRODUCT_PRICE_FIELD} {else}   {/if}
{/if} {if not $PRINTABLE} {/capture} {include file="_system_/center_block.html" title="" content=$smarty.capture.price_list} {/if}