{$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}
{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}