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.
Invalid boolean valueWhat it looks like in your file
| Type | Is featured? | |
|---|---|---|
| 2 | simple | yes |
| 3 | simple | False |
| Type | Is featured? | |
|---|---|---|
| 2 | simple | 1 |
| 3 | simple | 0 |
This issue is fixed automatically. Upload your CSV to fix it now.
Fix nowWhy 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 (true)
- ✓0 (false)
- ✓(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.
Fix in Excel
- 1In Excel, click the column letter for the Invalid boolean value column to select the entire column.
- 2Press Ctrl+H to open Find & Replace.
- 3In 'Find what', type yes, in 'Replace with', type 1, tick 'Match entire cell contents', then click Replace All.
- 4Repeat: no -> 0, 1 -> 1, 0 -> 0.
- 5Also replace: True -> 1, False -> 0.
- 6Scan the column to confirm only 1 and 0 remain (and blanks if allowed).
- 7Save as CSV UTF-8 (Comma delimited).
Fix in Google Sheets
- 1In Google Sheets, click the column letter for the Invalid boolean value column to select the whole column.
- 2Press Ctrl+H to open Find & Replace.
- 3Find yes, replace it with 1, tick 'Match entire cell contents', then click Replace All.
- 4Repeat: no -> 0, 1 -> 1, 0 -> 0, True -> 1, False -> 0.
- 5Verify only 1 and 0 remain in the column.
- 6Go to File > Download > Comma Separated Values (.csv).
Prevent it next time
- ✓Always type 1 or 0. Don't use spreadsheet checkboxes; export them as text instead.
- ✓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.
- ✓Set the cell format to Text in Excel before pasting boolean values to prevent automatic conversion.
- ✓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.