Commit dc7120f2289a038656a5bcbdf8be4970e5ae5139
1 parent
882a91f6
price display basket
Showing
1 changed file
with
8 additions
and
8 deletions
Show diff stats
src/app/frontend/controllers/MenuController.php
... | ... | @@ -421,14 +421,14 @@ class MenuController extends \controllers\ControllerBase |
421 | 421 | |
422 | 422 | |
423 | 423 | //discount |
424 | - $discount = $this->models->getDiscount()->getActiveData(); | |
425 | - if (!empty($discount)) { | |
426 | - $discount = $discount[0]; | |
427 | - } | |
428 | - if ($this->common->applyPromoCode($discount, $cart_items['items'])) { | |
429 | - $this->common->countOrderSum($cart_items); | |
430 | - $cart_items['total_price'] = $cart_items['total_sum']; | |
431 | - } | |
424 | +// $discount = $this->models->getDiscount()->getActiveData(); | |
425 | +// if (!empty($discount)) { | |
426 | +// $discount = $discount[0]; | |
427 | +// } | |
428 | +// if ($this->common->applyPromoCode($discount, $cart_items['items'])) { | |
429 | +// $this->common->countOrderSum($cart_items); | |
430 | +// $cart_items['total_price'] = $cart_items['total_sum']; | |
431 | +// } | |
432 | 432 | // |
433 | 433 | |
434 | 434 | foreach($cart_items['items'] as $k => $item) { | ... | ... |