App reviews, troubleshooting, and recommendations
I'm working on an app recently, which is used to track the distributor of the order, so I need to get the order ID on the thank you page. How should I do this? This problem bothered me for a long time.
Solved! Go to the solution
This is an accepted solution.
You can get the order ID on the thank you page in JavaScript file by this variable "Shopify.checkout.order_id"
This is an accepted solution.
You can get the order ID on the thank you page in JavaScript file by this variable "Shopify.checkout.order_id"
Thank you very much for your answer
Shopify.checkout isn't available on many stores. Do you know what could be the possible reason for this? Also, any alternatives to get order ID if checkout object isn't accessible?
Same problem I am also facing please share if you found any solution i am using
Shopify.checkout.order_id
to get the order id from thanks page
Thanks you
try this
{{checkout.order.id | json}}
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