Pass Parameters with Search Widget Redirect

Agile Store Locator has an additional Search Widget that can be placed anywhere on the website and it will redirect to the Store Locator page, in case you are looking to pass on some extra query parameters in the URL with the redirect, you can use the q_params attribute as shown below.

[ASL_SEARCH redirect="http://wp6.com/store-locator" q-params="sl-collect=1&sl-category=139"]

With the above shortcode attribute q-params, the redirect will also contain these parameters that can be useful to filter our store locator listing.

q param
Passing additional Parameters

In our JS hook, we have utilized the sl-collect parameter to filter the listing.