From 450bdbd4f8a62352136dede3bcde981ea8498186 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 21 Dec 2016 14:14:12 +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 de190e3..2bd68d1 100644 --- a/src/app/frontend/views/partial/item_group.php +++ b/src/app/frontend/views/partial/item_group.php @@ -33,7 +33,7 @@
_("price_from") ?> - 0 && $discount['discount'] <= 100 && in_array($i['group_id'], $discount['group_ids'])) { + 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) { echo ''.$i['price'].' грн
'; echo ''.round($i['price']*(1-$discount/100), 1).' грн'; } -- libgit2 0.21.4