The Product Labels feature allows you to show eye-catching labels for products in search results.
Below is an example of Discount Labels and In-stock Labels in the Instant Search Widget:
In this article, you learn how to adjust product labels in the Instant Search Widget. To do so in the Search Results Widget, look for the instructions here.
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:
Discount label overrides the Show compare at price option (Search & Navigation > Instant search widget section > Content tab > Products part) which allows showing original product price compared with discount product price.
- Go to the Searchanise Search & Filter control panel > Search & Navigation > Instant search widget section > Product Labels tab > Discount label part.
- Switch on the Discount Label setting.
- Optionally, change the background color and the icon color (text color) of the discount label.
- Optionally, change the text of the Discount Label. If you enter the [discount] parameter in the text box, it will be replaced with the actual product discount.
- Apply the changes.
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. See the example above.
To do so, follow these steps:
- Go to the Searchanise Search & Filter control panel > Search & Navigation > Instant search widget section > Product Labels tab > In-stock label part.
- Switch on the In-stock Label setting.
- Optionally, change the background color and the icon color (text color) of the labels.
- Optionally, change the text of the labels.Note
If you enter the [quantity] parameter into the In-stock text box and product inventory is tracked in your store, it will be replaced with the actual inventory quantity of the product in the widget.
- Apply the changes.
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 Searchanise Search & Filter control panel > Search & Navigation > Instant search widget section > Product Labels tab > Labels by tag part.
- Click the + New label 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.
- Text color – enter or select the text 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 Searchanise Search & Filter control panel > Search & Navigation > 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 Searchanise Search & Filter control panel > Search & Navigation > Instant search widget section > Product Labels tab > Labels by tag part.
- Select the label(-s) you want to delete.
- Click the Delete selected button.
- Confirm.
Product Labels can be customized further with the help of the Custom CSS feature. In case you need help with that, feel free to contact us. Our support team will gladly help customize them the way you want.
We’d appreciate it if you could take some time to leave a review.