Filter displaying all categories?

  • Posts: 36
  • Thank you received: 4
  • Hikashop Business
1 year 5 months ago #345902

-- url of the page with the problem -- : bikergearsuperstore-co-uk.stackstaging.com/used-bikes/aprilia
-- HikaShop version -- : 4.6.2
-- Joomla version -- : 4.2.3
-- PHP version -- : 8
-- Browser(s) name and version -- : All

Hi,

I'm trying to set up a filter by category. I have selected the main category and selected the Include Sub Categories option, but it displays all categories?

I have attached screenshots of my settings.

Thanks.

Attachments:

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
1 year 5 months ago #345905

Hi,

The "category" setting on the left side of the screen is for where the filter will be displayed. So you should leave it empty usually.
The "category" setting on the right side of the screen is to select the parent category which will be used to select its sub categories as choices of the filter.

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

  • Posts: 36
  • Thank you received: 4
  • Hikashop Business
1 year 5 months ago #345916

Hi,

Thanks for your reply. I added the sub category and it works now.

I do have the word "Brands" at the bottom of the filter for some reason. Can you let me know how to remove it. Thanks.

Attachments:

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
1 year 5 months ago #345918

Hi,

That's the name of the filter. You have a "Title" setting in your filter where you can select where it should be displayed. And you choose "bottom", that's why it's displayed at the bottom.

In your template's CSS, you have code to hide the filters title. But it only works if you've added the class hikashop-sidebar-filter to the filter module settings page. You did it for the filter modules on the other pages, but not for the one on the page where you have that filter displayed.

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

  • Posts: 36
  • Thank you received: 4
  • Hikashop Business
1 year 5 months ago #345926

Thats great, thanks.

All working now. Out of curiosity, I can't see where I have entered the name of the filter "Brands". Could you let me know? Thanks again.

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
1 year 5 months ago #345927

Hi,

You've entered "manufacturers" as a name of your filter. HikaShop has a translation line like this:
MANUFACTURERS="Brands"
So that's why you see Brands as the name of the filter on the frontend since the name can be translated that way in the different languages of your website.

The following user(s) said Thank You: HikkaCol

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

  • Posts: 36
  • Thank you received: 4
  • Hikashop Business
1 year 5 months ago #345933

Thanks.

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

Time to create page: 0.042 seconds
Powered by Kunena Forum