WooCommerce CSV

How to Fill WooCommerce In stock? with 1/0 Values

2026-06-21
Task

The table has quantity and stock status. WooCommerce needs 1 when the product is available and 0 when it is not.

Short answer

Create In stock?: default to 0; if stock_qty is greater than 0, set 1; if stock_status is in stock, also set 1.

How to Do It in Eofferix

  1. Open the settings of the output In stock? column.
    Animation showing how to open the In stock? column settings in Eofferix
    The click is on the settings icon of the output In stock? column.
  2. In Transformations, set 0 by default and add conditions by quantity and stock status.
    Screenshot of transformation rules for the In stock? 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
SKUNamestock_qtystock_status
WC-110Desk lamp12
WC-111Office chair0out of stock

After

result
SKUIn stock?
WC-1101
WC-1110

Process data faster with Eofferix

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

Sign up