diff --git a/templates/checkout/_partials/address-form.tpl b/templates/checkout/_partials/address-form.tpl index e1286083..27a49a4b 100644 --- a/templates/checkout/_partials/address-form.tpl +++ b/templates/checkout/_partials/address-form.tpl @@ -34,13 +34,15 @@ {l s='Cancel' d='Shop.Theme.Actions'} {else} -
closes the address form early. *} +- +
{/if} {/block} diff --git a/templates/checkout/_partials/steps/addresses.tpl b/templates/checkout/_partials/steps/addresses.tpl index 7cf23950..9b90b0d9 100644 --- a/templates/checkout/_partials/steps/addresses.tpl +++ b/templates/checkout/_partials/steps/addresses.tpl @@ -25,113 +25,121 @@ {extends file='checkout/_partials/steps/checkout-step.tpl'} {block name='step_content'} + {$addresses_form_id = 'checkout-addresses-form'}+ {if $cart.is_virtual} + {l s='The selected address will be used as your personal address (for invoice).' d='Shop.Theme.Checkout'} + {else} + {l s='The selected address will be used both as your personal address (for invoice) and as your delivery address.' d='Shop.Theme.Checkout'} + {/if} +
+ {else} +{$delivery_address_error.exception}
+ {else} + + {/if} + ++ {l s='add new address' d='Shop.Theme.Actions'} +
+ + {if $use_same_address && !$cart.is_virtual}- {if $cart.is_virtual} - {l s='The selected address will be used as your personal address (for invoice).' d='Shop.Theme.Checkout'} - {else} - {l s='The selected address will be used both as your personal address (for invoice) and as your delivery address.' d='Shop.Theme.Checkout'} - {/if} + + {l s='Billing address differs from shipping address' d='Shop.Theme.Checkout'} +
- {else} -{$delivery_address_error.exception}
+ {if isset($invoice_address_error)} +{$invoice_address_error.exception}
{else} - + {/if}- {l s='add new address' d='Shop.Theme.Actions'} + {l s='add new address' d='Shop.Theme.Actions'}
- - {if $use_same_address && !$cart.is_virtual} -- - {l s='Billing address differs from shipping address' d='Shop.Theme.Checkout'} - -
- {/if} - {/if} - {if !$use_same_address} - -{$invoice_address_error.exception}
- {else} - - {/if} + {/if} -- {l s='add new address' d='Shop.Theme.Actions'} -
- {/if} - - {/if} - - {if !$form_has_continue_button} -