Task
The product feed has a price column, and ads need product segments low, mid, high, and premium in custom_label_0.
Short answer
Create custom_label_0: first set low, then add rules by price: from 50 use mid, from 150 use high, from 500 use premium.
How to Do It in Eofferix
- Open the settings of the output
custom_label_0column.
The click is on the settings icon of the output custom_label_0column. - In
Transformations, place rules from the general default to higher price ranges so the last matching condition overwrites the label.
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 | title | price |
|---|---|---|
| GM-140 | USB cable | 9 |
| GM-141 | Desk lamp | 65 |
| GM-142 | Office chair | 220 |
| GM-143 | Premium sofa | 650 |
After
result| id | custom_label_0 |
|---|---|
| GM-140 | low |
| GM-141 | mid |
| GM-142 | high |
| GM-143 | premium |