StriveFormats
WooCommerceStructureAuto-fixable

Invalid boolean value

Yes/no fields like Is featured?, Sold individually? and Allow customer reviews? expect 1 or 0.

What is this issue?

Yes/no fields like Is featured?, Sold individually? and Allow customer reviews? expect 1 or 0.

Affected field:Invalid boolean value

What it looks like in your file

In your file
TypeIs featured?
2simpleyes
3simpleFalse
After the fix
TypeIs featured?
2simple1
3simple0

This issue is fixed automatically. Upload your CSV to fix it now.

Fix now

Why WooCommerce rejects this

WooCommerce's importer may interpret unexpected values incorrectly, causing products to be hidden or misconfigured.

WooCommerce-specific note

WooCommerce Product CSV supports 1 and 0 as well as yes and no for boolean fields. The StriveFormats fixer normalizes these to the correct format automatically.

Valid values / expected format

  1. ✓1 (true)
  2. ✓0 (false)
  3. ✓(the fixer normalizes common variants like yes/no)

Fix in StriveFormats

Auto-fix normalizes common boolean variants (yes/no, 1/0, True/False) to the platform's exact required format. Upload your CSV and click Fix Issues.

Auto-fixable: this issue is corrected automatically when you click Fix Issues.

Fix in Excel

  1. 1In Excel, click the column letter for the Invalid boolean value column to select the entire column.
  2. 2Press Ctrl+H to open Find & Replace.
  3. 3In 'Find what', type yes, in 'Replace with', type 1, tick 'Match entire cell contents', then click Replace All.
  4. 4Repeat: no -> 0, 1 -> 1, 0 -> 0.
  5. 5Also replace: True -> 1, False -> 0.
  6. 6Scan the column to confirm only 1 and 0 remain (and blanks if allowed).
  7. 7Save as CSV UTF-8 (Comma delimited).

Fix in Google Sheets

  1. 1In Google Sheets, click the column letter for the Invalid boolean value column to select the whole column.
  2. 2Press Ctrl+H to open Find & Replace.
  3. 3Find yes, replace it with 1, tick 'Match entire cell contents', then click Replace All.
  4. 4Repeat: no -> 0, 1 -> 1, 0 -> 0, True -> 1, False -> 0.
  5. 5Verify only 1 and 0 remain in the column.
  6. 6Go to File > Download > Comma Separated Values (.csv).

Prevent it next time

  1. ✓Always type 1 or 0. Don't use spreadsheet checkboxes; export them as text instead.
  2. ✓If you export data from the platform's own admin panel, don't edit boolean columns in Excel, because autocorrect can quietly change the values.
  3. ✓Set the cell format to Text in Excel before pasting boolean values to prevent automatic conversion.
  4. ✓Use StriveFormats auto-fix as a final pass before every import.

How StriveFormats detects this

StriveFormats reads every cell in the Invalid boolean value column and checks it against WooCommerce's accepted boolean values. Any value that doesn't match exactly, including mixed-case variants like "True" or "Yes", is flagged as an error.

►Technical detail
WooCommerce's CSV importer accepts "1" for true and "0" for false. Some export tools produce "yes", "no", "TRUE", or "FALSE" instead. WooCommerce's built-in importer handles some of these, but third-party migration tools and staging sites often don't, so sticking to "1" and "0" avoids surprises.