Google Merchant

How to Build unit_pricing_measure such as 750ml or 1.5kg

2026-06-21
Task

Package size arrives as text with a space, for example 750 ml or 1.5 kg. The feed needs a value without the space and with an accepted unit.

Short answer

Create unit_pricing_measure from package_size: lowercase, replace comma with a dot if needed, and remove spaces.

How to Do It in Eofferix

  1. Open the settings of the output unit_pricing_measure column.
    Animation showing how to open the unit_pricing_measure column settings in Eofferix
    The click is on the settings icon of the output unit_pricing_measure column.
  2. In Transformations, apply lowercase, optional comma-to-dot replacement, and space removal.
    Screenshot of transformation rules for the unit_pricing_measure column
    The Transformations block shows the full rule chain for this case.
  3. Save the column settings and go to the Export step.

Before / After

Before

source data
idtitlepackage_size
GM-170Family shampoo750 ml
GM-171Premium food1.5 kg

After

result
idunit_pricing_measure
GM-170750ml
GM-1711.5kg

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up