Jump to content

Faceted Search filter Select All button


Recommended Posts

Hi everyone i am hoping that you can help me with current issue.
I have searched and tried everything i know and capable of.

I want to have select all checkbox in filters faceted search module.
Like each section for example manufacturer, model etc has their own filters and i want put select all checkbox on top so if user click on it, selects all the filters that are in the section and updated the link. I am new to php so could not figure it out how or where nextEncodedFacetsURL is coming or how to change/update it. 
Tried with javascript and jquery it only checks the checkboxes but does not change the url like the nextEncodedFacetsURL does
I have tried with manually inserting the names with $filter.label but then some filters had "-" some filters did not so I couldnt make it work.
I have tried with javascript and jquery click events it does clicks oone by one but the url takes only the last click. 
I am hoping someone can guide me how to do this. 
Thanks in advance

 

Edit: Forgot to mention versions

Prestashop version is 1.7.6.7 
Faceted Search is 3.6.0

Edited by feho1 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...