How to show the old price crossed out in a Shopify sale (compare at price)
Updated
Short answer: in Shopify, a product shows its old price crossed out when its compare at price is higher than its price. For a sale, lower the price and set the compare at price to the old price. Most themes then show the old price struck through next to the sale price, and a “Sale” label.
By hand, for one product
- In Shopify, open Products and the product.
- Under Pricing, set Price to the sale price, for example 48.00.
- Set Compare-at price to the old price, 60.00.
- Save. The product shows
$60.00$48.00 in most themes.
For products with variants, each variant has its own price and compare at price.
For many products at once
Select the products in Products, click Bulk edit, and add the Compare-at price column. Or export a CSV, change the prices there and import it. Either way, keep a copy of the old prices: when the sale ends you have to put the price back and clear the compare at price yourself.
With Promo Campaign Manager
- Click Create promo, choose the products.
- Under New prices, choose One rule, for example “Decrease the price by a percentage”, 20.
- For the compare at price, choose Change the compare at price to the current price (sale): the old price becomes the crossed-out one.
- Under When, set the start and tick Revert to original prices later? to set the end.
- Click Review and schedule, then Confirm.
When the sale ends, the price and the compare at price go back to exactly what they were, including an empty compare at price. See Setting sale prices.
Good to know
- The compare at price must be higher than the price, or themes won’t show it as a sale.
- Some places have rules about “was” prices (for example the EU asks that the reference price is the lowest price of the last 30 days). Check what applies where you sell.