diff --git a/packages/Webkul/Discount/src/Actions/Cart/FixedAmount.php b/packages/Webkul/Discount/src/Actions/Cart/FixedAmount.php index 18c47e98a..4daeb90be 100644 --- a/packages/Webkul/Discount/src/Actions/Cart/FixedAmount.php +++ b/packages/Webkul/Discount/src/Actions/Cart/FixedAmount.php @@ -39,7 +39,7 @@ class FixedAmount extends Action if ($apply()) { if ($rule->action_type == 'whole_cart_to_fixed') { - \Cart::getCart()->items; + $eligibleItems = \Cart::getCart()->items; } foreach ($eligibleItems as $item) {