Hide empty filters from sidebar

  • Posts: 1027
  • Thank you received: 11
  • Hikashop Business
1 year 7 months ago #344580

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 3.10.11

Hello!

I would like to hide the filters that have no values to display on certain pages cause there's just the title there and makes to sense to clients.
How can this be done?

Thank you in advance

Attachments:

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

  • Posts: 81478
  • Thank you received: 13062
  • MODERATOR
1 year 7 months ago #344586

Hi,

That's a good point. I've worked today on this. The modifications are quite extensive so they will be included in the next version of HikaShop, which is to be released soon.

The following user(s) said Thank You: verzevoul, oxido

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

  • Posts: 1027
  • Thank you received: 11
  • Hikashop Business
1 year 4 months ago #347092

Any news here?

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

  • Posts: 81478
  • Thank you received: 13062
  • MODERATOR
1 year 4 months ago #347097

Hi,

The modifications were added in the 4.6.2 2 months ago. It's this entry in the changelog:

Seletable filters will now be automatically hidden from display when there is no value to select in them.

Note that this required the modification of the product / filter view file:
i.imgur.com/UVwGXGd.png
So if you have an override on it from an older version of HikaShop, you won't see any change.
You would have to add the changes in your old override, or delete the override and redo the changes on the new version of the view file as a new override.

The following user(s) said Thank You: verzevoul

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

  • Posts: 1027
  • Thank you received: 11
  • Hikashop Business
1 year 4 months ago #347130

Hi,

I have no filter override but still not working.
I updated to Hikashop latest version.
Can i send you admin access?

Thank you

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

  • Posts: 4502
  • Thank you received: 610
  • MODERATOR
1 year 4 months ago #347134

Hello,

Yes, please and in order to allow us to process good tests can you provide these elements :
- A context where we can have a non-required filter (and explicit us which filter please)
- An Url link to your backend access
- Backend user references (with maximum ACL)

Use our Contact us form to provide these elements, and add an Url link to this topic in your message.
Regards

Last edit: 1 year 4 months ago by Philip.
The following user(s) said Thank You: verzevoul

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

  • Posts: 81478
  • Thank you received: 13062
  • MODERATOR
1 year 4 months ago #347225

Bonsoir,

Merci pour les accès.

Serait-il possible d'avoir également un accès FTP pour étudier le souci plus en profondeur ?

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

  • Posts: 1027
  • Thank you received: 11
  • Hikashop Business
1 year 4 months ago #347236

Bonsoir Nicola!
Vous avez l access en message

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

  • Posts: 81478
  • Thank you received: 13062
  • MODERATOR
1 year 4 months ago #347277

Hi,

Thank you for the accesses.
I was able to find the issue and improved the check.
I've made a basic patch on your website, which seems to work for the type of filters you're using, and a more complete patch on our end for some other types of filters.

PS: sorry for the French message last time. I got confused while handling different things in different languages at the same time.

The following user(s) said Thank You: verzevoul

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

  • Posts: 1027
  • Thank you received: 11
  • Hikashop Business
1 year 4 months ago #347288

Hello nicolas,

Thank you for resolving the issue, so for future reference, what was the problem?
Was it something on my end?

Thank you

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

  • Posts: 81478
  • Thank you received: 13062
  • MODERATOR
1 year 4 months ago #347290

Hi,

No, it was that there were some missing checks in the system we added to handle this.

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.052 seconds
Powered by Kunena Forum