{$msg.cart.your_cart}

{if $order->itemsCount > 0} {assign var="showCheckoutButton" value="true"} {if !$min_subtotal_error && ($paypal_ec_active || $google_checkout_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}
{/capture} {/if} {** GOOGLE CHECKOUT **} {if $google_checkout_active} {capture assign="button_google_checkout"}
Fast checkout through Google {if $google_not_allowed}
  • {$google_not_allowed}
{/if}
{/capture} {/if} {assign var="singlePaymentMethod" value=""} {if $paypal_ec_active && !$google_checkout_active} {assign var="singlePaymentMethod" value=$button_paypal_ec} {if $totalPaymentMethods == "0"} {assign var="showCheckoutButton" value="false"} {/if} {/if} {if $google_checkout_active && !$paypal_ec_active} {assign var="singlePaymentMethod" value=$button_google_checkout} {if $totalPaymentMethods == "0"} {assign var="showCheckoutButton" value="false"} {/if} {/if} {/if} {if $showCheckoutButton && $activeGateways > 0} {capture assign="checkout_button"} {$msg.cart.checkout} {/capture} {/if}
{** DISPLAY SUBTOTALS AND PAYMENT BUTTONS **} {if $min_subtotal_error}
{$msg.cart.minimal_sustotal_not_reached} {$msg.cart.minimal_sustotal}: {$min_subtotal_amount|price}
{/if}
{if $showCheckoutButton == 'true'} {$checkout_button} {if $paypal_ec_active} {$button_paypal_ec} {/if} {else} {$singlePaymentMethod} {/if}
{if $showCheckoutButton == 'true' && ($google_checkout_active)}
{$button_google_checkout}
{/if} {** FINISH DISPLAYING SUBTOTALS AND PAYMENT BUTTONS **} {** START CART ITEMS **} {foreach from=$order_items item="order_item"} {/foreach} {** FINISH CART ITEMS **}
{if $showCheckoutButton == 'true'} {$checkout_button} {if $paypal_ec_active} {$button_paypal_ec} {/if} {else} {$singlePaymentMethod} {/if}
{if $showCheckoutButton == 'true' && ($google_checkout_active)}
{$button_google_checkout}
{/if}
{** GOOGLE CHECKOUT FORM START **} {if $google_checkout_active}
{/if} {** GOOGLE CHECKOUT FORM FINISH **} {else}
{$msg.cart.cart_is_empty}
{/if}