Non argument fix for reset shipping

This commit is contained in:
Prashant Singh 2019-06-28 13:29:39 +05:30
parent a304795c36
commit 35b8af8d47
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class NonCouponAbleRule extends Discount
// if the validation fails then the cart rule gets deleted from cart rule cart
$alreadyAppliedCartRuleCart->first()->delete();
$this->resetShipping();
$this->resetShipping($cart);
// all discount is cleared fro mthe cart and cart items table
$this->clearDiscount();