- This article is general for Shopify, BigCommerce, Wix, WooCommerce, Magento 1, Magento 2, CS-Cart.
- Custom HTML is not available on Legacy plans.
- You can adjust Custom HTML in the Searchanise Search & Filters control panel > Search & Navigation > Instant search widget section > Custom CSS & HTML.
- Searchanise Search & Filter is gradually rolling out a new control panel to Shopify stores. During the rollout, some Shopify stores may still use the previous version. If switching is available for your store, you can try the new control panel and return to the previous version at any time. Learn how to identify your control panel version.
The Custom HTML feature consists of settings that allow adding HTML blocks to the Instant Search Widget.
In this article, you’ll find instructions on how to adjust Custom HTML and what its settings mean.
The settings description
Show content on focus
This block is displayed when a user focuses on the search bar. Default settings:
<br><i>Start typing for instant search resultsi><br><br> Extra content
This block is displayed after the last block set in the Searchanise Search & Filter control panel > Search & Navigation > Instant search widget section > Content tab > Search results order setting.
Default value:
<div style="text-align: center;">
<a href="#" title="Exclusive sale">
<img src="https://www.searchanise.com/images/sale_sign.jpg" style="display: inline;" />
a>
div> “Nothing found” content
This block is displayed in the instant search results when the search query returns no results.
Default settings:
<p>Sorry, nothing found for [search_string].p>
<p>Try some of our <a href="#" title="Bestsellers">bestsellers →a>.p> Adjust Custom HTML
The steps depend on which version of the Searchanise control panel you use. Learn how to identify your control panel version.
New control panel (Shopify only)
- Go to Search & Navigation > Instant search widget > Custom CSS & HTML.
- Turn on Custom HTML.
- Select the content block you want to display.
- Edit the HTML in the corresponding field.
- Click Save.
Previous control panel:
- Go to Search & Navigation > Instant search widget > Custom CSS & HTML.
- Turn on the content block you want to display.
- Edit the HTML in the corresponding field.
- Click Apply changes.
We’d appreciate it if you could take some time to leave a review. To do so, follow the link to your respective platform below: