From 398c9471d8e0e5d5e862eb3cd117334a072891d4 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 21 Dec 2016 18:28:22 +0200 Subject: [PATCH] price display --- src/app/frontend/views/partial/item_group.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/frontend/views/partial/item_group.php b/src/app/frontend/views/partial/item_group.php index 67ae1ea..a391a97 100644 --- a/src/app/frontend/views/partial/item_group.php +++ b/src/app/frontend/views/partial/item_group.php @@ -33,9 +33,12 @@
_("price_from") ?> - 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) { - echo ''.$i['price'].' грн
'; - echo ''.round($i['price']*(1-$discount['discount']/100), 1).' грн'; + 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) { + echo ''.$i['price'].' грн
'; + echo ''.round($i['price']*(1-$discount['discount']/100), 1).' грн'; + } } else { echo ''.$i['price'].' грн'; -- libgit2 0.21.4