From 0faf07705b4800ef101f58436cedfa75b32fd2f9 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 21 Dec 2016 14:16:03 +0200 Subject: [PATCH] products pick --- src/app/frontend/views/partial/item_group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/frontend/views/partial/item_group.php b/src/app/frontend/views/partial/item_group.php index 2bd68d1..67ae1ea 100644 --- a/src/app/frontend/views/partial/item_group.php +++ b/src/app/frontend/views/partial/item_group.php @@ -35,7 +35,7 @@ _("price_from") ?> 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) { echo ''.$i['price'].' грн
'; - echo ''.round($i['price']*(1-$discount/100), 1).' грн'; + echo ''.round($i['price']*(1-$discount['discount']/100), 1).' грн'; } else { echo ''.$i['price'].' грн'; -- libgit2 0.21.4