Commit e4e3f05ac4e6a93495b0f2058cc705c20784fb50
1 parent
a9335846
debugging
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/app/frontend/controllers/MenuController.php
| @@ -459,8 +459,7 @@ class MenuController extends \controllers\ControllerBase | @@ -459,8 +459,7 @@ 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; | ||
| 463 | - if ($this->common->applyPromoCode($users_group_discount, $cart_items['items'])) { | 462 | + if ($this->common->applyDiscount($users_group_discount, $cart_items['items'])) { |
| 464 | $this->common->countOrderSum($cart_items); | 463 | $this->common->countOrderSum($cart_items); |
| 465 | $cart_items['total_price'] = $cart_items['total_sum']; | 464 | $cart_items['total_price'] = $cart_items['total_sum']; |
| 466 | } | 465 | } |