diff --git a/src/app/frontend/controllers/MenuController.php b/src/app/frontend/controllers/MenuController.php index 1f5f79e..1426384 100644 --- a/src/app/frontend/controllers/MenuController.php +++ b/src/app/frontend/controllers/MenuController.php @@ -421,14 +421,14 @@ class MenuController extends \controllers\ControllerBase //discount - $discount = $this->models->getDiscount()->getActiveData(); - if (!empty($discount)) { - $discount = $discount[0]; - } - if ($this->common->applyPromoCode($discount, $cart_items['items'])) { - $this->common->countOrderSum($cart_items); - $cart_items['total_price'] = $cart_items['total_sum']; - } +// $discount = $this->models->getDiscount()->getActiveData(); +// if (!empty($discount)) { +// $discount = $discount[0]; +// } +// if ($this->common->applyPromoCode($discount, $cart_items['items'])) { +// $this->common->countOrderSum($cart_items); +// $cart_items['total_price'] = $cart_items['total_sum']; +// } // foreach($cart_items['items'] as $k => $item) { -- libgit2 0.21.4