How to apply coupon code discount to compare at price on checkout?

maniellowww
New Member
2 0 0

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.

Replies 2 (2)
Shay
Shopify Staff
513 85 99

Hi @maniellowww 

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:

19-59-93602-47041

 

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. 

Shay | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

maniellowww
New Member
2 0 0

Hi @Shay ,
I know that this is native functionality of the compare at price and how it works. Our client product following like screenshot.

maniellowww_0-1634804051677.png

I have created the 15% coupon code in admin side, Please refer the screenshot.

maniellowww_1-1634804264283.png

I'm applied the discount code to on checkout page. Please refer the screenshot.

maniellowww_3-1634804502176.png


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?