Measurement Units feature walkthrough

Edit on GitHub

The Measurement Units feature lets you sell products by any unit of measure defined by in the Back Office.

To learn more about the feature and to find out how end users use it, see Measurement Units feature overview for business users.

Entity diagram

The following schema illustrates relations between alternative products:

module-relations

  • conversion—factor to convert a value from sales to the base unit. If it is null, the information is taken from the global conversions (the MeasurementUnitConverter.php file).
  • precision—the ratio between a sales unit and a base unit. For example, a base unit is an item, and a user selects kg as a sales unit.
  • is_displayed—if true, then the value is shown on the Storefront.
  • is_default—if true, then the unit is shown as the default unit on the Storefront.
INSTALLATION GUIDES GLUE API GUIDES
Product measurement unit feature integration Retrieving measurement units
Quick order + measurement units feature integration Retrieving sales units
Glue API: Measurement units feature integration