{* шаблон модального окна корзины покупателя *} {if $product_removed eq 1}
{$smarty.const.STRING_PRODUCT_REMOVED}
{else} {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}
  • {$smarty.const.CART_PHOTO}
  • {$smarty.const.TABLE_PRODUCT_NAME}
  • {if $smarty.const.CONF_MULTYCART}
  • {$smarty.const.ADMIN_NOTEF2}
  • {/if}
  • {$smarty.const.CURRENT_PRICE}
{section loop=$cart_content name=i} {counter name=product_count print=false}
  • {if $cart_content[i].picture} {else} {/if}
  • {$cart_content[i].name}
  • {if $smarty.const.CONF_MULTYCART}
  • {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}
  • {/if}
  • {$cart_content[i].cost}
  • {if $session_items} {else} {/if}
{/section} {if $discount_prompt != 0} {counter name=product_count print=false} {if $discount_prompt == 1 && $discount_percent != 0}
  • {$smarty.const.STRING_DISCOUNT} {$discount_percent}%
  • {$discount_value}
{/if} {if $discount_prompt == 2} {counter name=product_count print=false}
{$smarty.const.STRING_UNREGISTERED_CUSTOMER_DISCOUNT_PROMPT}
{/if} {if $discount_prompt == 3 && $discount_percent != 0} {counter name=product_count print=false}
  • {$smarty.const.STRING_DISCOUNT}{$discount_percent}% {$smarty.const.STRING_UNREGISTERED_CUSTOMER_COMBINED_DISCOUNT_PROMPT}
  • {$discount_value}
{/if} {/if}
{else}
{$smarty.const.CART_EMPTY}
{/if} {/if}