Skip to content

Commit

Permalink
MagePlaza Abandon Cart Extension not working with Bold Checkout (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-petryk authored Jun 19, 2024
1 parent 61ec122 commit dc789f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Model/Quote/SetQuoteAddresses.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ public function setAddresses(
$quote->setExtensionAttributes($quote->getExtensionAttributes());
$quote->getShippingAddress()->setCollectShippingRates(true);
}

if (!$quote->getCustomerEmail()) {
$quote->setCustomerEmail($billingAddress->getEmail());
}

$quote->setDataChanges(true);
$quote->collectTotals();
$this->quoteResource->save($quote);
Expand Down

0 comments on commit dc789f9

Please sign in to comment.