{$msg.account.edit_payment_profiles}

{include file="templates/layouts/zones/includes/flash-messages.html"} {if !empty($paymentProfiles)}
{assign var="paymentProfileNumber" value="0"} {foreach name=prof from=$paymentProfiles key=key item="paymentProfile"} {math equation="x + y" x=$paymentProfileNumber y=1 assign="paymentProfileNumber"}
{include file="templates/pages/account/elements/element-payment-profile-view.html"}
{/foreach}
{else}
{$msg.account.no_payment_profiles_yet}
{/if} {if $paymentMethodId}

{$msg.account.enter_payment_profile}

{include file="templates/pages/account/elements/element-payment-profile-form.html" paymentProfile=$newPaymentProfile}
{button class="button-add-payment-profile" text=$msg.buttons.buttonAddPaymentProfile file=$smarty.template}   {button type="reset" form="form-payment-profile" class="button-reset" text=$msg.buttons.buttonReset file=$smarty.template}
{else}
  • {$msg.account.payment_profile_no_methods}
{/if}