{* Шаблон корзины покупателя *} {if $this_is_a_popup_cart_window} {$smarty.const.CART_TITLE} {/if} {include file="header.tpl.html" header=$smarty.const.CART_TITLE} {if $cart_content}
{if $make_more_exact_cart_content}
{$smarty.const.STRING_MAKE_MORE_EXACT_CART_CONTENT}
{/if} {if $cart_amount<$smarty.const.CONF_MINIMAL_ORDER_AMOUNT}
{$smarty.const.CART_TOO_SMALL_ORDER_AMOUNT} {$cart_min}
{/if} {counter name=product_count start=1 skip=1 print=false}
{if $smarty.const.CONF_DISPLAY_PRCODE eq 1} {/if} {section loop=$cart_content name=i} {counter name=product_count print=false} {if $smarty.const.CONF_DISPLAY_PRCODE eq 1} {/if} {if $session_items} {else} {/if} {/section} {if $discount_prompt != 0} {counter name=product_count print=false} {if $discount_prompt == 1 && $discount_percent != 0} {/if} {if $discount_prompt == 2} {counter name=product_count print=false} {/if} {if $discount_prompt == 3 && $discount_percent != 0} {counter name=product_count print=false} {/if} {/if}
{$smarty.const.TABLE_PRODUCT_NAME}{$smarty.const.STRING_PRODUCT_CODE}{$smarty.const.TABLE_PRODUCT_QUANTITY} {$smarty.const.TABLE_PRODUCT_COST}, {$currency_name}  
{if $this_is_a_popup_cart_window} {$cart_content[i].name} {else} {$cart_content[i].name} {/if}{$cart_content[i].product_code} {if $session_items} {else} {/if} {if $cart_content[i].min_order_amount}
{$smarty.const.STRING_MIN_ORDER_AMOUNT} {$cart_content[i].min_order_amount} {$smarty.const.STRING_ITEM}
{/if}
{$cart_content[i].cost}XX
{$smarty.const.ADMIN_DISCOUNT} {$discount_percent} {$discount_value}  
{$smarty.const.STRING_UNREGISTERED_CUSTOMER_DISCOUNT_PROMPT}
{$smarty.const.ADMIN_DISCOUNT} {$discount_percent}
{$smarty.const.STRING_UNREGISTERED_CUSTOMER_COMBINED_DISCOUNT_PROMPT}
{$discount_value}  
{$smarty.const.TABLE_TOTAL}: {$cart_total}  
{$smarty.const.CART_PROCEED_TO_CHECKOUT}  |  {$smarty.const.UPDATE_BUTTON}{if $this_is_a_popup_cart_window}  |  {$smarty.const.CLOSE_BUTTON}{/if}  |  {$smarty.const.CART_CLEAR}
{else}
{$smarty.const.CART_EMPTY}
 
{/if} {if $this_is_a_popup_cart_window} {* корректировка высоты окна корзины *} {/if}