Product Labels feature allows you to show eye-catching labels for products in search results.
Below is an example of discount labels in the Search Results Widget:
In this article, you learn how to set up product labels in the Search Results Widget. To set up product labels in the Instant Search 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 Search Results Widget. See the example above.
To do so, follow these steps:
- Go to the Smart Search & Filter control panel > Search results 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 > 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.
In-stock Labels
You can add in-stock labels to products in your store 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 > Search results widget section > Product Labels tab > In-stock label part.
- Select Show label setting.
- Optionally, edit the text of the labels in the corresponding fields.
- Apply the changes.
You can also translate the in-stock labels in the Smart Search & Filter control panel > Translations section > Search Results 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 > Search results 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.
- Label type - you can show labels as text or images.
- Text - enter the text which will serve as the label, if you select the Text label type.
- Background color - enter or select the background color of the label, if you select the Text label type.
- Image - select the image to show, if you select the Image label type. You can choose between 2 ready-made label images (New and Sale) and your own image. To add your own image you’ll need to insert the image URL to the corresponding field.
- Position - select the place where you want to show the label.
Note If the discount labels or in-stock labels are also active, only one of the labels can be shown in the position. Labels by Tags have a higher priority than discount labels and in-stock labels have a higher priority than labels by tag.
- Click the Save label button in the top-right corner.
That's it. The label by tag has been added and it is now displayed in the Search Results Widget.
Editing labels
Steps:
- Go to the Smart Search & Filter control panel > Search results 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 > Search results 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.