Skip to content

Commit 058998c

Browse files
author
Kostiantyn Poida
committed
MAGETWO-31168: Investigate increase of checkout steps load time
- fix for review
1 parent 31fd382 commit 058998c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Model/Type/Onepage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public function saveBilling($data, $customerAddressId)
430430
$address = $this->getQuote()->getBillingAddress();
431431
}
432432

433-
if (!$this->getQuote()->getCustomerId() && self::METHOD_REGISTER == $this->getQuote()->getCheckoutMethod()) {
433+
if (!$this->getQuote()->getCustomerId() && $this->isCheckoutMethodRegister()) {
434434
if ($this->_customerEmailExists($address->getEmail(), $this->_storeManager->getWebsite()->getId())) {
435435
return [
436436
'error' => 1,

0 commit comments

Comments
 (0)