Eight Themes Support Documentation

How to Add Custom Product Badges

Product badges are labels which appear on images of certain products on your product and collection pages, when there is noteworthy information about the product available.

 

Screen_Shot_2022-05-13_at_2.18.54_PM.png

 

By default, there are certain badges which the theme automatically applies to products:

  1. New (appears on the collection page if the default sorting method is By date: Newest to oldest)
  2. Popular (appears on the collection list pages if the collection’s default sorting method is set to By best selling)
  3. Sold out (appears on any product that is out of stock according to Shopify’s own inventory tracking feature)
  4. Low stock (displays Only [number] left if any item in your shop meets your configured low stock indication)
  5. Percent off (displays [Percentage]% off on any item in your shop if you have set a Compare at price in your admin settings)
 
Note: If more than one badge could be applied to a product, the badges will be prioritized in the order above.

Step 1: Go to Your Product's Settings

 

Select the product that you wish to add a custom badge to.

 

  1. Within your Shopify admin, go to Products.
  2. Select the product that you wish to add a badge to.

 

Screen_Shot_2022-05-13_at_2.35.52_PM.png


Step 2: Add a Badge Tag

 

Enter your chosen text as a badge tag to display it on your product.

  1. Scroll down to Tags.
  2. In the entry field, type badge__ (with two underscores, not one).
  3. Directly after the two underscores, enter the text you wish to display on your product.
  4. Press enter to secure the tag.

 

Note: Please ensure that you have put two underscores between 'badge' and your chosen text.

 

❌  'badge_[Your chosen text here]'
✅  'badge__[Your chosen text here]'


Screen_Shot_2022-05-13_at_2.41.00_PM.png


Step 3: Check Your Product Page

 

If your badge tag has been entered correctly, it should now be present on your products.

 

Screen_Shot_2022-05-13_at_2.38.33_PM.png

Was this article helpful?