Badges, Ratings and Collections
Product badgesโ
Octane shows badges on product cards. A Sold out or Sale badge appears first when it applies. A second badge comes from the metafield octane.badge if the product has one, otherwise from a product tag:
| Product tag | Badge |
|---|---|
bestseller or best seller | Best seller |
staff pick or staff-pick | Staff pick |
new or new arrival | New |
restocked or back in stock | Restocked |
To use a custom badge, create a product metafield with the namespace and key octane.badge (type: single line text) and fill it in on each product. In the sections that list products you can switch badges off with Show badges.
Star ratingsโ
Cards and the product page show a star rating when the product has a rating metafield:
reviews.rating- a rating value (the standard Shopify reviews metafield)reviews.rating_count- the number of reviews
Reviews apps that fill these standard metafields work automatically. Turn ratings off in Theme settings > Layout > Show product ratings.
Collections the homepage usesโ
The best sellers and new arrivals sections read from collections you choose. Smart collections keep them up to date for you.
- Go to Products > Collections > Create collection
- Choose Smart and set the condition, for example Product tag is equal to bestseller
- Save, then pick the collection in the Featured collection or Product rail section
You can use the same tags for the badges above, so one tag controls both the badge and the collection.