Algolia as a wp_query replacement for Elementor Pro website
-
I am planning on using Algolia as a replacement for SearchWP, it had amazing capabilities for balancing product Titles and taxonomies just the way we needed but sadly we started having too many products in our website (56k and counting) and SearchWP was starting to take close to 2gb of our database size. Given our hosting plan limitations, it was killing our site.
Algolia doesn’t have this issue, I am trying to repeat something like that using this plugin, and I really like the idea of using instant search and perhaps even buying the pro version if it works.
However, our main issue now is that the way SearchWP replaced the default wp_query engine allowed us to create a custom search results page using Elementor Pro which we designed to work beautifully for our Stock Image website, it works with the default engine or with whatever replaces it.
I can’t find any way to manage that with this plugin, it’s not clear to me what is pulling the search results into the Search bar (Autocomplete or Instantsearch) but the products shown in the autocomplete recommendations are not the same as those of the gallery/shop query when you ignore the recommendations and simply press Enter.In search page settings of your plugin I have marked this option:
Use Algolia with the native WordPress search template
Search results will be powered by Algolia and will use the standard WordPress search template for displaying the results.
Autocomplete is enabled.Our website is https://ericksonstock.net
Shop page is https://ericksonstock.net/gallery
You can try any search, i.e typing “children in house” and look at the autocomplete vs looking at the results here: https://ericksonstock.net/?s=children+in+house, results are way different.
I invite you to try it yourself.Doesn’t matter what I change, it still won’t change the way the products are pulled into the gallery page. Which is a shame, because as pretty as autocomplete is, we want them to still be able to use our custom Gallery/Shop page too. Is there any way to have Algolia replace the default query or show up as an option for our Elementor designed website?
I guess if possible as an extra question I would like to ask which is the file I should be looking to modify if I want to change the way the autocomplete element looks, we are all about our images so product name or description don’t matter, I want it to just display a matrix of the product images. I can do that myself, I just would like to know which is the right file to modify.
Thanks for reading!
Help would be much appreciated.The page I need help with: [log in to see the link]
- The topic ‘Algolia as a wp_query replacement for Elementor Pro website’ is closed to new replies.