How to guides
Enable Labels on Store
Learn how to configure and enable product labels in your store
Configuration
Settings Configuration
Configure your labels in settings.json
. Each label has a name, text color, and background color:
Template Implementation
Add this code to your theme.liquid
to display labels on products. The code checks for matching tags and applies the configured styling:
How It Works
- Add tags to your products (e.g., “new”, “trending”, “bestseller”) - These tags should match the label names in your settings
- Labels will automatically appear on products with matching tags - The system checks product tags against configured label names
- Each product shows max 2 labels (configurable via
maxLabelsCount
) - Adjust this number in settings to show more or fewer labels - Labels use the colors defined in settings - Each label type has its own text and background colors
- Supports translations through the
translations
object - Use translations to display labels in different languages
Support
Need help with labels? Contact support@glood.ai