Problem creating subcategories manually in database
-
Since we have our own product importer we also want to create categories and subcategories directly in the database. Creating a parent category is succesful and this shows up in both the backend anf frontend.
However, when we add a subcategory and set the parent to an existing category it doesn’t show up anywhere. Navigating to the category by typing in the https://www.url.com/slug works so it is created in a right way.
After searching and cracking my brain over this I can’t figure it out. The weird thing is if I use the category edit pages in the backend, and I edit the parent category (just click edit and save, without changing anything) the subcategory magically appears.
So it must be triggered somewhere that tells the code if there is a subcategory or not, but I cannot find it anywhere… can anyone help?
- The topic ‘Problem creating subcategories manually in database’ is closed to new replies.