View Categories

How to add a custom badge to your product

1 min read

Custom badges help highlight special products, promotions, or new arrivals, making them stand out to customers browsing your store.

Step 1: Access Custom Data Settings #

Navigate to the Custom Data Settings section in your Shopify admin dashboard to begin setting up your badge system.

Step 2: Create a Metafield Definition #

Add a new metafield definition with the following specifications:

Required Information:

  • Metafield Name: Product card new badge (You can customize this label as preferred)
  • Namespace and Key: meta.product_new_badge (This must be entered exactly as shown)
  • Type: Select “Date” from the available options

This metafield will control when and how your custom badges appear on products.

Step 3: Configure Product-Specific Badge Settings #

For each product where you want to display a badge:

  1. Navigate to Product Details – Go to the specific product page in your admin
  2. Set Badge Display Date – Choose when the badge should start appearing
  3. Configure Duration – Determine how long the badge will remain visible
  4. Enable Badge Sections – Choose which parts of your store will display the badge (product cards, product pages, etc.)

  • Set the date for the badge’s display period on the product page (Setting Badge Display Date):

  • Decide the duration for which the badge will appear on the product (Duration Settings):

Step 4: Customize Badge Text and Localization #

To ensure your badges work across different languages:

  1. Access Theme Content – Go to “Edit Default Theme Content” in your theme settings
  2. Translate Badge Text – Add appropriate text for each language your store supports

Benefits of Custom Badges #
  • Draw attention to new products, sales, or featured items
  • Create urgency with time-sensitive promotions
  • Improve product discovery and customer engagement
  • Maintain consistent branding across your store

This system gives you complete control over when, where, and how your product badges appear, helping you create more effective product merchandising strategies.

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *