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 5b4f994 commit c1077a3Copy full SHA for c1077a3
app/code/Magento/Quote/Model/QuoteManagement.php
@@ -237,7 +237,7 @@ public function placeOrder($cartId)
237
{
238
$quote = $this->quoteRepository->getActive($cartId);
239
240
- if ($quote->getCheckoutMethod() == \Magento\Checkout\Model\Type\Onepage::METHOD_GUEST) {
+ if ($quote->getCheckoutMethod() === 'guest') {
241
$quote->setCustomerId(null);
242
$quote->setCustomerEmail($quote->getBillingAddress()->getEmail());
243
$quote->setCustomerIsGuest(true);
0 commit comments