Merchants want discount codes to apply to the “compare at price” (original price) rather than the already-discounted “sale price,” preventing customers from stacking discounts and receiving deeper markdowns than intended.
Current Shopify Behavior:
When a product shows both a sale price and compare at price, applying a discount code at checkout further reduces the sale price
Example: Product with 2,480 compare at price, 2,108 sale price (15% off). Adding a 15% discount code creates a total 30% discount
Shopify’s Position:
The compare at price field is designed only to display markdowns, not control discount code calculations
A Shopify representative suggested using product collections to control which items discount codes apply to, or excluding sale items entirely from discount eligibility
Status & Workarounds:
No native solution exists as of 2024, though feedback has been shared with developers
One merchant created duplicate product pages without compare at prices for discount code campaigns
Another user referenced an alternative technical approach involving custom code
Multiple participants express frustration that this basic e-commerce requirement remains unsupported
The discussion remains unresolved with no official feature implementation.
Summarized with AI on November 2.
AI used: claude-sonnet-4-5-20250929.
Hi,
Currently, We used discount apply option individual product.
For example: T-Shirt - 15% off. Sale Price: 2,108.00 Compare at price: 2,480.00
Suppose, created the discount code 15% code in discount section and apply on checkout section. Totally 30% discount applied to that product. So, solve this issue apply the discount code to compare at price instead of sale price.
I understand that you want to use the compare at price option to showcase the discounted price on a product AFTER a customer uses the discount code. This is not how the compare at price field is designed to work, so you will need to find another solution.
The compare at price field is designed to showcase “markdowns” on products and will trigger the sale display (if your theme has one) on the product listing on the live site. Example:
This is the native functionality of the compare at price and how it works. If you wanted to change that, you may be able to do so by altering the theme file code to see compare at prices differently but I am not a theme developer so I can’t say for sure if that would work.
I would recommend providing messaging on the product collections or product pages instead to let customers know that they can save when using the discount code instead of using the compare at price field to showcase that potential discount.
So, I have already added the 15% discount individual product. Customer applied the discount code. It’s again applied additional discount to discount price(2108). For solving this issue, we need to applied the discount code to compare at price(2480) on checkout page.
Any possibility apply the discount code to compare at price on checkout page?
Same here…we want to have compare at price sales on some items, and we also have discount codes floating around everywhere. We dont want discount codes being used to purchase marked down sales items also. Is it possible to only apply discount codes to the actual compare at price, not to the sales price? Shouldn’t be too hard.
Thank you for joining the conversation here. I appreciate all your feedback on this topic. While this is still not something that can be done without any customizations to your store, I wanted to let everyone know that your feedback is being shared with our developers for consideration.
@whitewater you specifically mentioned “We don’t want discount codes being used to purchase marked down sales items.” While we don’t directly support the ability to apply a discount code to a compare at price, you have full control over what products a discount code can apply to. I do recommend making collections of products for specific discount codes to better organize and control where discounts can be applied.
Still no good solution to this yet. Agree that it’s completely ridiculous and an absolutely basic requirement for most stores. So far, I’ve had to create alternative product pages for my products without a compare are price, and have discounts linked via popups or emails go to that product page. It’s easy for me as a single product store but will quickly break as the catalog expands.