Google Merchant

How to Build shipping_weight in the 3 kg Format

2026-06-21
Task

The source table stores weight and unit separately as weight and unit. Google Merchant needs one value such as 3 kg.

Short answer

Create shipping_weight from weight. If unit is g, divide the weight by 1000, then append kg.

How to Do It in Eofferix

  1. Open the settings of the output shipping_weight column.
    Animation showing how to open the shipping_weight column settings in Eofferix
    The click is on the settings icon of the output shipping_weight column.
  2. In Transformations, add conditional division for grams, then add the text suffix kg as the last rule.
    Screenshot of transformation rules for the shipping_weight 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
idtitleweightunit
GM-160Desk lamp3000g
GM-161Office chair12kg

After

result
idshipping_weight
GM-1603 kg
GM-16112 kg

Process data faster with Eofferix

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

Sign up