diff --git a/src/app/frontend/views/page/changeWithSize.php b/src/app/frontend/views/page/changeWithSize.php index 154fdd5..d0e4919 100644 --- a/src/app/frontend/views/page/changeWithSize.php +++ b/src/app/frontend/views/page/changeWithSize.php @@ -6,9 +6,11 @@ if(isset($special_user)) { } else { $data['price'] = $item['price2']; } +$data['price'] = number_format($data['price']*(1-$discount['discount']/100), 2, '.', ' '); + $data['html'] = '
'. $t->_("price") . - ' ' . number_format($data['price']*(1-$discount['discount']/100), 2, '.', ' ') . ' грн'; + ' ' . $data['price'] . ' грн'; $data['html'] .= '
'; -- libgit2 0.21.4