Length Classes
Defining measurement units for product dimensions (centimeters, inches, meters, etc.) with conversion rates
Introduction
Length Classes define the measurement units used for product dimensions (length, width, height) in your store. Each class includes a title (e.g., "Centimeter"), a unit abbreviation (e.g., "cm"), and a conversion value relative to your default length unit. This system allows customers to view product dimensions in their preferred measurement system while maintaining consistent data internally.
Accessing Length Classes Management
Length Class Interface Overview

Length Class Configuration Fields
Common Tasks
Setting Up Metric and Imperial Measurement Systems
To support both measurement systems:
Determine your default unit (e.g., centimeters for metric preference).
Ensure the default length class has value = 1.00000000.
Add complementary units:
Inches: Value ≈ 0.393701 (1 cm = 0.393701 in)
Feet: Value ≈ 0.0328084 (1 cm = 0.0328084 ft)
Meters: Value = 0.01 (1 cm = 0.01 m)
Millimeters: Value = 10 (1 cm = 10 mm)
Test product displays to ensure correct unit conversion.
Adding a Custom Measurement Unit
For specialized products (e.g., fabric sold by the yard):
Create a new length class with title "Yard" and unit "yd".
Research conversion: 1 yard = 91.44 cm.
If centimeter is default (value=1), yard value = 0.0109361 (1 cm = 0.0109361 yd).
Alternatively, set yard as default and convert other units accordingly.
Assign the new unit to relevant products and verify display.
Configuring Customer-Facing Unit Selection
To let customers choose their preferred unit:
Ensure you have multiple length classes defined.
Configure your theme to include a unit switcher (if supported).
Test that product dimensions convert correctly when switching units.
Consider setting default unit based on customer's country/language.
Best Practices
Deletion Warning ⚠️ Never delete a length class that is: 1) set as default store length class, or 2) assigned to products. Check error messages and reassign products/default setting before deletion.
Troubleshooting
"Length classes are the translators between your inventory reality and your customers' perceptual reality. Each unit conversion bridges the gap between how you measure and how your customers understand size."
Last updated