Shopify » Volume
A Shopify Volume type allows you to select a unit and a decimal value to go with that unit.
Volume units can be any of ml, cl, l, m3 (cubic meters), us_fl_oz, us_pt, us_qt, us_gal, imp_fl_oz, imp_pt, imp_qt or imp_gal.
The entered volume is then available as a JSON structure with unit and value properties, for example:
{% assign volume = product.metafields.accentuate.volume.value %}<p>The volume is {{ volume.value }}{{ volume.unit }}</p>Referencing .value alone will render the output as “value<space>unit”, so this works as well:
<p>The volume is {{ product.metafields.accentuate.volume.value }}</p>