Weight

$this->weight->convert($value, $from, $to);

Convert one weight value into another measurement.

$this->weight->format($value, $weight_class_id, $decimal_point = ‘.’, $thousand_point = ‘,’);

Display a formatted weight with symbols for the customer.

$this->weight->getUnit($weight_class_id);

Get the base unit of weight for the class i.e. kg.

Last update: Tue, 13 Sep 2022 14:32:15