/ Published in: PHP
First off, create your CSV with 2 columns, the parent ID for the category and the category name – you could easily add more columns for extra options, but it wasn’t necessary for us.
The CSV file should be something like this:
3,subcat
4,subcat2
6,subcat3
Then it should be saved in ./var/import/importCats.csv
Then save the following in ./quickCatCreate.php
The CSV file should be something like this:
3,subcat
4,subcat2
6,subcat3
Then it should be saved in ./var/import/importCats.csv
Then save the following in ./quickCatCreate.php
URL: http://www.sonassi.com/knowledge-base/quick-script-batch-create-magento-categories/