Commit 06f242165e232d1819a59ab80058dc98325b75e8

Authored by Alex Savenko
1 parent 6a2e27db

price display basket

Showing 1 changed file with 0 additions and 3 deletions   Show diff stats
src/app/frontend/controllers/MenuController.php
... ... @@ -52,9 +52,6 @@ class MenuController extends \controllers\ControllerBase
52 52 $discount = $this->getDi()->get('models')->getDiscount()->getActiveData();
53 53 if (!empty($discount)) {
54 54 $discount = $discount[0];
55   - $discount['group_ids'] = str_replace('{', '', $discount['group_ids']);
56   - $discount['group_ids'] = str_replace('}', '', $discount['group_ids']);
57   - $discount['group_ids'] = explode(',', $discount['group_ids']);
58 55 }
59 56 if ($this->common->applyPromoCode($discount, $cart['items'])) {
60 57 $this->common->countOrderSum($cart);
... ...