We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbefded commit ed24dfcCopy full SHA for ed24dfc
app/code/Magento/Sales/Model/AdminOrder/Create.php
@@ -545,6 +545,11 @@ public function getQuote()
545
{
546
if (!$this->_quote) {
547
$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
+ }
553
}
554
555
return $this->_quote;
0 commit comments