On the checkout page, I want to show a price comparison for both purchase options. I tried using the api to retrieve the relative price. However, don’t place the compare at price above the line-item price.
Hey @suresh10
Are you able to provide a rough mockup of your ideal state?

I want like this without discount code. compare at from product level.
Have any extension targets for above line item price
Here’s one way to do it - but it won’t look exactly the way you had suggested. There are apparently some UI limitations:
For those who’s still looking for a solution. Here is quick video on how to get this done : https://www.loom.com/share/c92a0fd28c1e4930869e38fade707357?sid=24ebfe5f-362b-4492-bca2-084165a5136a
Here is the app that will allow you to do this: https://apps.shopify.com/checkout-extension-upsells
Thanks!
Shopify Plus only, unfortunately…
https://shopify.dev/docs/apps/build/checkout/display-custom-data?extension=react
Shopify Plus only, unfortunately…
https://shopify.dev/docs/apps/build/checkout/display-custom-data?extension=react
Hi suresh10!
A quick update on another solution for everyone still striving with the problem.
We’ve added a new feature in Alpha Sale — the app now shows the compare-at price right in checkout, and it works on all Shopify plans (not just Plus). No code needed, just a toggle.
Happy to answer any questions if anyone wants to try it out.


