Shopify "Price can't be blank" Import Error: Fix

Shopify's product importer checks the price, stock count and stock policy on every line. When one of them is missing or in the wrong form, the import stops with one of these messages:

Shopify's common import issues page lists all four, with one line on each. The columns they refer to are described on Shopify's product CSV page.

Which columns do these errors refer to?

Shopify's current product template names the columns Price, Inventory quantity, Inventory tracker and Continue selling when out of stock. Older files, including the header line quoted on Shopify's error page, call them Variant Price, Variant Inventory Qty, Variant Inventory Tracker and Variant Inventory Policy. Either way, each row of a product with variants carries its own values, so check every variant row, not just the first one.

How do I fix "Validation failed: price can't be blank"?

Shopify's help says the price needs to be added to that line. To fix it:

  1. Find the rows with an empty price. Sort or filter the file by the price column so the blank cells come together.
  2. Enter each price as a plain number. Shopify's product CSV page says to include only the monetary value, without a currency symbol, for example 9.99. Write 24.99, not $24.99 or 24.99 USD.
  3. Import again.

The same page says a price defaults to 0.00 if no value is entered. So even where a blank price doesn't stop the import, that variant would sell for 0.00. Fill every price before you import.

How do I fix "Inventory quantity can't be blank"?

Shopify's help says the inventory quantity needs to be set when inventory is tracked. If you're not tracking inventory, leave the Inventory tracker column blank. So there are two fixes, depending on the product:

A supplier file often leaves the stock cell empty for items it doesn't count, while your tracker column says shopify on every row. Those rows are the ones to fix.

What causes "Inventory quantity is not a number"?

Shopify's help says you need to enter a number value for the quantity of items in stock. Supplier files often put something else in that cell:

How do I fix "Inventory policy is not included in the list"?

Shopify's help says the inventory policy needs to be set to deny or continue. On Shopify's product CSV page, that's the Continue selling when out of stock column:

Supplier files tend to use Yes and No, True and False, or words like Backorder. Find and replace them with continue or deny in that column, then import again.

How does Csvio handle prices and stock?

Csvio is a Shopify app that imports supplier files into your store. It cleans these values as it reads the file, and shows you what it changed on the preview before anything is sent to Shopify.

Every value Csvio cleaned or couldn't read is counted in the Data cleaning card on the preview, by column, with examples of the values it left blank.

A blank inventory policy can be filled from your import defaults. Set Inventory policy once in Settings, then Defaults, and it fills every blank policy cell; a value in your file always wins. Inventory tracking works the same way for a file with no tracker column. See Set default values for Shopify product imports. Stock counts go to the Shopify location you choose for the import, covered in Manage Shopify locations for inventory imports.

Can I try Csvio on the file Shopify rejected?

Csvio's free plan imports 30 products a month across up to 3 imports, which is enough to see how it reads your prices and stock. Upload the file as it is, check the preview, and nothing reaches your store until you confirm.

← Back to all posts