{$msg.cart.your_cart}

{include file="templates/layouts/zones/includes/flash-messages.html"} {if $order->itemsCount > 0} {assign var="showCheckoutButton" value="true"} {if !$min_subtotal_error && $paypal_ec_active} {** PAYPAL CHECKOUT **} {if $paypal_ec_active} {capture assign="button_paypal_ec"}
{if $paypal_ec_return_is_error}
{$msg.cart.paypal_errors_back}
    {foreach from=$paypal_ec_return_errors item="pperr"}
  • {$pperr}
  • {/foreach}
{/if} {if $paypal_ec_is_error}
{$msg.cart.paypal_errors}:
    {foreach from=$paypal_ec_errors item="pperr"}
  • {$pperr}
  • {/foreach}
{else} {if $paypal_ec_bml_url}

{/if} {/if} {if $activeGateways > 0} - OR - {/if}
{/capture} {/if} {assign var="singlePaymentMethod" value=""} {if $paypal_ec_active} {assign var="singlePaymentMethod" value=$button_paypal_ec} {if $totalPaymentMethods == "0"} {assign var="showCheckoutButton" value="false"} {/if} {/if} {/if} {if $showCheckoutButton && $activeGateways > 0 && !$min_subtotal_error} {capture assign="checkout_button"}
{button class="button-checkout" disabled="disabled" text=$msg.buttons.buttonCheckout file=$smarty.template} {if $paypal_ec_active} {/if}
{/capture} {/if}
 
{if $requireApproval != 1} {if $showCheckoutButton == 'true'} {$checkout_button} {if $paypal_ec_active}{$button_paypal_ec}{/if} {else} {$singlePaymentMethod} {/if} {else} {if $waitingApproval == 1}

{lang msg=$msg.cart.user_need_approval}

{else}
{button class="button-register" text="Login/Register" file=$smarty.template onclick="$('#proceedToRegister').submit(); return false;"}
{/if} {/if}
{include file="templates/pages/checkout/elements/element-cart-table.html"}
{if $bought_bestsellers}

{$msg.cart.others_bought}:

{else}
 
{/if}
  • {$msg.cart.subtotal_amount}: {$order->cartSubtotalAmount|price}
  • {if $order->discountAmount > 0}
  • {$msg.cart.discount_amount}: -{if $DisplayPricesWithTax=="YES"}{$order->discountAmountWithTax|price}{else}{$order->discountAmount|price}{/if} {if $order->discountType == "percent"} (-{$order->discountValue|smartround}%) {/if}
  • {/if} {if $DiscountsPromo == "YES" && $order->promoDiscountAmount > 0}
  • {$msg.opc.invoice_promo_discount}: -{if $DisplayPricesWithTax=="YES"}{$order->promoDiscountAmountWithTax|price}{else}{$order->promoDiscountAmount|price}{/if} {if $order->promoDiscountType == "percent"} (-{$order->promoDiscountValue|smartround}%) {/if}
  • {else} {if $DiscountsPromo == "YES" && $order->promoType == 'Shipping'}
  • {$msg.cart.discount_note}

  • {/if} {/if} {if $ShippingAllowGetQuote == "YES" && $ShippingCalcEnabled != "NO"}
  • {$msg.cart.shipping_quote_amount}: {$msg.shipping.get_shipping_quote_for_this_order}
  • {/if} {if $DiscountsPromo == "YES"} {if $promo_error}
  • {$msg.cart.promo_code_invalid}
  • {/if}
  • {button class="button-apply-promo" text=$msg.buttons.buttonApplyDiscount onclick="return true;" file=$smarty.template}
  • {/if}

{if $requireApproval != 1} {if $showCheckoutButton == 'true'} {$checkout_button} {if $paypal_ec_active}{$button_paypal_ec}{/if} {else} {$singlePaymentMethod} {/if} {else} {if $waitingApproval == 1}

{lang msg=$msg.cart.user_need_approval}

{else}
{button class="button-register" text="Login/Register" file=$smarty.template onclick="$('#proceedToRegister').submit(); return false;"}
{/if} {/if}
{if $requireApproval == 1}
{/if} {else}
{$msg.cart.cart_is_empty}
{/if}