我想从一个页面传递输入值并在 algolia 即时搜索的另一个页面中显示搜索结果?
I want to pass input value from one page and show search results in another page in algolia instant search?
我想达到这样的效果...https://magento.algolia.com/ when you search from home page and it will redirects you to result page along with the previous search value. I saw about the custom widgets of the instant search but cannot come over through. If I search 'shirt' over the above given site, the result page should be like this, https://magento.algolia.com/catalogsearch/result/?q=shirt
终于找到解决方案,使用以下参数,然后在初始化时将其传递给 InstantSearch。 searching_value 使用 javascript 获取货车。
searchParameters:{
query: searching_value
}
我想达到这样的效果...https://magento.algolia.com/ when you search from home page and it will redirects you to result page along with the previous search value. I saw about the custom widgets of the instant search but cannot come over through. If I search 'shirt' over the above given site, the result page should be like this, https://magento.algolia.com/catalogsearch/result/?q=shirt
终于找到解决方案,使用以下参数,然后在初始化时将其传递给 InstantSearch。 searching_value 使用 javascript 获取货车。
searchParameters:{
query: searching_value
}