{$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"}
{/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"}
{button class="button-checkout" disabled="disabled" text=$msg.buttons.buttonCheckout file=$smarty.template}
{/capture}
{/if}
{** GOOGLE CHECKOUT **}
{if $google_checkout_active}
{/if}
{else}
{$msg.cart.cart_is_empty}
- {lang msg=$msg.common.what_is_next url=$url_rel}
- {lang msg=$msg.common.cookies_note url=$url_rel}
{/if}