{* shopping cart *} {if $this_is_a_popup_cart_window} {$smarty.const.CART_TITLE} {/if}
{if $cart_content} {if $make_more_exact_cart_content} {/if}
{$smarty.const.CART_TITLE}: {$smarty.const.CART_CLEAR}
{$smarty.const.STRING_MAKE_MORE_EXACT_CART_CONTENT}
{if $cart_amount<$smarty.const.CONF_MINIMAL_ORDER_AMOUNT} {/if} {counter name=product_count start=1 skip=1 print=false}
{if $this_is_a_popup_cart_window} {assign var="ProductsNum" value=0} {/if} {section loop=$cart_content name=i} {counter name=product_count print=false} {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.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} {if $this_is_a_popup_cart_window} {assign var="ProductsNum" value=$ProductsNum+$cart_content[i].quantity} {/if} {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|replace:'&':'&'} {$smarty.const.DELETE_BUTTON} {$smarty.const.DELETE_BUTTON}
{$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}

{if $this_is_a_popup_cart_window} {else} {/if}
{else}

{$smarty.const.CART_EMPTY} {/if}

{if $this_is_a_popup_cart_window} {* adjust cart window height *} {/if}