Skip to content
Nileva B2B Wholesale Pricing is Built for Shopify. Free plan available. See all apps
Nileva
Badges & labels

Shopify Badges on Collection Pages and Product Cards

Collection grid of three product cards, each with a different badge on the image

Shopify badges on collection pages come from two places: your theme, which in Shopify's own themes adds a Sale and a Sold out badge by itself, and theme code or an app for anything else. This guide shows what themes already put on product cards, how to add other badges to every card with no code, why a badge can show on the product page but not in the grid, and what to check when one does not appear.

Key takeaways

  • A product card is its own part of the theme, used in every area that lists several products.
  • A card has no selected variant, so it works from product-level data such as the lowest price.
  • Shopify themes add Sale and Sold out badges to product images on their own, with a position you set in the theme.
  • App badges are drawn over the card image by an app embed, which needs no theme code edits.

What Shopify themes show on product cards

Start with what your theme already does. Shopify's Help Center says: "Sale and Sold out badges are automatically added to your product images when you reduce the price or when the inventory count reaches 0." It adds that "You can adjust the position, shape, and color of your Sale and Sold out badges individually in your theme settings" (Shopify Help Center: theme settings). We found no other built-in badge type for products on that page.

The position depends on the theme. Shopify's page on customizing Dawn says that "When a product is sold out or on sale, a corresponding badge is displayed in the bottom left corner of the product card" (Shopify Help Center: customize Dawn). Shopify's Dawn theme code (version 16.2.0 on GitHub, read on 18 November 2026) offers all four corners, bottom left by default. Its Horizon theme code (version 4.5.0) offers three under "Position on cards": bottom left, top left and top right, with top left as the default.

So a theme gives you two messages, "Sale" and "Sold out", driven by the price and the stock count. For anything else (a free shipping note, a trust line, a deadline, a product sticker) you need either your own theme code or an app.

Why a badge shows on the product page but not on the collection page

The most common surprise is a badge that looks right on the product page and is missing from the collection grid, or the reverse. There are three reasons.

Cards are separate theme code

In a Shopify theme, the product page and the product card are usually rendered by different parts of the theme. Code you paste into the product page template, or an app block you add to the product information section, changes the product page only; the collection grid never runs it, and the reverse is also true. Our guide on how to add a badge to a Shopify product compares the ways to do it, from theme code to an app.

Cards have no selected variant

On a product page, the shopper picks a size or a color, and the page knows which variant is chosen. A card shows the product as a whole, before any choice. Shopify's Liquid reference describes the product's price as "The lowest price of any variants of the product" and its compare_at_price as "The lowest compare at price of any variants of the product", while selected_or_first_available_variant is "The currently selected or first available variant of the product" (Shopify Liquid reference: product object).

Example: a jacket whose small size is $50 and whose large size is $70. A card that reads the product price works from $50, the lowest; a product page can work from the size that is selected when the page loads. A badge that depends on the price (a sale percentage, a free shipping threshold) can therefore show on one surface and not on the other, and both are behaving correctly. In the app, the badge drawn on the product page's main image reads the same product-level prices as a card; only the Product Badges block reads the selected (or first available) variant.

Search results and the home page reuse cards

Shopify's Help Center says that "Product cards display information about your products in areas of your theme that list multiple products, such as collection templates, collection sections, and search results" (Shopify Help Center: theme settings). In practice one card design often serves the collection page, the search results page, a featured collection on the home page and a related products row. For a badge drawn on the card, Shopify search results badges and collection badges are the same problem: fix the card once and those areas follow.

Comparison of a product card and a product page: the card has no selected variant
Why the same badge can differ between the grid and the product page

Add Shopify badges on collection pages without code

Nileva Product Labels & Badges draws its badges with an app embed, the kind of theme extension Shopify's developer documentation describes for apps "that add floating or overlaid elements", naming "product image badge apps" as an example (Shopify developer docs: theme app extension configuration). Nothing is pasted into your theme files. The steps:

  1. In the app, open Badges and click Create badge. Pick a badge type, write the text, and choose a shape and colors.
  2. In the Products tab, leave "Show on" at All products, or pick a narrower target; targeting other than All products is part of Pro.
  3. Check the Active switch above the live preview, then click Save. A new badge opens with Active already on, so it goes live as soon as you save (once the embed in step 4 is on); turn it off first if you want a draft.
  4. Turn on the Nileva Product Badges app embed (Product Badges & Labels) in Online Store → Themes → Edit theme → App embeds (the icon in the sidebar): click its toggle, then Save (Shopify Help Center: apps in your theme). The Dashboard's Setup guide step "Show badges on your storefront" ticks itself once the embed is on in your published theme.

Shopify notes that "App embeds can be used with any theme version", while "App blocks can only be used with compatible themes" (same page). Badges over images and cards come from the embed, so they need no section that accepts app blocks. The optional "Product Badges" app block is different: you add it to the product page with Add block, it shows badges as a row next to the product information, and it reads your badges itself, so it works without the embed.

The editor's live preview has a "Preview page" select with Collection page, Product page and Search results, so you can see the badge on sample product cards before you save. The preview uses sample cards, not your theme, so check a real collection page afterwards.

Search results page with badges on three product cards
Search results reuse the same cards, so the same badges appear there

How the app finds product cards on your theme

Themes name their cards differently, so the embed looks first for the card layouts of Shopify's Horizon and Dawn themes, then for a table of other themes' card layouts (used only when it really matches the page), and then falls back to a generic rule. It attaches a badge only where a card links to a product page.

If your theme is not detected, the embed's settings have two fields for that case: "Custom card selector (advanced)" tells the app what a product card is on your theme, and "Custom media selector (advanced)" which element inside it holds the image. When you fill them in, they are tried before the built-in detection. A third field, "Custom PDP gallery selector (advanced)", does the same job for the product page's main image. Otherwise, ask support through the Dashboard's live chat or email card, with a link to a collection page where the badge is missing.

Where card badges never appear

The embed deliberately skips some areas that look like cards but are not shoppable cards. It never draws card badges:

  • inside the product page's own gallery and product information, where the main image has its own overlay;
  • in quick-add and product pop-up windows, or in a sticky add to cart bar.

The app embed keeps badges off the cart page on every theme and skips cart drawers built like Dawn's; drawers on other themes are untested, so open yours to check. Badges never show at checkout.

Which badges belong on a card

A card is small and the shopper is scanning, so the strongest card badges are short facts about the product as a whole. The table shows which types of the app can appear where.

BadgeCollection and search cardsHome page and related-product cardsProduct page main imageProduct Badges block
TrustYesYesYesYes
SaleYes, when the compare-at price is higher, or with the real discount on and the percentage Shopify accepted at your last saveYes, same ruleYesYes
Free shippingYes; with a threshold, only when the price reaches itYes, same ruleYesYes
CountdownYesYesYesYes
Image / Sticker (Pro)YesYesYes—
Reviews rating (Pro)Yes, when the rating data meets the minimumNoNoNo
Low stockNoNoNoYes

A dash: use image badges on the product image (on cards and on the product page), not in the Product Badges block.

The Reviews rating badge reads review data that the embed prints on collection pages and search results, so it shows on those cards and nowhere else. The embed prints that data for the first 50 products of the collection, or the first 50 search results, so check the later pages of a long collection. A Sale badge in "Auto from compare-at price" mode rounds to the nearest whole percent, so a $36 product with a $48 compare-at price shows "-25%" ($12 ÷ $48).

Table of badge types and the surfaces they appear on
Low stock lives in the product page block only; review ratings on collection and search cards only

Too many badges on a grid

Every badge whose rules match a product shows; there is no limit of one per type. That is useful on a product page and risky on a grid of twenty cards, where three chips per card cover a large share of the images. Badges placed in the same corner stack in one column rather than overlapping, but a full column still hides the product.

Some habits that keep a collection grid readable:

  • Give each corner one job, for example price messages in one corner and shipping or trust messages in another.
  • Keep card text to two or three words; save the long trust line for the product page.
  • Prefer one sale message: if your theme already shows its own Sale badge, decide whether you also want the app's before you add it.
  • Check the grid on a phone, where the card image is smallest.

For the bigger picture of badge types and when each makes sense, see our guide to Shopify product badges.

After you save, open one collection page, one search results page and your home page. Shopify collection page badges and search badges share the cards, so a badge missing from all three points at the embed, the badge's own settings or card detection; use the checklist below.

Troubleshooting card badges

Most "badge not showing" cases are one of these: the five checks of the app's Help page, plus two for cards.

CheckWhereWhat you should see
App embed on and savedTheme editor, App embedsProduct Badges & Labels switched on in the published theme
Badge Active, not DraftBadges listThe Status switch is on
Product matches "Show on" and is not excludedProducts tabThe product inside the target, and not picked under "Exclude products"
Inside its scheduleDisplay tabNow between the start and end of "Active dates" (store time zone); a Countdown set to Show "Ended" stays up
Badge type can show on cardsBadge typeNot Low stock; Reviews rating only on collection and search cards
Theme cards detectedEmbed settings, "Custom card selector (advanced)"A selector that matches your theme's card, if detection fails
Old page in the cacheBrowserA hard refresh shows the current page

If the badge appears on some cards and not others, look at the price rules first: a Sale badge needs a compare-at price higher than the price (unless the real discount is on and Shopify accepted its percentage at your last save), and a threshold Free shipping badge needs the product's lowest price to reach the amount.

Frequently asked questions

How do I show a badge on the Shopify collection page?

Your theme adds Sale and Sold out badges by itself, and you set their position in the theme settings. For other badges, edit the theme's card code or use an app that draws badges with an app embed, such as Product Labels & Badges.

Why does my badge show on the product page but not on collection pages?

The card is separate theme code from the product page, so code added to the product page does not reach it. It also has no selected variant: price-based badges read the lowest variant price.

Can badges show on search results?

Yes. In the app, the same embed that badges collection cards also badges the cards of the search results page. Check the predictive search drop-down (the suggestions under the search box) on your own theme.

Why don't low stock badges show on cards?

In the app, a low stock badge reads the tracked inventory of the selected (or first available) variant on the product page. It shows only in the Product Badges app block, never on product cards.

My theme isn't detected. What now?

Fill in "Custom card selector (advanced)" and "Custom media selector (advanced)" in the app embed's settings. If you are unsure what to type, contact support from the app's Dashboard.

Try it

Put badges on every product card your theme shows, with no code.

More to read

Style
Font