How do I show sale badges and compare‑at prices in Shopify?
Show Sale Badges Using Compare-At Prices
In Shopify, sale badges and strikethrough prices appear when you set a Compare-at price higher than the regular Price. This method is different from discount codes. Most modern themes automatically display:
- Crossed-out original price
- New sale price
- Sale badge on product and collection pages
Method 1: Set Compare-At Price for a Simple Product (No Variants)
- Go to Shopify Admin → Products.
- Click the product you want to put on sale.
- In the Pricing section:
- Enter the sale price in the Price field.
- Enter the original price in the Compare-at price field.
- Ensure the Compare-at price is higher than the Price.
- Click Save.
Example:
Price: $10
Compare-at price: $30
Storefront display: $30 $10 + Sale badge
Method 2: Set Compare-At Price for Individual Variants (Right Panel)
This method works best when you want different sale prices for specific sizes or colors.
- Go to Shopify Admin → Products.
- Select the product with variants.
- Scroll to the Variants section.
- Click a specific variant.
- In the right-side panel:
- Set the Price (sale price).
- Enter the Compare-at price (original price).
- Click Save.
Best for: Editing one or a few variants while viewing inventory and cost details.
Method 3: Bulk Edit Variants for One Product
Use this when applying the same sale to multiple variants.
- Open the product in Products.
- Select the variants you want to edit.
- Click Bulk edit.
- Add columns for Price and Compare-at price.
- Update values and click Save.
Method 4: Bulk Edit Multiple Products
Ideal for store-wide or collection-wide sales.
- Go to Shopify Admin → Products.
- Select multiple products.
- Click Bulk edit.
- Add Price and Compare-at price columns.
- Update values and save.
Important: Collection Page Sale Display Rules
For a product to show as “On Sale” on collection pages, variant pricing must be consistent.
Correct Setup
- All variants have Compare-at price higher than Price.
- OR only selected variants have Compare-at price, and others are completely blank.
Incorrect Setup (May Hide Sale on Collection Pages)
- Some variants have Compare-at price set to $0.00.
- Mixed blank, $0.00, and different compare-at values.
- Inconsistent compare-at pricing across variants.
Important: $0.00 is NOT the same as blank. Delete the value completely to remove it.
Where Sale Badges Appear
- Product pages: Shows strikethrough + sale badge.
- Collection pages: Shows badge if variant pricing is consistent.
- Checkout: Only shows the final sale price (no strikethrough).
Customize Sale Badge Appearance
- Go to Online Store → Themes.
- Click Customize.
- Look for settings related to:
- Sale badge text
- Badge color
- Position (top-left, top-right, etc.)
- Sale price styling
- Save changes.
Modern Online Store 2.0 themes include built-in badge controls. Older themes may require custom code.
Sale Prices vs Discount Codes
| Feature | Sale Prices (Compare-at) | Discount Codes | Automatic Discounts |
|---|---|---|---|
| Display on product page | Yes (built-in) | Requires app | Requires app |
| Display on collection page | Yes | Requires app | Requires app |
| Display at checkout | Shows sale price only | Shows discount breakdown | Shows discount breakdown |
| Setup location | Product pricing section | Discounts section | Discounts section |
Troubleshooting
Sale Not Showing on Collection Page
- Ensure Compare-at price is higher than Price.
- Remove any $0.00 compare-at values.
- Keep variant pricing consistent.
Sale Badge Not Appearing
- Check theme settings.
- Update to latest theme version.
- Confirm compare-at price is properly set.
Wrong Price Showing
- Check international market pricing overrides.
- Review pricing apps or scripts.
- Clear cache and test again.
Best Practices
- Always set Compare-at price higher than the sale price.
- Keep variant pricing clean and consistent.
- Use bulk edit for large sales.
- Clear compare-at prices completely after a sale ends.
- Test both product and collection pages after updates.
Related Answers
Still need help?
Talk to our Shopify experts
We've handled GDPR/CCPA compliance for dozens of EU & US Shopify stores.
