Looking for help?
< All Topics

Smart Search & Instant Search by Searchanise

About Smart Search & Instant Search by by Searchanise

The Most Reviewed Search App for Shopify and Shopify Plus – a complete site search, navigation & merchandising solution to convert your visitors into paying customers.

Smart Search & Instant Search by Searchanise powers 12,000 eCommerce businesses worldwide and is trusted by top-performing brands including Philips, Boeing, Levi’s, Durex, Mediamarkt, National Geographic, Sennheiser, and many more.


1. Add and EDIT the following in `snippets/wishlisthero-styles.liquid`


<!-- wishlist hero Searnichse integration -->
$(document).on("Searchanise.ResultsUpdated", function (event, results) {
console.log("Results back ..");
document.querySelectorAll(" .snize-product").forEach(function (sp) {
if (sp.getAttribute("id")) {
var productId = sp.getAttribute("id").replace(/[^0-9\.]+/g, "");
var productUrl = sp
var productImage = sp
var productTitle = sp.querySelector(".snize-title").innerText;
var productPrice = 0;
try {
productPrice = sp.querySelector(".snize-price").innerText;
productPrice = parseFloat(productPrice.replace(/[^0-9\.]+/g, ""));
} catch (ex) {

var button = document.createElement("div");
button.setAttribute("data-wlh-id", productId);
button.setAttribute("data-wlh-variantid", productId);
button.setAttribute("data-wlh-price", productPrice);
button.setAttribute("data-wlh-link", productUrl);
button.setAttribute("data-wlh-name", productTitle);
button.setAttribute("data-wlh-image", productImage);
button.setAttribute("data-wlh-mode", "icon_only");
sp.insertBefore(button, sp.querySelector(".snize-view-link"));
// now
var ev = new CustomEvent("wishlist-hero-add-to-custom-element", {
detail: button,
<!-- end wishlist hero Searnise integration -->