diff --git a/src/app/frontend/views/page/changeWithSize.php b/src/app/frontend/views/page/changeWithSize.php index ecedd46..3c80a6f 100644 --- a/src/app/frontend/views/page/changeWithSize.php +++ b/src/app/frontend/views/page/changeWithSize.php @@ -3,7 +3,7 @@ if(isset($special_user)) { $data['price'] = round(isset($item['prices'][$special_user['status']]) ? $item['prices'][$special_user['status']] - : $item['price2'], 2); + : $item['price2'], 1); } else { $data['price'] = $item['price2']; } @@ -16,7 +16,7 @@ if (isset($users_group_id) && $users_group_id == 38) { //discount $old_price = $data['price']; $data['price'] = $data['price']*(1-$discount/100); -$data['price'] = round($data['price'], 2); +$data['price'] = round($data['price'], 1); if ($discount == 0) { $data['html'] = '