My products assigned as sub categories and child categories, how to assign all products in a category to it's parent categories.


Books/Children/Boys, Now the products assigned with Boys child category, how to assign parent category Books.

1 Answer 1


This unfortunately is a super manual process. You can either manually add each product individually to the parent category or you can write a script that will traverse your entire catalog and do the work for you.

Most of the time in my experience you have the data entry people just select the category tree all the way up. There was a lot of first time pain with this, but once it was done for the current product set it was not difficult to maintain.

  • 25K products available in my website, any other possible way exits?
    – zus
    Commented Dec 13, 2019 at 9:13
  • You're going to have to write a script that goes through your entire catalog and does the work for you. Commented Dec 14, 2019 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.