- Posts: 1184
- Thank you received: 13
Hide empty filters from sidebar
-- 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
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The modifications were added in the 4.6.2 2 months ago. It's this entry in the changelog:
Note that this required the modification of the product / filter view file:Seletable filters will now be automatically hidden from display when there is no value to select in them.
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.
Please Log in or Create an account to join the conversation.
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.
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
Please Log in or Create an account to join the conversation.
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.
Vous avez l access en message
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
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.
No, it was that there were some missing checks in the system we added to handle this.
Please Log in or Create an account to join the conversation.