All things Shopify and commerce
Hi, I am looking for a way to suggest one specific item at checkout. I would rather not use a third party app. If someone could help me figure out if there is a way I can code this into my website, that would be fantastic. Just for clarification as I've seen many ways to show multiple products, or products like ones in their cart. I just want to show one specific item at checkout to suggest to shoppers.
Thanks so much
Hello @katieshaye ,
We can't display anything additional in the checkout page if we don't have Shopify plus.
We can display a product or message or something in an order status/thank-you page.
In additional script add like this
<script>
Shopify.Checkout.OrderStatus.addContentBox(
'<a class="img_con" target="_blank" href="https://www.google.com/"><img src="Your-image-url" alt="JH" /></a> <style>.content-box__row .img_con { border: solid 1px #ddd; display: table-cell; vertical-align: middle; padding: 20px; } .content-box__row .img_con:hover { border: solid 2px #ddd; }</style>',
)
</script>
Thanks
You can code a checkout UI extension to recommend a product in your checkout: https://shopify.dev/docs/api/checkout-ui-extensions
User | RANK |
---|---|
45 | |
44 | |
44 | |
28 | |
21 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023