Task
The file has different backorder policies. WooCommerce needs notify, 1, or 0.
Short answer
Create Backorders allowed?: default to 0, turn allowed into 1, and preorder into notify.
How to Do It in Eofferix
- Open the settings of the output
Backorders allowed?column.
The click is on the settings icon of the output Backorders allowed?column. - In
Transformations, set0by default and add separate rules forallowedandpreorder.
The Transformationsblock shows the full rule chain for this case. - Save the column settings and go to the
Exportstep.
Before / After
Before
source data| SKU | Name | backorder_policy |
|---|---|---|
| WC-120 | Preorder lamp | preorder |
| WC-121 | Backorder chair | allowed |
| WC-122 | Stock table | deny |
After
result| SKU | Backorders allowed? |
|---|---|
| WC-120 | notify |
| WC-121 | 1 |
| WC-122 | 0 |