refactoring

This commit is contained in:
Prashant Singh 2019-09-06 12:41:46 +05:30
parent adad426228
commit 44c5ebc4f8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {