WooCommerceSKUs & IDs
Missing SKU
A missing SKU reduces update reliability and can break inventory tracking.
What is this issue?
A missing SKU reduces update reliability and can break inventory tracking.
Affected field:
skuWhat it looks like in your file
| Type | SKU | |
|---|---|---|
| 2 | simple | (empty) |
| Type | SKU | |
|---|---|---|
| 2 | simple | MUG-01 |
Why WooCommerce rejects this
SKUs are used for matching, updates, and integrations.
Valid values / expected format
- ✓Whole number (integer), 0 or greater
- ✓No decimal places: write 10, not 10.5
- ✓No negative values: use 0 for out-of-stock items
StriveFormats doesn’t check for this issue yet. Use the steps below to fix it by hand.
Fix in Excel
- 1In Excel, click the column letter for the sku column.
- 2Right-click and choose 'Format Cells'. Select 'Number', set Decimal places to 0, click OK.
- 3Use Data > Filter on this column. Filter where value is less than 0 and change those cells to 0.
- 4Also filter for non-numeric values (text cells) and enter the correct whole number.
- 5Save as CSV UTF-8 (Comma delimited).
Fix in Google Sheets
- 1In Google Sheets, click the column letter for the sku column.
- 2Go to Format > Number > Number and set decimal places to 0 (integers only).
- 3In a blank helper column, enter =MOD(A2,1) (replace A2 with your column) and copy it down. Rows that don't show 0 have decimals, so round those by hand.
- 4Delete the helper column when done.
- 5Go to File > Download > Comma Separated Values (.csv).
Prevent it next time
- ✓Export quantity data from your inventory system as whole numbers.
- ✓Use 0 for out-of-stock items instead of leaving the quantity blank.
- ✓Never copy-paste quantity data from a financial system that uses decimal places.