Bold Product Discount Integration Print

Modified on: Fri, Feb 7, 2020 at 1:02 PM

Make sure that you have installed both Searchanise and Bold Product Discount apps before you start the integration!

1. Get discount tag from Bold Product Discount

Go to Bold Product Discount app →  Current Discounts. Next, choose the necessary discount, and click the View/Edit button. You need to find the Discount Tag section and copy its value.

Important: Don’t leave the text field empty! Please, enter any tag name there and click Update!

2. Insert code in Shopify layout

Open your current Shopify theme, and paste the code below to the theme.liquid file before the closing <body> tag.

<div id="se_support_bold_product_discount" style="display: none;">
  {% paginate collections.all.products by 10000 %}
    {% for product in collections.all.products %}
      {% if product.metafields.inventory.ShappifySale == "true" %}
        {% include 'shappify-sales-icon-product' %}
        {% include 'shappify-sales-icon-collection' %}
        {% break %}
      {% endif %}
    {% endfor %}
  {% endpaginate %}

3. Add the Bold tag to Smart Search & Instant Search

Go to Smart Search & Instant Search app → Integration page. Turn the Bold app toggle on, and insert the tag from the first step. Please don’t forget to save the settings by clicking Apply Changes!

4. Update search results

Go to the Dashboard section in the Searchanise control panel and click Force re-indexation. After the indexation is complete, you will see Bold Product Discount icons in the Search results widget.

Note: you should run Force Re-indexation each time you make changes in the Bold app.


In case the Bold Product Discount integration is enabled, the Searchanise automated discount labels and custom labels won’t be shown in the search results widget.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.