diff --git a/src/app/frontend/views/page/item.php b/src/app/frontend/views/page/item.php index c6f34fa..1af4bd2 100644 --- a/src/app/frontend/views/page/item.php +++ b/src/app/frontend/views/page/item.php @@ -210,14 +210,14 @@ // скидка if (!empty($discount)) { if (isset($discount) && $discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($item['id'], $discount['group_ids'])) { - echo ''.number_format($item['price2']*(1-$discount['discount']/100), 2, '.', ' ').' грн '; + echo ''.round($item['price2']*(1-$discount['discount']/100), 2).' грн '; } else { - echo ''.number_format($item['price2'], 2, '.', ' ').' грн '; + echo ''.round($item['price2'], 2).' грн '; } } else { - echo ''.number_format($item['price2'], 2, '.', ' ').' грн '; + echo ''.round($item['price2'], 2).' грн '; } ?>