Commit 3fa6ae3b275c511267b96ec179a566528cb584a7
1 parent
8551e207
applyDiscount() for user_group_discount //vip
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/frontend/controllers/MenuController.php
| ... | ... | @@ -68,7 +68,7 @@ class MenuController extends \controllers\ControllerBase |
| 68 | 68 | else { |
| 69 | 69 | $users_group_discount = 0; |
| 70 | 70 | } |
| 71 | - if ($this->common->applyPromoCode($users_group_discount, $cart['items'])) { | |
| 71 | + if ($this->common->applyDiscount($users_group_discount, $cart['items'])) { | |
| 72 | 72 | $this->common->countOrderSum($cart); |
| 73 | 73 | $cart['total_price'] = $cart['total_sum']; |
| 74 | 74 | } | ... | ... |