Skip to content

Commit 573942e

Browse files
author
Kostiantyn Poida
committed
MAGETWO-31168: Investigate increase of checkout steps load time
1 parent d41af3a commit 573942e

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Sales/Model/Service

1 file changed

+2
-0
lines changed

app/code/Magento/Sales/Model/Service/Quote.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ protected function prepareCustomerData(\Magento\Sales\Model\Quote $quote)
184184
$this->customerBuilder->populate($customer)->create(),
185185
$quote->getPasswordHash()
186186
);
187+
} else {
188+
$this->customerRepository->save($customer);
187189
}
188190

189191
if (!$quote->getBillingAddress()->getId() && $customer->getDefaultBilling()) {

0 commit comments

Comments
 (0)