Import CSV Slug “Type” failure
-
I am attempting to use the built-in WooCommerce Product Import feature. Each time I get a notice that it failed to import and provides a link to see the import log. There I see the reason for failure is that the slug “type” is not allowed because it is a reserved term. It then asks me to change it.
Image of failure hereI get this error for each line in the document. I get this when trying to update existing product. I get the same when trying to add new product.
Seeking help with built-in WooCommerce product import. I am getting slug failures related to “type”.
Woo: 3.6.5
WP: 5.2.2
On localhost (laptop for testing before going live)To make sure I was using the correct field headers, I first used the built-in export feature and generated a CSV file. I then added items in empty rows below and added some additional data in empty fields on the existing products. The file was saved as a UTF-8 CSV file.
In theory this should work.This is confusing as “type” was a header in the exported document and, when mapping fields, it was given type as an option. Plus, I need to use the type field to point out that these are simple items, not variable.
Yes, I know I can probably solve this problem using a paid for plugin. However, this feature is built into Woo. Why pay for a plugin when the feature is included and should work?
As a test, I removed all the “new” items from the file and attempted to just update the existing items with data I added to empty fields. I received the same failure.
I also saw on forums that I should try to change the file type to txt, which I did, and had the same failures. I then changed the column header from Type to Derp and made sure to map it correctly for import. Same error. I ran the CSV file thru csvlink.io and no issues. I’ve tried saving the file from Excel and from Google Sheets. I even tried using Notepad, Wordpad, and numerous other software. Same problem.I am not having any issues manually entering products. It’s only the import function that is causing issues.
- The topic ‘Import CSV Slug “Type” failure’ is closed to new replies.