Join GitHub today
Importing hierarchical categories doesn't work #131
When you export from an existing site that has locations in hierarchical categories and then import that into a new site, the categories all become top level categories with no hierarchy.
I tested this in v2.4.8 and it didn't work in that version. It's possible that this never worked. We should test back through old versions and see if we ever supported importing of hierarchical categories.
This was identified whilst testing #98.
@arnaudbroes Do you want to have a go at testing this. Let me know if you need my help.
If you set up some hierarchical Location categories and add some locations to them and then export all locations, delete your locations by using the "remove all locations" link on the General Options screen and then import from your export file.
referenced this issue
Jan 20, 2017
This may actually have never worked because when I look at the export file there's nothing to distinguish a sub-category. All categories show as a comma delimited list regardless of hierarchy, i.e.
Business, Personal, Family Sub-category
We need to identify a way of denoting category structure in our importer/exporter. For example, the WooCommerce CSV importer uses this format:
Parent Category > Child Category
added a commit
Mar 22, 2017
In the interest in keeping everything together, Ashish's earlier remarks: