For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
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?
Scott | Developer Advocate @ Shopify
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:
https://x.com/gilgNYC/status/1732907687820526030?s=20
Shopify Plus only, unfortunately...
https://shopify.dev/docs/apps/build/checkout/display-custom-data?extension=react
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!
We custom Shopify themes and apps
Shopify Plus only, unfortunately...
https://shopify.dev/docs/apps/build/checkout/display-custom-data?extension=react