Stockrows

Guides · Free tools

Diese Seite auf Deutsch

WooCommerce CSV import checker

Drop the product CSV file you are about to import, and see, row by row, which products WooCommerce's importer would skip, fail on or change in a way you don't mean. Free, with no sign-up. Your file stays on your computer.

Drop the CSV file you want to import

This tool needs JavaScript, which is switched off in this browser. It runs on this page only and sends nothing.

How it works: Drop the product CSV file that you are about to import, as your shop's export made it or as you edited it. The checker reads it the way WooCommerce's built-in product importer does, and tells you, row by row, why products would be skipped, fail or change in a way you don't mean, with a plain fix for each.

Want to change prices and stock without a file? The browser editor of Stockrows, our own tool, is a page of this site that reads your shop directly, in your browser, and saves your changes back to it: try it on a sample shop.

Your file stays on your computer. This page reads it in your browser. The file is not uploaded, stored or counted: the page sends nothing of yours anywhere while you use it. Once the page has loaded, it works with your internet connection switched off. Only the sample button needs the connection, to fetch its made-up file from this site.

Before you run the importer

  1. Back up your shop, and keep a fresh export: with it you can put the old values back.
  2. In your WordPress admin, go to Products → All Products and select Import at the top. Choose your file, and tick Update existing products. Without it, WooCommerce updates nothing: it skips a row whose SKU is already in the shop, and makes a new product of every other row, also of a row that names a product of yours by its ID alone.
  3. If the checker said that your file uses semicolons or another encoding, open Show advanced options on the same screen and set CSV Delimiter or Character encoding of the file there.
  4. On the Column mapping screen, check that every column you changed goes to its field, and not to Do not import.
  5. Import a file of two or three rows first, and open those products to check them. Then import the rest.
  6. Read the last screen: it counts the products updated, skipped and failed, and View import log names each skipped row and why.

What the checker looks for

Each check comes from WooCommerce's own importer code, version 11.3, and its documentation. The checker sorts what it finds into three kinds: an error means the importer would skip or fail the row, or save something other than your file says; a warning is most likely not what you mean; a note is worth knowing and often fine.

Finding your products: ID and SKU
With Update existing products ticked, WooCommerce looks each row up by its ID and by its SKU, and skips a row when neither is in the shop: "No matching product exists to update". A row with an ID uses that ID even when its SKU fits another product, so IDs from another shop or a staging copy make rows fail. A row whose ID and SKU are both empty is skipped too. Only when the file has no ID and no SKU column at all does WooCommerce not look the rows up: each becomes a new product. The checker flags rows with neither, IDs that are not whole numbers, IDs and SKUs that are on two rows, SKUs that a spreadsheet turned into numbers like 1.23E+11, and SKUs that still start with the ' that the export puts before a value starting with = + - or @.
Column names
The Column mapping screen matches each column by its name, whatever the letter case: the English names of the export always, the same names in your own WordPress user language, and WordPress's own names such as post_title. A few extra names, Title, Price and Quantity among them, match in your user language only: the English words in an English admin, and Titel, Preis and Anzahl in a German one. Any other column is set to Do not import. The checker lists such columns, extra names that need an English admin, columns with no name, and two columns that go to the same field, where WooCommerce keeps the one further right.
Prices
The importer keeps only the digits, the point and the minus sign of a price, after it has turned your shop's decimal mark into a point. So $12.50 works in every shop, while 12,50 becomes 1250 in a shop whose decimal mark is a point. The checker shows the amount WooCommerce would save wherever it differs from what the cell says, and flags formulas, values that are not numbers, a sale price that is not below the regular price (WooCommerce clears it without a word), a sale price without a regular price, and empty regular prices, which clear the price.
Stock
Stock is read as a whole number: 1,000 becomes 1, and so does 1.000, a thousand as much of Europe writes it. A number turns stock management on, and an empty cell turns it off, and, in a file with no In stock? column, marks the product in stock. In stock? takes 1, 0 or backorder: an empty cell is read as out of stock, and any other word, no too, as in stock. When a row has a stock number, the stock status follows the number instead, and the checker notes a row where the file shows that In stock? says otherwise.
Type, Parent and Published
An empty Type is read as simple, which would turn a variable product into a simple one. A variation's Parent must be its variable product, as its SKU or as id: and its ID. An empty Published cell makes the product a draft, and a word such as "published" makes it private: the column takes 1, 0, -1 or 2.
The file itself
WooCommerce reads UTF-8 with commas between the values. A file that a spreadsheet saved with semicolons, as UTF-16 or in the Windows code page, needs the importer's advanced options or saving again as "CSV UTF-8". An Excel workbook (.xlsx) is not accepted at all.

What the checker can't see

The guide WooCommerce CSV import not updating products: what to check goes through these causes in order.

Already imported, and the import log gave a reason? Eight messages of WooCommerce's import log, and what each means, from a real import.

Questions

Is my unchanged export always fine?

Mostly. A file straight from WooCommerce's exporter, imported into the same shop, matches its products. The checker may still note empty Stock cells, which are fine for products that don't count stock, and SKUs with the export's apostrophe, which the import would rename.

Can it fix the file for me?

No. It changes nothing in your file: it tells you what to change, and you change it in your spreadsheet. Then drop the new file to check it again.

Does it check other plugins' import files?

It checks the file for WooCommerce's own importer, under Products → All Products → Import. Import plugins have their own rules.

My shop is in another language

The checker knows the export's column names in English and its main names in WooCommerce's translations. Its messages are in English here, and in German on the German page.

Without a CSV file

Stockrows is our own tool for changing prices and stock without a file. Its browser editor is a page of this site that reads your products straight from the shop, in your browser, and saves the prices and stock you change back to it. Only the rows you changed are sent. Stockrows also comes as a Google Sheet, which does the same from a menu in the sheet, with a preview of every change before it is sent. See how it works.

See a bulk price change work first, with nothing to install. One button opens a throwaway WooCommerce shop in your own browser, on our free plugin's Change prices page: raise a category's prices by a percentage, see every new price, save, and undo. It opens in about 20 seconds. No sign-up, no keys.

Open a demo shop What to try

It opens in a new tab on WordPress Playground, WordPress.org's sandbox. For your own shop, the buttons below.