Skupad

Skupad › Guides › Shopify compare-at price in a CSV: putting products on sale, and taking them off

Shopify compare-at price in a CSV: putting products on sale, and taking them off

Short answer. In a Shopify product CSV, put the sale price in Price and the original price in Compare-at price. Shopify shows the sale only when the compare-at price is higher than the price. To take a product off sale in bulk, leave Compare-at price blank and import with “Overwrite products with matching handles” ticked — not 0 or 0.00, which Shopify says is not the same as empty.

The rule in Shopify’s words

Shopify’s sale-pricing page sets the compare-at price to “the original price of the product” and says it must be higher than the price “to display the sale price”. Its CSV page asks for the monetary value only, with no currency symbol, for example 9.99. Two consequences are easy to miss:

Worked example: 20% off, five products

A made-up store exports seven variants, then in a spreadsheet sets Price = ROUND(original × 0.8, 2) and copies the original into Compare-at price. 12 × 0.8 = 9.60 and 18 × 0.8 = 14.40. Along the way it ends an old sale on the oak board and makes three typical mistakes.

SKUBeforePrice afterCompare-at afterWhat Skupad reports
MUG-BLUE201620Changed (sale)
MUG-SAND2016(blank)Needs check: only 1 of 2 variants on sale
TOWEL-S129.6012Changed (sale)
TOWEL-L1814.4018Changed (sale)
BOARD-0145 (compare-at 55)55(blank)Possible clearing: sale ended
TOTE-0124240.00Needs check: 0.00 is not blank
CANDLE-01161616Needs check: not above price

Skupad pairs each variant with its row in the export and lists 14 findings: 10 changes, 1 possible clearing and 3 that need a check. The Price movements panel is the quick sanity test for a sale: four prices down exactly 20.0%, and one up — the oak board going back to full price.

Price movements panel: 1 up, 4 down, 5 by 20% or more; Columns changed: Compare-at price 6, Price 5
Price movements for the sale file: four variants down 20.0%, the oak board up 22.2% as its old sale ends. “Columns changed” confirms only Price and Compare-at price moved.

Open this example in Skupad →

Three compare-at values that show no sale

Needs check findings: some variants have no compare-at price, compare-at price of 0, compare-at price not above price
The three Needs check findings. None blocks the import — Shopify accepts the values — but none of them gives the customer a visible sale.

Open this example in Skupad →

1. Compare-at equal to (or below) the price

The candle has Price 16 and Compare-at 16. Shopify displays a sale only when compare-at is higher, so nothing changes on the storefront. In a spreadsheet this usually means the price formula was not applied to that row.

2. Compare-at of 0.00

Shopify’s troubleshooting note is explicit: “A compare-at price of $0.00 USD isn’t the same as an empty compare-at price.” If a formula like IF(on_sale, original, 0) fills the column, switch the 0 for an empty string.

3. Only some variants on sale

The mug’s blue variant has a compare-at price, the sand variant does not. Shopify says a product page shows each variant correctly, but a collection page shows “the most general information that applies to all variants” — so when variants are inconsistent (some empty, some 0.00, or different values), the collection page does not show the product as on sale.

Ending a sale in bulk

The oak board was on sale at 45 with a compare-at of 55. To end it the file puts Price back to 55 and leaves Compare-at price blank. With overwrite on, Shopify’s CSV rules say a blank cell in an included column “is overwritten as blank” — which is exactly what you want here, and why Skupad shows it as Possible clearing: it is a deliberate clear, but the same rule wipes values you did not mean to touch when a column is blank by accident.

The reverse also holds: if you leave the Compare-at price column out of the file entirely, every existing compare-at price stays as it is.

Importing only what changed

Minimal import CSV preview: 5 products, 7 rows, 6 columns kept
The minimal import file for the sale: 5 products, 7 rows and 6 columns — URL handle, Title, the option columns, Price and Compare-at price. Nothing else in the store is touched on import.

Open this example in Skupad →

Needs check findings do not keep a product out of the file; fix them in the spreadsheet first if they are mistakes, then compare again.

Markets with their own prices

If a market has fixed prices, they override the prices and compare-at prices set in the admin. Shopify’s CSV page says a fixed Compare-at price / [Market] needs a fixed Price / [Market] as well, and its sale page says fixed sale prices for international markets can be created by importing a CSV. Skupad reads both spellings of those market columns and applies the same plain-decimal check.

Next step

Sources