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 31fd382 commit 058998cCopy full SHA for 058998c
app/code/Magento/Checkout/Model/Type/Onepage.php
@@ -430,7 +430,7 @@ public function saveBilling($data, $customerAddressId)
430
$address = $this->getQuote()->getBillingAddress();
431
}
432
433
- if (!$this->getQuote()->getCustomerId() && self::METHOD_REGISTER == $this->getQuote()->getCheckoutMethod()) {
+ if (!$this->getQuote()->getCustomerId() && $this->isCheckoutMethodRegister()) {
434
if ($this->_customerEmailExists($address->getEmail(), $this->_storeManager->getWebsite()->getId())) {
435
return [
436
'error' => 1,
0 commit comments