StockSweep StockSweep | Help Center

Revert Discount (undo safely)

How to undo a discount, what gets restored in Shopify, and what to expect if items already sold.

Reverting restores original pricing in Shopify for items that still have an active discount.

Estimated time: 4–6 minutes

What you'll accomplish

  • Safely undo one or many discounts in a single action
  • Understand exactly what gets restored in Shopify (and what does not)
  • Know the impact on sale collections, tags, and attribution billing
  • Verify results in Shopify and in Discount History

When to revert

  • You discounted the wrong items
  • The discount percentage was too aggressive and you want to try a smaller one
  • You want to switch strategies (e.g., from discount to bundling)
  • You accidentally included seasonal or protected inventory that should not be on sale
  • A promotion has ended and you want to restore full pricing

How to revert

  1. Open Discount History from the main menu
  2. Filter to Active — this shows only items with a currently live discount
  3. Select one or more entries using checkboxes (shift+click for range selection)
  4. Click Revert
  5. A confirmation modal appears summarizing which items will be reverted and what the restored prices will be
  6. Click Confirm to proceed

What happens in Shopify after revert

StockSweep restores the original pricing fields per variant:

Field Before revert (discounted) After revert (restored)
price Discounted price Original price
compare_at_price Original price (for strikethrough) Cleared (empty)

The storefront immediately stops showing the "Was $X, Now $Y" strikethrough.

Tag cleanup (if auto-tagging is enabled)

If you have auto-tagging enabled with the "remove on revert" cleanup rule:

  • The configured tag (default: "clearance") is removed from the product
  • The product is automatically removed from the sale collection (because the Smart Collection rule no longer matches)
  • This happens immediately as part of the revert operation

If tag cleanup is disabled, the tag remains on the product and you need to remove it manually via Shopify Admin.

Attribution billing impact

When a discount is reverted, the 7-day attribution window closes immediately. Any future sales of that item will NOT be attributed to StockSweep and will not generate usage charges, even if the sale occurs within 7 days of the original discount application. This protects you from being charged for sales on items you stopped discounting.

What revert does NOT undo

  • Sold units remain sold. If a customer purchased the item at the discounted price before you reverted, that transaction stands. Reverting only affects remaining unsold inventory.
  • Discount History entries are preserved. The entry changes from Active to Reverted — it is not deleted. This gives you a complete audit trail.
  • Attribution charges already created. If a sale was already attributed and charged before the revert, that charge is not reversed (the sale genuinely happened at the discounted price).

Verify (what success looks like)

After reverting:

  1. Shopify Admin: pick one reverted product → click the variant → confirm price is back to the original and compare_at_price is empty (no strikethrough)
  2. Discount History: the item shows status Reverted with a timestamp
  3. Storefront: the product page shows the full original price with no "Was / Now" display
  4. Sale Collection (if auto-tagging + remove on revert): the product no longer appears in the clearance collection and the "clearance" tag is removed

Troubleshooting (symptom-first)

"Revert succeeded but storefront still shows the discounted price"

Likely cause: storefront caching (Shopify CDN, theme-level caching, or app caching). Fix: hard refresh the product page (Ctrl+Shift+R). Test in an incognito/private browser window. Check Shopify Admin — that is the source of truth. How to confirm: Shopify Admin shows the original price restored and compare_at_price cleared.

"Revert succeeded but the product is still in the sale collection"

Likely cause: tag cleanup is disabled in your collection settings, or the tag was applied manually outside of StockSweep. Fix: check Settings → Sale Collections and confirm "Remove tag on revert" is enabled. If the tag was added manually, remove it from the product in Shopify Admin. How to confirm: the product no longer has the "clearance" tag and is removed from the Smart Collection.

"Revert is grayed out / not clickable"

Likely cause: the selected items do not have status Active (they may already be Sold or Reverted), or a batch operation is still processing. Fix: filter Discount History to Active status only. Wait for any in-progress operations to complete. How to confirm: the Revert button becomes active when you select items with Active status.

"I reverted but want to re-apply a different discount"

Fix: after reverting, the item returns to the Dead Stock Table with status Active. You can select it and apply a new discount with a different percentage through the normal workflow. How to confirm: the item appears in the Dead Stock Table and can be selected for a new discount.

FAQ

Can I revert a single item from a batch?

Yes. In Discount History, each item in a batch is listed individually. You can select and revert specific items without affecting the rest of the batch.

What happens if I revert an item that already sold?

The item's status in Discount History is already Sold, not Active. You cannot revert a Sold item because the pricing change already served its purpose.

Does reverting affect my billing?

Reverting immediately closes the 7-day attribution window for that item. No future sales of the item will generate usage charges.