You can import categories using CSV files in X-Cart format.
X-Cart import format allows you to import root categories and subcategories and make them enabled/disabled. Unfortunately, it is not possible to import categories with images yet, so you will need to upload them manually when the categories structure is created.
For example, you want to create the following categories structure in your store:
- Tools
- Kitchen
- Spoons
- Forks
- Knives
- Garden
- Spices
- Indian
- Chinese
- Asian
- Fruits
- Vegetables
- Gifts
In this case, your CSV file for import will have this format:
[CATEGORIES]
!CATEGORY;!AVAIL
Tools;1
Tools/Kitchen;1
Tools/Kitchen/Spoons;1
Tools/Kitchen/Forks;1
Tools/Kitchen/Knives;1
Tools/Garden;1
Spices and Herbs;1
Spices and Herbs/Indian;1
Spices and Herbs/Chinese;1
Spices and Herbs/Asian;1
Fruits;1
Vegetables;1
Gifts;1
where
Tools;1
line adds the root category and number "1" after it shows that category is active (use 0 to create disabled category)
Tools/Kitchen;1
line adds the subcategory of root "Tools" category and "1" after it shows that the category is active, etc.
Thus, the first column contains the name of the category and/or its path and the second one – category availability. Use "1" to make the category visible and "0" to make it hidden.
Once the file is created, do the following:
Select Catalog. Select the Import Products button and choose the "XCart" tab from the pop-up window.