← All articles

Compare-at price on Shopify: how sale prices show (and why they sometimes don't)

Short answer

On Shopify, the compare-at price is the original price shown crossed out next to a lower sale price. Enter the original in a variant's Compare-at price field and the sale price in Price. It only shows when Compare-at price is higher than Price, your theme decides how it looks, checkout shows only the sale price, and you clear the field completely to end the sale.

Key takeaways
  • Shopify shows a sale price only when a variant's Compare-at price is higher than its Price.
  • A compare-at price of $0.00 isn't the same as an empty field; to remove a sale price, clear Compare-at price entirely.
  • If variants of one product have inconsistent compare-at prices, the crossed-out price can show on the product page but not on collection pages.
  • Checkout shows only the sale price, and automatic or code discounts don't show as crossed-out prices on product pages by default.
  • In Shopify Markets, a percentage price adjustment applies to compare-at prices by default, and a fixed market price overrides the prices set in the admin.

The Shopify compare-at price is the original price your store shows crossed out next to a lower sale price. You enter the original in a variant's Compare-at price field and the sale price in Price, and your theme displays both, usually with a Sale badge. It only works when Compare-at price is higher than Price. Checkout charges and shows only the sale price, and the sale ends only when you clear the field completely.

That sounds simple, and for one product it is. The trouble starts with many products, variants priced differently, international markets, and the cleanup after the sale. This guide covers all of it.

What is the compare-at price on Shopify?

It's a per-variant field that holds the price you're comparing against, normally the regular price before a sale. Shopify treats a variant as on sale when its Compare-at price is higher than its Price.

Every variant has two price fields that matter here:

  • Price: what the shopper pays. During a sale, this is the sale price.
  • Compare-at price: the original price, shown for comparison.

What shoppers see depends on your theme. Product and collection pages can show both prices, and most themes strike through the compare-at price. Shopify's theme settings add a Sale badge automatically when you reduce the price, and you can change the badge's position, shape and color under the theme's Badges settings. For the badge's wording, percent-off labels and fixes when it won't appear, see how to show, change or fix the Shopify sale badge. At checkout, only the sale price appears.

For theme developers, the Liquid variant.compare_at_price value is a number in the currency's subunit (cents for USD), and it can be empty. That's why a blank field and $0.00 behave differently, which comes up again below.

How do you set a compare-at price?

Open the product, enter the original price as Compare-at price and the sale price as Price, then save.

  1. From your Shopify admin, go to Products.
  2. Click the product you want to edit.
  3. To edit one variant, in the Variants section, click XX variants and open the variant.
  4. In the Price section, click Compare at and enter the original price in Compare-at price.
  5. Enter the new, lower price in Price.
  6. Click Save.

On the Shopify mobile app, open the product (or variant), tap the price area, fill Compare-at price and Price, then tap Save.

Check two pages afterward: the product page and a collection that contains the product. If the crossed-out price shows on one but not the other, jump to the troubleshooting table below.

How do you set compare-at prices on many products at once?

Use the bulk editor for dozens of variants and a CSV import for hundreds. Shopify's help docs don't describe a built-in percent-off tool for either, so you work out the sale prices yourself.

Bulk editor:

  1. Go to Products, select the products, and click Bulk edit.
  2. Add the Price and Compare-at price columns.
  3. Copy each regular price into Compare-at price, then type the sale price into Price.
  4. Save.

CSV: export your products, and in a spreadsheet copy the Price column into Compare-at price, then calculate the new Price (for 25% off, multiply by 0.75 and round). Import with Overwrite products with matching handles turned on. Under the overwrite rules, a blank column overwrites the existing value as blank, so trim the file to the columns you mean to change and keep the original export. That original file is also your revert.

For the full walkthrough, including the CSV columns you must keep so an import doesn't delete variants, see how to bulk edit prices in Shopify.

Decide on rounding before you start. 25% off $39.99 is $29.9925, and a spreadsheet will happily give you $29.99 on some rows and $30.00 on others if formulas differ.

Why is my compare-at price not showing?

Usually because Compare-at price isn't higher than Price, or because the variants of one product disagree. Work through these in order:

Symptom Likely cause Fix
No crossed-out price anywhere Compare-at price is equal to or lower than Price Make Compare-at price the higher of the two
Shows on the product page, not on collection pages Variants have inconsistent compare-at prices Give every variant a compare-at price higher than its price, or leave the conflicting ones blank, then save
A product with no sale still looks odd Compare-at price is $0.00 instead of empty Clear the field entirely; $0.00 isn't the same as empty
Correct in your main market, wrong abroad A fixed price in a market catalog overrides admin prices and compare-at prices Set the market's compare-at price in its catalog or by CSV
Discount applied but no strikethrough on the product page Discounts aren't shown as strikethrough on product or collection pages by default Use compare-at prices, or a discount app that displays savings
Prices right in the admin, no badge or strikethrough on the store Your theme doesn't show sale prices in that section Check the theme's settings and documentation

The collection-page case trips up a lot of stores. A T-shirt with sizes S to XL where only XL has a compare-at price can show the sale on its own page and look full price in the collection grid. Either put the whole product on sale or make sure the variants that aren't on sale have a blank compare-at price.

Compare-at price vs discounts: which shows the sale?

A compare-at price changes the product's price itself, so the sale shows everywhere the product does. A discount changes the cart, so on the storefront the product keeps its regular price unless an app displays the savings.

Compare-at price Automatic discount Discount code
Crossed-out price on product and collection pages Yes, if your theme shows it No, by default No, by default
Crossed-out price at checkout Shows only the sale price Yes Yes
Shopper has to do anything No No Enter the code
Starts and ends on a schedule No built-in schedule Yes, with Active dates Yes, with Active dates
Where you set it Each variant Discounts Discounts

Be careful when you combine them. A 20% discount on a product whose Price is already reduced from $50.00 to $40.00 takes 20% off $40.00, so the shopper pays $32.00: 36% below the original. For the timing side of a sale, see how to schedule a sale on Shopify.

How do compare-at prices work with Shopify Markets?

By default, a market catalog's percentage price adjustment applies to compare-at prices too, so a sale in your main market carries over at the adjusted level. Fixed market prices are different: they override the prices and compare-at prices you set in the admin.

  • Percentage adjustment. In the catalog's Pricing section, the adjustment includes compare-at prices unless you turn off Include compare-at price. You can also set a specific compare-at price for individual products in the catalog.
  • Fixed prices. A fixed price in a market wins over the admin price. If you put a product on sale in the admin but the market has a fixed price, shoppers there won't see the sale.
  • CSV. Fixed sale prices for international markets can't be created in the admin; import them. Exports include Price / [Market] and Compare At Price / [Market] columns for markets that qualify, and a market compare-at price needs a fixed price in that market.

If you sell in several markets, test the sale by previewing the store in each one before launch.

Is it OK to show any compare-at price?

Only if it's a real former price. In the US, the FTC's guide on former price comparisons says the former price should be the one at which the item was openly offered "on a regular basis for a reasonably substantial period of time."

In practice: set Compare-at price to what you actually charged before the sale, not a number picked to make the discount look bigger, and clear it when the sale ends instead of leaving a permanent "sale". Rules differ by country, so if you sell abroad, check the rules for those markets. This isn't legal advice.

How to end a sale and clear compare-at prices

Put the regular price back in Price and clear Compare-at price completely. Don't type 0.

Product During the sale: Price During the sale: Compare-at price After: Price After: Compare-at price
Wool scarf $36.00 $48.00 $48.00 (empty)
Leather card case $29.99 $39.99 $39.99 (empty)
Ceramic mug, set of 2 $24.00 $32.00 $32.00 (empty)

With the bulk editor, add both columns, paste the original prices back into Price and delete the Compare-at price values. With CSV, re-import your pre-sale export. Then spot-check a few products and a collection page. Don't clear compare-at prices on products that were already marked down before the sale started; note those before you begin.

If the sale also used a sale theme, switch it back at the same time; scheduling a Shopify theme to publish covers that.

How Theme Scheduler helps

The hard parts of compare-at prices are the timing and the cleanup: someone edits prices at midnight, and someone has to put them back. Theme Scheduler does both on a schedule. On the Plus plan ($12.99/month), you pick products, whole or only chosen variants, and take a percentage or amount off with the original price shown as the compare-at price. The same schedule can add sale tags, change images and set the metafields your theme uses for badges, and menus can switch too. Times are in your store's timezone, everything switches back on its own when the sale ends, and you choose whether edits made during the sale are kept.

If you only run one or two sales a year on a handful of products, the bulk editor is fine. Theme Scheduler is made by NewClick, not Shopify; the Professional plan ($6.95/month, 14-day free trial) covers theme schedules only.

Frequently asked questions

What is the compare-at price on Shopify? It's the original price of a product or variant, shown next to a lower price to mark it as on sale. You enter the original in Compare-at price and the sale price in Price. Your theme decides how it looks, usually crossed out with a Sale badge, and checkout shows only the sale price.

Why is my compare-at price not showing on Shopify? The most common cause is that Compare-at price isn't higher than Price, so Shopify doesn't treat it as a sale. Other causes: variants of the product have inconsistent compare-at prices (which hides it on collection pages), a fixed market price overrides it, or your theme doesn't display sale prices in that spot.

How do I remove a compare-at price in Shopify? Open the product or variant, clear the Compare-at price field completely and save. Don't enter 0: a compare-at price of $0.00 isn't the same as an empty field. For many products, use the bulk editor with the Compare-at price column, or import a CSV with that column left blank in overwrite mode.

Does a Shopify discount show as a crossed-out price? Not on product or collection pages by default. Automatic discounts and discount codes always show a crossed-out price at checkout, but showing discount savings as strikethrough prices on product and collection pages takes a third-party app or a Shopify Partner. A compare-at price is what shows the crossed-out price on the storefront.

Can I set different compare-at prices for different markets? Yes. A market catalog's percentage price adjustment applies to compare-at prices by default, and you can turn off Include compare-at price to set them yourself. Fixed sale prices for international markets can't be created in the admin; import them by CSV using the market's Price and compare-at price columns.

Sources

  1. Shopify Help Center: Setting sale prices for products
  2. Shopify Help Center: Market catalog price adjustments
  3. Shopify Help Center: Using CSV files to import and export products
  4. Shopify Help Center: Badges
  5. Shopify Dev: Liquid variant object
  6. 16 CFR 233.1: Former price comparisons

Set up your sale once

Theme Scheduler publishes your sale theme on time and, on Plus, puts products on sale and swaps menus, then switches everything back when the sale ends.

Get Theme Scheduler