Skip to content

Commit 71c1e1f

Browse files
committed
add mobile phone as customer attribute #1847 for magento 2.4
1 parent 9d5a18f commit 71c1e1f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Setup/Patch/Data/PhoneSMSCustomerAttribute.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,7 @@ private function addPhoneSMSAttribute()
7878

7979
$attribute->setData('used_in_forms', [
8080
'adminhtml_customer',
81-
'adminhtml_customer_address',
82-
'customer_account_edit',
83-
'customer_address_edit',
84-
'customer_register_address',
85-
'customer_account_create'
81+
'customer_account_edit'
8682
]);
8783

8884
$this->attributeResource->save($attribute);

0 commit comments

Comments
 (0)