Skip to content

Commit ed24dfc

Browse files
committed
AC-14690: Refresh order doesn't get latest custom attribute data
1 parent cbefded commit ed24dfc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,11 @@ public function getQuote()
545545
{
546546
if (!$this->_quote) {
547547
$this->_quote = $this->getSession()->getQuote();
548+
$customerId = (int) $this->_quote->getCustomerId();
549+
if ($customerId > 0) {
550+
$customerData = $this->customerRepository->getById($customerId);
551+
$this->_quote->assignCustomer($customerData);
552+
}
548553
}
549554

550555
return $this->_quote;

0 commit comments

Comments
 (0)