Validation case for cart rule fix, the rule was not getting deleted from cart and cartrulecart's table
This commit is contained in:
parent
f78d9e8487
commit
c19159ddc2
|
|
@ -668,7 +668,7 @@ abstract class Discount
|
|||
if (! $result) {
|
||||
$this->clearDiscount();
|
||||
|
||||
$alreadyAppliedRule->delete();
|
||||
$alreadyAppliedRule->first()->delete();
|
||||
} else {
|
||||
$this->reassess($alreadyAppliedCartRule);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue