Jump to content

ps_facetedsearch how set checkboxes and fire search event with js


Recommended Posts

Hi,

1. In my shop I have two filters, one is one the left side which is made with prestashop default module facetedsearch and it works great.

2. On the top of the shop I have developed another filter, which makes api call to 3rd party API to get some information about what people need. This information have some values which can be checked on the left filter (facetedsearch filter 1. point) after I get info from API, so the question is how to set facetedfilter checkbox values to true how clear it and manage with js and fire search and reload events on the products wrapper on html.

( I know js well,  but maybe where is smart way to do that with some prestashop predefined functions maybe?)

Edited by [email protected] (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...