Jump to content

Edit History

feho1

feho1

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

feho1

feho1

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

×
×
  • Create New...