Validation case for cart rule fix, the rule was not getting deleted from cart and cartrulecart's table

This commit is contained in:
Prashant Singh 2019-08-31 17:20:55 +05:30
parent f78d9e8487
commit c19159ddc2
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,7 @@ abstract class Discount
if (! $result) {
$this->clearDiscount();
$alreadyAppliedRule->delete();
$alreadyAppliedRule->first()->delete();
} else {
$this->reassess($alreadyAppliedCartRule);
}