I have a csv file I’m trying to import into WooCommerce that contains about 500 products. I have a Category column and a SubCategory column. However, I only see one “Categories” field to map to in WooCommerce. For example, how can I import products that have a category of Widgets and also a SubCategory of Objects? I’d like to maintain the category and subcategory hierarchy.
Thanks!
2
Answers
So to import categories using the Woocommerce CSV importer, you must use the following syntax for sub-categries:
So for your example, the "Categories" column in CSV would look like:
Change your csv to include this format in the "Categories" column of the Woocommerce CSV file and you will see all your Main and sub categories reflected in your store!
To import categories and sub-categories in WooCommerce you will need to use a comma (,) to separate multiple categories. There are two ways to maintain the hierarchy of categories in WooCommerce:
There are many free plugins available using which you can import CSV. Once of which is: https://wordpress.org/plugins/import-export-for-woocommerce/