How to add root category?


#1

We want to create clean store setup, but cannot find a way to create a root category.

There seems to be a file with demoshop data in:
vendor/spryker/category-data-import/data/import/category.csv
but no associated command to import just this file.

Admin panel doesn’t have a way to add category without parent because parent dropdown is required (and there are no categories to choose from yet)

Additionally, for some unknown reason, vendor/bin/console data:import:category runs vendor/bin/console data:import:category-template instead of suggesting to use another command


#2

Hi Jan,

sorry for the late reply.
You can import just categories with console data:import category -f path_to_file.csv.

Best regards,
Spryker Support Team