How to show parent category product list inside sub-category
-
Hi Support,
There is a need to customize?the product loop behavior on the shop page. I have parent category ex. “Electric Irons” contains all the Electric Irons from all brands. And subcategories ex. Crompton Irons, Bajaj Irons, Usha Irons, and so on contain respective brand products.Tree view of Parent and Child categories are below
Electric Iron
? —->Crompton Irons
? —->Bajaj Irons
? —->Usha Irons
? —-> ….
If I clicked the Parent Category then the shop page is displaying all the products from all the all brands it has.
Parent CategoryIf I click the subcategory(Crompton Irons ) then it will display the respective Crompton Ironsproducts of that subcategories.
SubCategory
This is the default behavior of WordPress/woo-commerce.But the requirement of the shop page is different from the default behavior.?When the user will click?the subcategory(Crompton Irons ) then the shop page should display all products from all brands. It means I need Parent Catagory?behavior in the subcategory. This type of implementation will easy for the customer to find the relevant product with?a few clicks.
How to achieve?this functionality? Do we have any Plugins or available codes to do this?
- The topic ‘How to show parent category product list inside sub-category’ is closed to new replies.