Product Labels feature allows you to show eye-catching labels for products in search results. You can add discount labels to products sold with discounts in the Search Results Widget.

Below is an example of discount labels in the Search Results Widget

To set up discount labels, follow these steps:

Note
Discount label overrides the setting which allows showing original product price compared with discount product price.
  1. Go to the Searchanise control panel > Search results widget section > Product Labels tab > Discount label part.
  2. Select Show label setting.
  3. Optionally, change the background color of the discount label.
  4. Apply the changes.

You can also edit the text of the discount label in the Smart Search & Filter control panel > Translations section > Search Results Widget tab > Labels part > Discount Label Text text box. If you enter the [discount] parameter into the text box, it will be replaced with the actual product discount in the widget.

To show discount labels in the Instant Search Widget you’ll need to apply the same settings in the Instant search widget section.