Commit 5b7f46321dd9c0770bb7a160283d586aa09ee0d0
1 parent
35ea03c7
debugging
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/app/frontend/controllers/MenuController.php
@@ -459,11 +459,12 @@ class MenuController extends \controllers\ControllerBase | @@ -459,11 +459,12 @@ class MenuController extends \controllers\ControllerBase | ||
459 | else { | 459 | else { |
460 | $users_group_discount = 0; | 460 | $users_group_discount = 0; |
461 | } | 461 | } |
462 | - $users_group_discount = 99; | 462 | + //$users_group_discount = 99; |
463 | if ($this->common->applyPromoCode($users_group_discount, $cart_items['items'])) { | 463 | if ($this->common->applyPromoCode($users_group_discount, $cart_items['items'])) { |
464 | $this->common->countOrderSum($cart_items); | 464 | $this->common->countOrderSum($cart_items); |
465 | $cart_items['total_price'] = $cart_items['total_sum']; | 465 | $cart_items['total_price'] = $cart_items['total_sum']; |
466 | } | 466 | } |
467 | + $cart_items['total_price'] = '1'; | ||
467 | /************************/ | 468 | /************************/ |
468 | 469 | ||
469 | foreach($cart_items['items'] as $k => $item) { | 470 | foreach($cart_items['items'] as $k => $item) { |