Quick Start: Best Discount Badge
The simplest way to show a discount badge using themax_reward_percent or max_reward_cents scalar metafields.
- Preview
- Code

Best Discount with Title
Show both the discount value and title usingmax_reward_discount:
- Code
Sales Badges
Simple Percentage Badge
- Preview
- Code

Pricing Display
Crossed-Out Original Price
- Preview
- Code

Volume Pricing Table
- Preview
- Code

Discount Codes
Discount Kit Live surfaces both automatic discounts (applied at checkout when conditions are met) and code-based discounts (the shopper enters a code). Themethod and code fields let you render the right UI for each.
Render a Code Chip with Copy-to-Clipboard
For code-based discounts, show the code with a copy button instead of an “applied automatically” badge.Hide a Code If It’s Already Applied
Once a shopper has the code in their cart, the chip is just noise. Checkcart.discount_applications to detect already-applied codes and hide the chip accordingly.
cart.discount_applications is a Shopify-native array of every discount currently affecting the cart. Each entry has a title (for automatics) or a code (for DiscountCodeApplication entries). For code discounts you compare against application.code.
The
, wrappers around each code prevent partial matches: e.g. SALE shouldn’t match SUMMERSALE10. The comparison is downcased on both sides because Shopify treats discount codes case-insensitively at checkout.Mix: Auto-Applied vs Code-Entry Badge
Render different UI depending on how the discount is redeemed:Collection Banners
Simple Collection Promo
- Preview
- Code

Next Steps
Data reference
Complete field documentation
Introduction
Learn about Discount Kit Live