Commit b20445cd4360a0db88c1b6251ea0aeba450c1775
Merge branch 'discount' of gitlab.artweb.com.ua:Alex/semena
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/frontend/controllers/MenuController.php
@@ -447,7 +447,7 @@ class MenuController extends \controllers\ControllerBase | @@ -447,7 +447,7 @@ class MenuController extends \controllers\ControllerBase | ||
447 | //discount | 447 | //discount |
448 | $cart_items['items'][$k]['price'] = round($cart_items['items'][$k]['price']*(1-$discount['discount']/100), 1); | 448 | $cart_items['items'][$k]['price'] = round($cart_items['items'][$k]['price']*(1-$discount['discount']/100), 1); |
449 | $cart_items['items'][$k]['total_price'] = round($cart_items['items'][$k]['total_price']*(1-$discount['discount']/100), 1); | 449 | $cart_items['items'][$k]['total_price'] = round($cart_items['items'][$k]['total_price']*(1-$discount['discount']/100), 1); |
450 | - //$cart_items['total_price'] = round($cart_items['total_price']*(1-$discount['discount']/100), 1); | 450 | + $cart_items['total_price'] = round($cart_items['total_price']*(1-$discount['discount']/100), 1); |
451 | } | 451 | } |
452 | } | 452 | } |
453 | 453 |