From 6ff8c630de35f4ddf648dca9273991b7403104b0 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 21 Dec 2016 14:40:01 +0200 Subject: [PATCH] products pick --- src/app/frontend/views/page/item.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/frontend/views/page/item.php b/src/app/frontend/views/page/item.php index cf55b3a..9a8736b 100644 --- a/src/app/frontend/views/page/item.php +++ b/src/app/frontend/views/page/item.php @@ -204,12 +204,11 @@
  • 0 && $discount['discount'] <= 100 && in_array($item['id'], $discount['group_ids'])) { - echo '' . number_format($item['price2'], 2, '.', ' ') . ' грнUAH'; + echo '

    '.number_format($item['price2'], 2, '.', ' ').'

    '.number_format($item['price2']*(1-$discount['discount']/100), 2, '.', ' ').' грнUAH'; } else { - echo '' . number_format($item['price2'], 2, '.', ' ') . ' грнUAH'; + echo ''.number_format($item['price2'], 2, '.', ' ').' грнUAH'; } ?> - грнUAH
    5 31 -- libgit2 0.21.4