From 5ff30e4d6486f3fbde9a420a8c5d5959a7873471 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 29 Dec 2016 17:31:07 +0200 Subject: [PATCH] remove --- src/app/frontend/views/partial/item_group.php | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/app/frontend/views/partial/item_group.php b/src/app/frontend/views/partial/item_group.php index 9e7ce66..d062ca3 100644 --- a/src/app/frontend/views/partial/item_group.php +++ b/src/app/frontend/views/partial/item_group.php @@ -34,24 +34,25 @@
_("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).' грн'; - } - else { - echo ''.$i['price'].' грн'; - } - } - else { - echo ''.$i['price'].' грн'; - } +// //vip +// if(isset($users_group_id) && $users_group_id == '37') { +// $i['price'] = round($i['price']*0.95, 1); +// } +// // скидка +// if (!empty($discount)) { +// if ($discount['discount'] > 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'].' грн'; +// } +// } +// else { +// echo ''.$i['price'].' грн'; +// } ?> + грн
_("details") ?> -- libgit2 0.21.4