Do you want to make your Shopify products stand out with eye-catching custom tags? Then this is the right guide for you. Badges like “Sale”, “New Arrival”, or “Best Seller” can help products get noticed fast. You do not need any app to do it. Surprised? In this post, you will learn how to create Shopify product badges without an app using Shopify’s metafields and simple theme code.
This step-by-step guide works even if you do not know coding. You will also learn how to add a badge in Shopify and control the text and color right from your admin panel. By the end, you will have colorful, professional badges that look clean and load fast. Ready to transform your Shopify store? Let us get started then!
Badges help customers focus on key products. They highlight what is new, popular, or on sale.
They guide shoppers and boost clicks.
Examples:
If you sell clothing, add a “New Arrival” badge to new items. Customers will spot them right away.
Adding Shopify custom badges improves the look of your store and saves money. You will not need extra apps or scripts. It is one of the best ways to add badges to Shopify products while keeping things simple.
You will learn to:
In the next section, we will provide a step-by-step guide on how to add custom badges using simple coding. Do not worry if you are not familiar with it. These instructions are easy to follow, and all you need to do is copy and paste to get the desired output.
Metafields store extra product details.
You will create three: one for badge text, one for background color, and one for text color.
Steps:

Now edit any product and scroll to Metafields. You will see three boxes ready to fill.
Example:
If the product is a Summer Dress, fill in
Save it.
Shopify will now show a red Sale badge on that product.
That is how Shopify product badges without an app work.
This step is easy. You just paste one block of code.

{% if product.metafields.custom.badge_text != blank %}
<div class=”custom-badge”
style=”background-color: {{ product.metafields.custom.badge_background_color }};
color: {{ product.metafields.custom.badge_text_color }};”>
{{ product.metafields.custom.badge_text }}
</div>
{% endif %}
Code Screenshot:

Save it.
This code checks if a product has badge text. If yes, it shows the badge automatically.
Example:
If you add “Sale” to your metafield, this code displays it. All you needed to do was copy and paste. Easy, right?
This works for a Shopify sale badge, “New Arrival,” or any text you want. It is one of the cleanest ways to use Shopify product badges without an app.
Now tell Shopify where to show the badge.
{% render ‘product-badges’ %}
Code Screenshot:

Save.
Then open product-template.liquid and paste the same line where you want the badge to appear on product pages.
Example:
Paste it above the image to show “New Arrival” directly on the picture. Save and refresh.
Tip:
Duplicate your theme before editing. That way, you can restore it easily if needed.
This setup helps you add badges to Shopify products quickly and works on any theme.
Now you’ll style how your badge looks.
Open your CSS file (base.css or theme.css).
Scroll to the bottom and add this code.
.custom-badge {
position: absolute;
top: 10px;
left: 10px;
padding: 5px 10px;
font-weight: bold;
font-size: 14px;
border-radius: 5px;
z-index: 10;
white-space: nowrap;
}
Code Screenshot:

Save.
Your badges now appear in the top-left corner of each product image.
Example:
A red Shopify sale badge with white text now shows clearly on each product. You can adjust the position by changing the top or left numbers.
That is how you style Shopify product badges without an app. And you didn’t even have to touch your main layout.
Now it is time to apply your badge.

Refresh your store. You will see a gold Bestseller badge.
You have just made a custom product badges Shopify setup that works beautifully without external tools.
You can also create badges with tags instead of metafields.
Add a tag named sale to your product. Then paste this code in the same spot as before.
{% if product.tags contains ‘sale’ %}
<div class=”custom-badge”>Sale</div>
{% endif %}
Code Screenshot:

Now style it.
.custom-badge {
background-color: #FF0000;
color: #FFFFFF;
}
Code Screenshot:

Example:
Products with the tag “sale” now show a red Sale badge. Remove the tag, and it disappears.
This manual badge setup Shopify method is faster but less flexible. You cannot change colors per product, unlike the Shopify badge, without an app using metafields.
In the next section, we list some common fixes to help you minimize errors. Let us check them out.
If badges do not look right, check these.
Badge missing
Make sure metafield names match exactly (like badge_text).
Badge position
Change the top and left values in the CSS.
Color not showing
Use a # before the color code.
After small fixes, your Shopify product badges without the app should display correctly.
You can take this further with Shopify badges from DiscountRay. You do not need any coding. In just 2 clicks, your custom badge is ready.
Examples:
There is a detailed guide on how you can further customize your offers using this personalized discount app.
You now know how to create Shopify product badges without an app. You did not need to code or install anything.
You
Your store now looks cleaner and faster. Start small. Add one badge and test it. A small badge can make a big difference in how shoppers see your products. We hope you found this article helpful. Share it with other Shopify merchants who want to transform their Shopify store for the better. For more expert tips, check out our other eCommerce blogs.
You can add a custom badge in Shopify by creating metafields for badge text and colors, then pasting a small Liquid code snippet in your theme.
Yes. You can change badge shapes with CSS, such as making them round or rectangular.
Create a metafield with text like “Sale” or “Discount” and use your badge code to display it on product images.
You can upload trust badge images and place them below the “Add to Cart” button in your theme’s product-template file.
Add a metafield with text “Free Shipping” or use a tag like “free-shipping” and display it using the badge snippet.
You can do it using Shopify product badges without an app. Set up metafields, paste one snippet, and style it with CSS.
You can upload icons or use SVG code in your theme sections, just like you add a badge snippet.
Yes. Badges increase trust, attract attention, and help products sell faster.