From 71c1e1f9a7c6c36deea55f3ece3fcd7d40e4f6da Mon Sep 17 00:00:00 2001 From: gonzalo Date: Tue, 24 Oct 2023 10:04:57 -0300 Subject: [PATCH] add mobile phone as customer attribute #1847 for magento 2.4 --- Setup/Patch/Data/PhoneSMSCustomerAttribute.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Setup/Patch/Data/PhoneSMSCustomerAttribute.php b/Setup/Patch/Data/PhoneSMSCustomerAttribute.php index 2c3b3359..92ee2fc1 100644 --- a/Setup/Patch/Data/PhoneSMSCustomerAttribute.php +++ b/Setup/Patch/Data/PhoneSMSCustomerAttribute.php @@ -78,11 +78,7 @@ private function addPhoneSMSAttribute() $attribute->setData('used_in_forms', [ 'adminhtml_customer', - 'adminhtml_customer_address', - 'customer_account_edit', - 'customer_address_edit', - 'customer_register_address', - 'customer_account_create' + 'customer_account_edit' ]); $this->attributeResource->save($attribute);