Guides / MRP vs sale price: which one does a Shopify discount code use?

MRP vs sale price: which one does a Shopify discount code use?

By the MRP Discount team · Updated 14 November 2026

The sale price. A Shopify discount code always works out its percentage on the price the customer is charged, and the MRP (compare-at price) is only the crossed-out number. So on a product marked down from ₹2,499 to ₹1,999, a 40% code gives away 52% of the MRP.

The example

Normal Shopify codeWith MRP Discount
MRP (compare-at price)₹2,499₹2,499
Sale price₹1,999₹1,999
40% is taken fromthe sale pricethe MRP
Customer pays₹1,199₹1,499
Real discount off MRP52%40%

These are example prices. The gap on your store depends on your own MRP and sale price.

Why Shopify does it this way

In Shopify, the MRP usually sits in the compare-at price field. Shopify only uses that field to show the crossed-out price. Discount codes, automatic discounts and checkout all run on the selling price. So any percentage code goes deeper than you planned on a product that is already marked down.

Why it matters

  • Margin. The extra discount comes straight out of each order.
  • Ad returns. Return on ad spend is revenue divided by ad cost. If each order keeps more revenue for the same ad cost, the return is higher.
  • Trust. The number in your ad is the number the customer gets off the MRP on the label.

Three ways to make the code use the MRP

  1. Remove the sale prices before the sale. It works, but you edit every product before the sale and again after it, and shoppers see your prices jump.
  2. Lower the code's percentage. You do a sum for each product, and one code is wrong as soon as your markdowns differ.
  3. Use a code that reads the compare-at price. This is what MRP Discount does. We make it. You set the percentage, the code takes it off the MRP, and your store keeps showing the same prices. Here are the steps.

Questions store owners ask

Does a Shopify discount code use the compare-at price?

No. Shopify's built-in discount codes work out the percentage on the selling price. The compare-at price is only shown as the crossed-out price.

Why does my 40% off code give more than 40% off the MRP?

Because the 40% comes off your sale price, after your own markdown. With an MRP of ₹2,499 and a sale price of ₹1,999, the customer pays ₹1,199. That is 52% off the MRP.

How do I check which price my code uses?

Add one product to the cart and apply the code. If the total is the sale price minus your percentage, the code uses the sale price. If it is the MRP minus your percentage, it uses the MRP.

Does this matter if my products have no sale price?

No. If the selling price is the MRP, a normal Shopify code already takes its percentage off the MRP. The gap only appears on products that show a crossed-out MRP and a lower sale price.

Related answers

More guides

Run your next sale on the MRP.

Install it, make one code, and check it in your own checkout. The first 7 days are free.