Another question about Categories display

  • Posts: 9
  • Thank you received: 0
2 months 1 week ago #363717

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.2.24
-- Browser(s) name and version -- : Chrome 129.0.6668.60

Hello, I'm new to Hikashop. I've used eShop for the past 10 years and wanted to try this option

I've searched everywhere on Google and on here and see the same question, but I can't get a solution.

I need to show only Categories by clicking the Main menu "Shop" The problem is it shows Categories and all the products underneath on the same page. I need just Categories to show on the page. Once I click the Category, I need it to go to the product, which it currently does.

I just can't figure out how to turn off the products from showing on the Category page.

Thanks

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

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
2 months 1 week ago #363718

Hi,

In your menu item, under the "products options" tab you have an option "sub elements filter". If you set it to "all sub elements", then on any given listing page of that menu item, the system will take into account not only the products directly linked to the current category, but also the products directly linked to the children categories of the current category. In your case, you want to set this setting to "direct sub elements". That way, it will only take into account the products directly linked to the current category. And if you're on the main category page, with sub categories displayed, it won't display any product if they are only linked to the sub categories.

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

  • Posts: 9
  • Thank you received: 0
2 months 1 week ago #363838

nicolas wrote: Hi,

In your menu item, under the "products options" tab you have an option "sub elements filter". If you set it to "all sub elements", then on any given listing page of that menu item, the system will take into account not only the products directly linked to the current category, but also the products directly linked to the children categories of the current category. In your case, you want to set this setting to "direct sub elements". That way, it will only take into account the products directly linked to the current category. And if you're on the main category page, with sub categories displayed, it won't display any product if they are only linked to the sub categories.


Hello. Thank you for this response. I'm finally able to get to this task again today, but don't understand where to find the initial request.

"In your item menu?" Item being product? Is this under the Hikashop component? I just can't find any of this.

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

  • Posts: 9
  • Thank you received: 0
2 months 1 week ago #363839

Ok I found what you where explaining, but I don't see it changing anything. I'll play with it, thanks.

Last edit: 2 months 1 week ago by lorvar.

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

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
2 months 1 week ago #363841

Hi,

If you can't find the problem, please provide the URL of the page, and screenshot of the settings under the products options tab of your menu item.

Last edit: 2 months 1 week ago by nicolas.

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

  • Posts: 9
  • Thank you received: 0
2 months 20 hours ago #363951

I figured it out, thanks :)

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

Time to create page: 0.064 seconds
Powered by Kunena Forum