0

I have imported a product dataset into Wordpress/WooComerce which has created the required categories and sub-categories correctly when viewed in the Product->Categories page.

When I go to try to create the menus from Product Category structure only a small amount of the subcategories are indenting. The first image show the indenting as it should be, the second image shows where it stops. It looks like it is not listing them in the correct order which may be throwing the sub-category structure which goes 3 levels deep.

There are just over 240 categories so I am not sure if this would cause an issue.

Is there any other way to import a large number of categories into a menu and maintain the structure.

This shows the correct indent

This shows where the indenting stops working

  • 1
    Menus tend to break when you have too many items in them. I would instead use wp_list_categories (you'll need to use 'taxonomy' and set it to whatever name WC uses for Product Categories) in the theme. That way they're always up to date without anyone touching a Menu. – WebElaine Jul 10 '17 at 14:49
  • Thanks. I have not used WP at this level before but will look into it and report back to the post. – Spionred Jul 10 '17 at 19:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.