Task
The supplier writes product condition in its own wording. Google Merchant needs fixed values: new, used, and refurbished.
Short answer
Create condition from condition_raw and add a replacement dictionary: new → new, used → used, refurbished → refurbished.
How to Do It in Eofferix
- Open the settings of the output
conditioncolumn.
The click is on the settings icon of the output conditioncolumn. - In
Transformations, add oneContains substring→Replace withrule for each condition.
The Transformationsblock shows the full rule chain for this case. - Save the column settings and go to the
Exportstep.
Before / After
Before
source data| id | condition_raw |
|---|---|
| GM-120 | new |
| GM-121 | used |
| GM-122 | refurbished |
After
result| id | condition |
|---|---|
| GM-120 | new |
| GM-121 | used |
| GM-122 | refurbished |