Bold Product Discount Integration

Modified on: Thu, Mar 22, 2018 at 5:28 PM


Make sure that you have installed 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 View/Edit button. You need to find 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 to 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;">
  {% 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 %}
</div>




3. Add the Bold tag to the 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 made changes in the Bold app.



Note!

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.