Shopstack Work with us

Guides Build an offer

How do I add a discount badge to Shopify products?

Install Discount Genie free on Shopify

Add the badge with Discount Genie

Discount Genie by Shopstack is a Shopify discount app. Install it from Discount Genie on the Shopify App Store, then follow these steps.

  1. In the app, go to Campaigns & Widgets > Campaigns and pick the Sale price display discount card.
  2. Choose how the discount applies, automatic or with a code, and enter a percentage or a fixed amount off products. An order discount takes a percentage only.
  3. Pick the products: all products, or up to 3 rules such as specific products or collections. An order discount uses exclusions instead.
  4. Set the start date and time. The end date is optional.
  5. Write the badge text with the savings in it, for example 20% OFF or $15 OFF, and save the campaign.
  6. Go to Online Store > Themes, click Customize, open App embeds and turn on Sale price display.
  7. In the embed's settings, under Show, pick Badge only or Prices and badge, then click Save.
  8. Open a product page and a collection page, and check the badge. With a code discount, apply the code first.

What Shopify does without an app

Shopify's route to a "Sale" badge is a compare-at price, which is the original price of a product you have marked down. Your theme decides whether a badge appears. These desktop steps follow Shopify's sale price help page, checked December 3, 2026.

  1. From your Shopify admin, go to Products and click the product.
  2. To edit a variant, click the variants link in the Variants section.
  3. In the Price section, click Compare at.
  4. In Compare-at price, enter the original price, for example 80.
  5. In Price, enter the lower price, for example 64. The compare-at price must be higher.
  6. Click Save, then check the product page and a collection page.

Shopify can

  • Display the compare-at price and the sale price on product pages and collection pages. Source: help.shopify.com
  • Show a badge through your theme: Shopify says a theme might add a badge with a message or percentage off to product listing and collection pages. Source: help.shopify.com
  • Show savings from a discount as a crossed-out price at checkout. Source: help.shopify.com

Shopify can’t

  • Promise a badge on every theme. Your theme controls whether and where sale prices display. Source: help.shopify.com
  • Show a discount's savings crossed out on product and collection pages by itself. Shopify says this takes a third-party discount app or a Shopify Partner building a custom solution. Source: help.shopify.com
  • Mark a product as on sale on collection pages when its variants have conflicting compare-at prices, such as some empty or at $0.00. Source: help.shopify.com

What the Discount Genie badge shows

Sale price display creates a real Shopify discount, which applies at checkout when the order meets its conditions. It can put the badge on the product photo, with the text you wrote.

  • Where. Product pages, collection grids, search result grids and featured product sections. In the embed settings you can turn off product pages, collections and search results (one switch), or featured product sections.
  • Prices. Prices and badge also shows the regular price crossed out and the sale price. Badge only shows the badge without them.
  • Your catalog. Product prices and compare-at prices are not edited, so there is nothing to restore after the sale.
  • Plans. On the Free plan and on Core, Growth, Pro and Scale. On the Free plan you can save 1 campaign, shared with other campaign types (ended campaigns still count, Gift with purchase does not). Core, Growth, Pro and Scale have no limit.

The older Discount Badge theme block is different. It shows text you type into the block. It does not take the sale price from your Sale price display discount, so you update the block yourself when your offer changes. Theme blocks are covered in show your discount on your store.

To put the whole sale price on the page, see how to show the discounted price on Shopify product pages.

Compare-at price badge vs Discount Genie badge

NeedCompare-at price badge (Shopify theme)Discount Genie badge
Where the badge comes fromYour theme, if it has oneThe Sale price display app embed
Badge textSet by your themeYou write it, with the savings
Edits your product pricesYes, on each product or variantNo
Takes money off at checkoutThe product's price is already lowerYes, through the campaign's Shopify discount, when the order meets its conditions
After the salePut the old prices backNothing to restore
PriceIncluded with ShopifyOn the Free plan and on Core, Growth, Pro and Scale

FAQ

Does the badge work with a discount code?

Yes. With a code discount, the badge shows only after the code is in the shopper's cart. Until then, that campaign's badge does not show.

Does the discount badge show in the cart?

No. Sale price display shows no badge in the cart page or cart drawer. The discount applies at checkout when the order meets its conditions.

What if the badge does not show on my custom theme?

Discount Genie's team can enter your theme's price locations for you. Meanwhile, the discount still applies at checkout when the order meets its conditions.

Do I need to edit theme code?

Not on supported themes. You turn on the Sale price display app embed in the theme editor.