Skip to content

Commit b58a91a

Browse files
author
Mohan Ahuja
committed
ACP2E-550: Custom Customer Attributes only saves if Show on Storefront is 'Yes' for Main Website
- Added fix for issue - Added MFTF test
1 parent 8de016a commit b58a91a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/Model/AdminOrder/Create.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,6 +1685,7 @@ public function setAccountData($accountData)
16851685
$accountData['email'] = $customer->getEmail();
16861686
}
16871687
$form = $this->_createCustomerForm($customer);
1688+
$form->setInvisibleIgnored(CustomerForm::DONT_IGNORE_INVISIBLE);
16881689

16891690
// emulate request
16901691
$request = $form->prepareRequest($accountData);

0 commit comments

Comments
 (0)