October 11, 2019 at 2:14 pm
Hello, I’ve tried to hunt this down, but I don’t think I’ll figure it out anytime soon. I think I’ll start by telling you what I’m trying to do.
I want to setup a product category hierarchy so my shop page has a handful of options, that will lead to subcategories, then to the products. For example, an overall category titled “Buy My Clothing” will lead to two subcategories “Kids T-Shirts” and “Leggings”, which will house the products. I’ve created a page as an example of what I would like the main shop page to look like here:
*Login to see link
So far, I’ve setup the overall product hierarchy that I want. But after that, things have not gone that well. Since the majority of the overall parent product categories don’t have any products (just subcategories), those categories aren’t populating onto the shop page. So I end up with my current shop page as:
*Login to see link
My question is, is there a way to force the parent categories on the shop page? If I can, will I have to enter any code in order to finish, such as making sure the child categories are showing correctly. By this I mean if you do click on “Buy My Clothes”, I would only get the two options mentioned above, and then if I click on “leggings”, I only see legging products.
I read in one of the posts Ajax was mentioned, but I’m not sure if this would be the best route (I gave it a brief try, but not a strong effort). If you could give me some direction, I would appreciate it.
Would it be possible to replace the shop page with the other page created above?