Product Categories Inclusive?

  • Posts: 58
  • Thank you received: 2
7 years 3 months ago #287041

-- url of the page with the problem -- : www.litterpicks.com
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.4

We are having one issue with a category filter that we've created. We have product categories, subcategories, and products within those subcategories. Here is an example our category layout:

All Dogs
---Hounds
------Basset Hounds
-----------Product 1
-----------Product 2
------Coon Hound
-----------Product 3
-----------Product 4

---Terriers
------Boston Terrier
-----------Product 5
-----------Product 6
-----Russell Terrier
----------Product 7
----------Product 8
We have created category product listings from our main menu. One menu item lists products from all the dog categories and then there are other menu links to product listings just within each dog category (ex Hounds or Terriers). They work fine and the correct products are shown.

On each of the product listings pages, we have a category filter. For example, on the Hounds page we have a single dropdown filter to select either Basset hounds or Coon hounds. And the same on the Terrier listings page--we have a filter for Boston Terrier or Russell terrier. These work great!

Here's our issue: on the page that lists all the products from all of our categories, we have created a single dropdown category filter for our top level categories --Hounds, Terriers, etc. Our filter is created the same as the other (except the category chosen on the filter is "All Dogs" and "Include Subcategories" is selected. It shows up fine on the product listings page with our six main categories on a single dropdown. All good so far...

BUT, when a category is selected from the filter, it says there are no products within that category. For example if "Hound" is chosen, it says there are no products in that category, even though they are products in the subcategories called "Basset Hound" or "Coon Hound".

Is that how it is supposed to work? Seems like if a product belongs to a subcategory, it should also belong to the parent category and be shown when filtered for that parent category. If we go back to the product editing page on the back end and put the product in BOTH the "Hound" category and the "Basset Hound" category, then it shows up on the filter. We just assumed if it belongs to the "Basset hound' category it should belong to parent "hound' one as well.

Are we missing something here?

Last edit: 7 years 3 months ago by Jerome. Reason: [code] tag is nice, really nice

Please Log in or Create an account to join the conversation.

  • Posts: 83778
  • Thank you received: 13565
  • MODERATOR
7 years 3 months ago #287057

Hi,

You're not missing anything. The category filter filter the products based on whether they are directly linked to the selected category or not. There is no multilevel filtering.

On your all products menu, instead of a dropdown filter, I would rather recommend to use a HikaShop content module configured to display the 1st level categories.
That way, the customer will be able to select the category he wants. This will have the benefit of leading the customer to the sub menu you've configured when you select a category in that module, and thus the customer will then be able to refine his search with the filter dropdown.

Please Log in or Create an account to join the conversation.

  • Posts: 58
  • Thank you received: 2
7 years 3 months ago #287127

OK makes sense. Perhaps in the future there would be a way to filter within categories/subcategories. The issue we have with the 1st level category module is that it doesn't dynamically change any content on the page. So until the shopper finds the specific category they want and click on it, nothing on the page changes--so you can't narrow down the products to a particular category if there are subcategories below it.

But we'll figure something out.

One more category question--of what benefit is there to have vendor categories created in Hikamarket? It doesn't appear there are ways to sort/filter these categories so we are wondering if we should keep that option. Seems like just more categories for a vendor to select from when creating a product and assigning it to a product category. Or would there be some reason why a vendor should assign a product to a particular product category and their vendor category?

Please Log in or Create an account to join the conversation.

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 3 months ago #287154

Hello,

The vendor category creation is a setting which can allow you to organise your store automatically with a defined structure.
You can make that category visible via a menu to provide your customer a way to see products of the vendors ; but it's sure that it's best if you also let your vendor create their own categories so you will have a real "category tree" where each vendor have it's own organization.

It's just a setting for a different way of creating a marketplace. It does not mean that it's useful for everybody.
It's up to you to see what you want to do and what features would be useful to achieve your goal.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum