How do I show entry badges on my collections grid?
Quick answer
In the Shopify theme editor, open a collection page, click a product card, click Add block and pick Entries Badge under Apps. That works on most themes released after 2022, such as Dawn. Older themes need a small code change so product cards accept app blocks. The badge shows each product's entries from your giveaway rules.
This guide shows you how to add the Giveaway Entries Badge to your Shopify theme's collection grid, so entry counts appear on product cards.

Compatibility note: this integration is designed for standard Shopify themes and their native product grids. Third-party page builders such as GemPages, PageFly or Shogun often render their own product grids, which may not be compatible with this integration. If your builder's grid doesn't support it, you can still show giveaway entries on Shopify product pages.
There are two ways to add the badge to your product cards, depending on your theme.
Method A: app blocks (recommended for modern themes)
Use this if your theme supports app blocks in product cards (for example Dawn, Refresh, Sense, Craft, Studio, Horizon and most themes released after 2022).
App blocks let you add the badge in the theme editor without editing code:
- Go to Shopify Admin > Online Store > Themes
- Click Customize on your theme
- In the theme editor, open a Collection page
- Click a Product Card in the collection grid
- Click Add block
- Under the Apps section, select Entries Badge
- Configure your giveaway settings and styling
- Click Save


Note: if you don't see the option to add blocks to product cards, your theme doesn't support app blocks on product cards. Use Method B instead.
Method B: manual integration (for themes without app block support)
Use this if your theme doesn't support app blocks in product cards (for example Spotlight, Debut, Brooklyn and most themes released before 2022).
To make your theme support app blocks on product cards:
- Go to Shopify Admin > Online Store > Themes
- Click Actions > Edit code
- Find your collection product grid file (common names below)
- Edit the file to allow app blocks
Common product grid files to look for:
sections/main-collection-product-grid.liquidsections/collection-template.liquidsections/featured-collection.liquidsnippets/product-card.liquidsnippets/card-product.liquid
Step 1: add app blocks to the schema
Scroll to the bottom of your file to find the {% schema %} section. Add this inside the schema JSON:
"blocks": [
{
"type": "@app"
}
]
Important: add commas where needed. The Shopify editor highlights errors if the JSON is invalid.
Example schema structure:
{% schema %}
{
"name": "Product Grid",
"settings": [...],
"blocks": [
{
"type": "@app"
}
]
}
{% endschema %}Step 2: pass the section variable to the product card snippet
In your product grid section file, find where the product card snippet is rendered. Add section: section to the render statement so the snippet can access app blocks.
Example: if your code looks like this:
{% render 'card-product', card_product: product %}Update it to:
{% render 'card-product', card_product: product, section: section %}Note: the snippet name may vary by theme (for example product-card, card-product or product-grid-item).

Step 3: add the rendering code
Open the product card snippet, find where you want the badge (usually near the product price or title), and add this code:
{%- comment -%}Render app blocks with product context{%- endcomment -%}
{%- if section.blocks.size > 0 -%}
{%- for block in section.blocks -%}
{%- case block.type -%}
{%- when '@app' -%}
{%- if card_product and card_product.id -%}
<div class="app-block-product-wrapper"
data-product-id="{{ card_product.id }}"
data-product-handle="{{ card_product.handle }}"
data-variant-id="{{ card_product.selected_or_first_available_variant.id }}"
data-product-price="{{ card_product.selected_or_first_available_variant.price }}">
{%- render block -%}
</div>
{%- endif -%}
{%- endcase -%}
{%- endfor -%}
{%- endif -%}
Note: the product variable might have a different name in your theme (for example card_product or product_item). Check your theme file and adjust.
After saving, you can add the Entries Badge app block in the theme editor.

Important: every theme has a slightly different file structure and variable names. If you're not comfortable editing theme code, contact Shopify support for theme-specific guidance.
Test your integration
- Go to your Shopify storefront
- Open a Collection page
- You should see the badge on each product card in the grid
- The badge displays entry counts based on your giveaway rules
Why isn't the badge showing on my collection grid?
- Make sure you added the app block in the theme editor
- Check that your giveaway is active and not expired
- Check the app block is enabled on the Collection page template
- For Method B: make sure the wrapper code and schema were added correctly
Summary
- Method A (modern themes): add the app block directly in the theme editor
- Method B (older themes): edit your theme code to enable app blocks in product cards
- Configure your badge settings in the theme editor
- Test on a collection page to check the badge appears correctly
- Publish to your live theme when you're ready
Next, add a giveaway entry counter to the Shopify cart so shoppers see their total before checkout.
Done
That's it! Your collection grid now shows giveaway entry counts on product cards.
People also ask
Which themes support app blocks on product cards?
Dawn, Refresh, Sense, Craft, Studio, Horizon and most themes released after 2022. Older themes like Debut or Brooklyn need Method B. On any theme you can show giveaway entries on Shopify product pages.
Does the collections badge work with GemPages, PageFly or Shogun?
Often not, because these builders render their own product grids. Use the product page badge instead. See how to show giveaway entries on Shopify product pages.
How is the number on each badge calculated?
From the product price and your giveaway's purchase rules. See how purchase-based giveaway entries work.
The badge isn't showing on my collection page. What should I check?
Confirm the app block is added and saved on the collection template and the giveaway is active. See why your giveaway isn't showing up.
Still stuck?
Our support team is available 24/7 and always replies. Send us a message and we'll help you sort it out.