Commit 4580f272d5cb66a89311d139556cafacd3198ee1

Authored by Alex Savenko
2 parents 81ac8511 74706df4

Merge branch 'discount' of gitlab.artweb.com.ua:Alex/semena

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/app/frontend/controllers/MenuController.php
... ... @@ -446,6 +446,7 @@ class MenuController extends \controllers\ControllerBase
446 446 $cart_items['items'][$k]['price'] = $item['price2'];
447 447 //discount
448 448 $cart_items['items'][$k]['price'] = round($cart_items['items'][$k]['price']*(1-$discount['discount']/100), 1);
  449 + $cart_items['total_price'] = round($cart_items['total_price']*(1-$discount['discount']/100), 1);
449 450 }
450 451 }
451 452  
... ...