Commit 74706df47c90325512e265fd82ffc28f8a898c33
1 parent
ed35b843
price display
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 | ... | ... |