Required CSV Format:
The CSV file should have the following columns (with headers):
- category_name - The name of the category (required)
- parent_category_name - The name of the parent category (optional, leave empty for main categories)
- is_active - Whether the category is active (true/false or 1/0, optional, defaults to true)
Sample CSV Content:
category_name |
parent_category_name |
is_active |
Electronics |
|
true |
Computers |
Electronics |
true |
Laptops |
Computers |
true |
Smartphones |
Electronics |
true |
Furniture |
|
true |
Office Furniture |
Furniture |
false |
Tips:
- Parent categories must be imported before their subcategories
- Category names must be unique within the same parent level
- Leave parent_category_name empty for top-level categories
- The system will skip duplicate categories automatically
Download Sample CSV