Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
hi Guys, i have tried adding order notes to my checkout / order confirmation page by adding the following into my additional scripts but it doesn't seem to run. I could have sworn it use to run a year ago. For Reference I am using the dawn theme
<script>
{% if order.note != blank %}
Shopify.Checkout.OrderStatus.addContentBox(
'<h2>Card Message</h2>',
'<p>{{ order.note }} </p>'
)
{% endif %}
</script>
Hi @BotRaymond
Please remove <script> and </script> from your code to check it if it works.
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
It seems the OrderStatus.addContextBox api is now broken and no longer works
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024