Skip to content

Commit afa979f

Browse files
MAGETWO-86617: Make customer name link to customer dashboard #12998
2 parents c8a930d + f420ea9 commit afa979f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/Model/Order/CustomerManagement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ public function create($orderId)
131131
$customer = $this->customerFactory->create(['data' => $customerData]);
132132
$account = $this->accountManagement->createAccount($customer);
133133
$order->setCustomerId($account->getId());
134+
$order->setCustomerIsGuest(0);
134135
$this->orderRepository->save($order);
135136

136137
return $account;

0 commit comments

Comments
 (0)