Product Labels feature allows you to show eye-catching labels for products in search results.
Below is an example of discount labels in the Instant Search Widget:
In this article, you learn how to set up product labels in the Instant Search Widget. To set up product labels in the Search Results Widget, see the instructions here.
ON THIS PAGE YOU'LL FIND
Discount Labels
You can add discount labels to products sold with discounts in the Instant Search Widget. See the example above.
To do so, follow these steps:
Note
Discount label overrides the Show compare at price option (Instant search widget section > Content tab > Products part) which allows showing original product price compared with discount product price.
- Go to the Smart Search & Filter control panel > Instant search widget section > Product Labels tab > Discount label part.
- Select Show label setting.
- Optionally, change the background color of the discount label.
- Apply the changes.
You can also edit the text of the discount label in the Smart Search & Filter control panel > Translations section > Instant Search Widget tab > Labels part > Discount Label Text text box. If you enter the [discount] parameter in the text box, it will be replaced with the actual product discount.
In-stock Labels
You can add in-stock labels to products in the Instant Search Widget to show their availability to customers: in-stock, pre-order, out-of-stock.
To do so, follow these steps:
- Go to the Smart Search & Filter control panel > Instant search widget section > Product Labels tab > In-stock label part.
- Select Show label setting.
- Apply the changes.
You can also edit the text of the in-stock labels in the Smart Search & Filter control panel > Translations section > Instant Search Widget tab > Labels part.
Labels by Tags
You can set up custom labels for products based on their tags to highlight certain products in search results.
Adding labels
Steps:
- Go to the Smart Search & Filter control panel > Instant search widget section > Product Labels tab > Labels by tag part.
- Click the + button.
- Set up the label options:
- Product tag - enter a product tag into the text box.
- Text - enter a text which will be displayed as the label.
- Background color - enter or select the background color of the label.
- Click the Save label button in the top-right corner.
That's it. The label by tag has been added and is now displayed in the Instant Search Widget.
Editing labels
Steps:
- Go to the Smart Search & Filter control panel > Instant search widget section > Product Labels tab > Labels by tag part.
- Click the Edit link next to the label you want to edit.
- Edit the label options.
- Click the Save label button in the top-right corner.
Deleting labels
Steps:
- Go to the Smart Search & Filter control panel > Instant search widget section > Product Labels tab > Labels by tag part.
- Select the Delete checkbox next to the label you want to delete.
- Click the Delete selected button.
- Confirm.