Custom badges on product cards - Dawn theme

Hi

how can i add custom badges to product cards are per the attahced? are the using an app? or is it custom coding?

hi @Prem_Eswara

ou can easily achieve that with some Liquid customization.

There are two ways to do this:

  1. You can use metafields on the product and display the metafield values in the product card.
  2. You can use tags and call them within the product card.

Thank you can you provide me a step by step example?

Hi @Prem_Eswara ,

You can achieve this through the Product Labels & Badges app.

  1. “UNISEX”

Create a text label and select Add variables option. Then choose {product_type} and the label text will automatically and flexibly display based on the type of your products.

  1. “BEST SELLERS”
  • Create a text label with the content as mentioned above.
  • In the Product settings: Select to show With specific tag(s) and enter the tag you have assigned to the product, which here is “Best sellers”

  1. “IN-STOCK”
  • Continue with text label campaign.
  • In the Product settings, choose to show the label on all products and simultaneously select the “In stock” option in the Inventory status feature.

Hi @Prem_Eswara If you are looking to display multiple badges like percentage sales, simple low-stock, sale, out-of-stock text badges, and custom Image-based Badges on your store, you can use the Prime Badges Labels & Stickers.