How to fix it
- Rename the listed columns to WooCommerce's names, or pick the field by hand in the dropdown next to each column.
- Make the unit in "Weight (...)" and "Length (...)" match your store settings, for example kg and cm.
- If every column landed in one, the file uses semicolons: save it as "CSV UTF-8 (comma delimited)" or set the delimiter under "Show advanced options".
Example
A file with this problem
Type,SKU,Product Name,Regular price,Weight (lb),Attribute 1 name,Attribute 1 value simple,MUG-1,Mug,12.00,1,Size,S
What the checker says about it
- Line 1: "Product Name" is not one of WooCommerce's English column names, so unless it is the translated name in your admin language it shows as "Do not import" on the mapping screen. Rename it to a WooCommerce column name or pick a field by hand.
- Line 1: The column "Weight (lb)" will not be matched automatically: WooCommerce names it after the store's unit setting, which is one of kg, g, lbs, oz. Pick the field by hand on the "Map CSV fields to products" screen, and check the numbers are in your store's unit.
- Line 1: "Attribute 1 value" is not one of WooCommerce's English column names, so unless it is the translated name in your admin language it shows as "Do not import" on the mapping screen. Did you mean "Attribute 1 value(s)"? Rename it to a WooCommerce column name or pick a field by hand.
Once the listed rows are fixed, check the file again; the checker also looks for the other problems in WooCommerce's import code, so you do not trade one error for the next.
Other WooCommerce import errors
- Sorry, you are not allowed to upload this file type.
- Invalid file type. The importer supports CSV and TXT file formats.
- The file is empty or using a different encoding than UTF-8, please try again with a new file.
- The uploaded file exceeds the upload_max_filesize directive in php.ini.
- A product with this SKU already exists.
- A product with this ID already exists.
- All checks
Sources
- WooCommerce 11.2.2 source: class-wc-product-csv-importer-controller.php: https://github.com/woocommerce/woocommerce/blob/11.2.2/plugins/woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php
- WooCommerce: Product CSV Importer and Exporter: https://woocommerce.com/document/product-csv-importer-exporter/
Based on WooCommerce 11.2.2's import code and documentation. Not tested on a live store.