Skip to content

Commit

Permalink
add mobile phone as customer attribute #1847 for magento 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed Oct 24, 2023
1 parent 9d5a18f commit 71c1e1f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Setup/Patch/Data/PhoneSMSCustomerAttribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 71c1e1f

Please sign in to comment.