Shopify product CSV error

How to fix Inventory quantity can’t be blank

When a variant’s inventory is tracked by Shopify, it needs a quantity, and that quantity has to be a whole number. If you don’t track inventory, Shopify says to leave the inventory tracker column blank instead.

Check your whole file at once

CSV Doctor lists every problem with its row number and fixes the safe ones for you.

Runs in your browser. Your file is never uploaded.

Check my CSV file

What causes it

  • Inventory tracker is set to shopify but the quantity cell is empty.
  • The quantity contains text or symbols ("lots", "12 pcs", "1,200").
  • Your store uses more than one location. The Inventory quantity column only applies to stores with a single location; use Shopify’s separate inventory CSV for multiple locations.

How to fix it

  1. Enter a whole number, like 12, for every tracked variant.
  2. If you don’t track stock for a variant, leave Inventory tracker blank on that row.
  3. For multiple locations, remove the quantity column and update stock with the inventory CSV instead.
  4. Import again.

Sources: Shopify Help Center, Troubleshooting product CSV imports and Using CSV files to import and export products. Not affiliated with, endorsed by, or sponsored by Shopify Inc. Shopify is a trademark of Shopify Inc.