From 02e6b75dae63a445b76dc87aa29e59edf65d5823 Mon Sep 17 00:00:00 2001 From: Paulo Baptista Date: Thu, 22 Aug 2019 10:06:13 +0100 Subject: [PATCH] Users can edit adress alias during checkout Registered users can edit adress alias during checkout. With current behaviour if they add several addresses right from the checkout they get a bunch of "My address" which can confuse users.There is an issue open for this [BOOM-3692]. --- themes/classic/templates/checkout/_partials/address-form.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/classic/templates/checkout/_partials/address-form.tpl b/themes/classic/templates/checkout/_partials/address-form.tpl index 435d5f450be46..e128608334d87 100644 --- a/themes/classic/templates/checkout/_partials/address-form.tpl +++ b/themes/classic/templates/checkout/_partials/address-form.tpl @@ -1,8 +1,8 @@ {extends file='customer/_partials/address-form.tpl'} {block name='form_field'} - {if $field.name eq "alias"} - {* we don't ask for alias here *} + {if $field.name eq "alias" and $customer.is_guest} + {* we don't ask for alias here if customer is not registered *} {else} {$smarty.block.parent} {/if}