Fixed issues with discount as collect totals was not getting called on applying couponable rule
This commit is contained in:
parent
90c229442d
commit
f3437ee214
|
|
@ -94,6 +94,8 @@ class CouponAbleRule extends Discount
|
|||
} else {
|
||||
// least id case
|
||||
if ($applicableRule->id < $alreadyAppliedRule->id) {
|
||||
$this->save($applicableRule);
|
||||
|
||||
return $impact;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -263,6 +263,8 @@ abstract class Discount
|
|||
}
|
||||
}
|
||||
|
||||
Cart::collectTotals();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue