{literal} {/literal} {if $order->itemsCount >0}

{$msg.cart.your_cart}

{** LIST CART PRODUCTS **} {foreach from=$order_items item="order_item"} {/foreach} {** DISPLAY SUBTOTALS **} {if $order->discountAmount >0} {/if}
{$msg.product.product_name} {$msg.product.product_description} {$msg.product.product_price} {$msg.product.product_quantity} {$msg.cart.total}
{if $order_item.image} {$order_item.title|htmlspecialchars} {else} {$imageNoImageSmall}
  {/if}
{if $order_item.is_hotdeal == "Yes"}
{$imageHotDeal} {/if}
{$order_item.title|htmlspecialchars}
{$msg.product.product_id} : {$order_item.product_id}
{*** Start Case / Inter Pack ***} {if ($WholesaleCasePack == "YES" || $WholesaleInterPack == "YES") && ($order_item.case_pack>0 || $order_item.inter_pack>0)} {product_pack_title case_pack=$order_item.case_pack inter_pack=$order_item.inter_pack} : {product_pack_value case_pack=$order_item.case_pack inter_pack=$order_item.inter_pack}
{/if} {*** Check for Digital product ***} {if $order_item.digital_product == "Yes"} {assign var='ifdigital' value='Yes'} {/if} {*** Start Weight ***} {if $ShippingShowWeight == "YES"} {if $order_item.product_free_shipping == "Yes"} {$msg.product.weight} : {$msg.product.free_shipping}
{elseif $order_item.product_weight > 0} {$msg.product.weight} : {$order_item.product_weight|weight}
{/if} {/if} {*** Start Min/Max Order ***} {if $order_item.is_gift != "Yes"} {if $order_item.min_order>1 || $order_item.max_order>0} {$msg.product.min_max_order} : {product_minmax_order min_order=$order_item.min_order max_order=$order_item.max_order} {/if} {/if} {if $order_item.options != ""} {assign var=options value=$order_item.options_parsed} {foreach from=$options item=option} {/foreach}
{$option.name} : {$option.value|htmlspecialchars}
{/if}  
{if $DisplayPricesWithTax=="YES" && $order_item.is_taxable == "Yes"} {$msg.cart.tax_amount} : {if $order_item.tax_description != ""} {$order_item.tax_description} - {$msg.cart.included_in_price} {else} {math equation="round(x,2)" x=$order_item.tax_rate format="%0.2f"}% - {$msg.cart.included_in_price} {/if}
  {/if}
{if $order_item.is_gift == "Yes"}   {else}
{$imageDeleteItem} {$msg.cart.remove_item}
{/if}
{*** Start Case OR Unit Price ***} {$order_item.product_price|price} {if $order_item.is_gift == "Yes"} {$order_item.quantity} {else}
{/if}
{*** Start Case OR Unit Price ***} {$order_item.product_price*$order_item.quantity|price}
{$msg.cart.subtotal_amount} :  {if $order->discountAmount >0}
({$msg.cart.discount_note})    {/if}
{if $DisplayPricesWithTax == "YES"}{$order->subtotalAmountWithTax|price}{else}{$order->subtotalAmount|price}{/if}
{$msg.cart.discount_amount} :  {$order->discountAmount|price} {if $order->discountType == "percent"} (-{$order->discountValue|smartround}%) {/if}
  {** END LIST CART PRODUCTS **} {if $ShippingAllowGetQuote == "YES" || ($DiscountsPromo == "YES" && $auth_level < 1)}
{if $ShippingAllowGetQuote == "YES" && $ShippingCalcEnabled != "NO"}
{/if} {if $DiscountsPromo == "YES" && $auth_level < 1}
{if $promo_error}
{$msg.cart.promo_code_invalid}
{/if}
{$msg.cart.enter_promo_code} :
{/if}
{/if} {if $min_subtotal_error}
{$msg.cart.minimal_sustotal_not_reached}

{$msg.cart.minimal_sustotal}: {$min_subtotal_amount|price}
   
{else}
{if $auth_ok == "yes"}   {else} {if $AllowCreateAccount == "No"}   {else}   {/if} {/if}    
{/if}
{if !$min_subtotal_error && ($paypal_ec_active || $google_checkout_active) && $ifdigital != 'Yes'}
{$msg.cart.other_checkout}
{** GOOGLE CHECKOUT **} {if $google_checkout_active}
{$msg.cart.google_heading} {$msg.cart.google_enter_zip} :
{/if} {** PAYPAL CHECKOUT **} {if $paypal_ec_active} {if $google_checkout_active} {/if} {if $paypal_ec_return_is_error} {/if} {if $paypal_ec_is_error} {else} {/if}
{$msg.cart.paypal_errors_back}: {foreach from=$paypal_ec_return_errors item="pperr"}

{$pperr}

{/foreach}
{$msg.cart.paypal_errors}: {foreach from=$paypal_ec_errors item="pperr"}

{$pperr}

{/foreach}
{$msg.cart.paypal_ec_heading} {$msg.cart.paypal_text}
{/if} {/if} {else} {** CART EMPTY **}

{$msg.cart.your_cart}

{$msg.cart.cart_is_empty}

{$msg.common.what_is_next}
{lang msg=$msg.common.cookies_note url=$url_rel}
{/if}