Файл systemlibraryweight.php
Заменить
public function format($value, $weight_class_id, $decimal_point = '.', $thousand_point = ',') {
if (isset($this->weights[$weight_class_id])) {
return number_format($value, 2, $decimal_point, $thousand_point) . $this->weights[$weight_class_id]['unit'];
} else {
return number_format($value, 2, $decimal_point, $thousand_point);
}
}
На
public function format($value, $weight_class_id, $decimal_point = '.', $thousand_point = ',') {
if (isset($this->weights[$weight_class_id])) {
return number_format($value, 0, $decimal_point, $thousand_point) . $this->weights[$weight_class_id]['unit'];
} else {
return number_format($value, 0, $decimal_point, $thousand_point);
}
}