Skip to content

Commit db85184

Browse files
MC-19260: Coupon code removed during tax/shipping calculation on checkout
1 parent 6f03dd3 commit db85184

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/SalesRule/Model/Validator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ public function reset(Address $address)
244244
{
245245
$this->validatorUtility->resetRoundingDeltas();
246246
if ($this->_isFirstTimeResetRun) {
247+
$address->setBaseSubtotalWithDiscount($address->getBaseSubtotal());
248+
$address->setSubtotalWithDiscount($address->getSubtotal());
247249
$address->setAppliedRuleIds('');
248250
$address->getQuote()->setAppliedRuleIds('');
249251
$this->_isFirstTimeResetRun = false;

0 commit comments

Comments
 (0)