We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Order ID Number on Thank You Page

Order ID Number on Thank You Page

exoneon
Tourist
43 0 3

Hi,

 

I am trying to render order id or order number on Thank You Page, but it does not render the variable and instead it shows variable.

I have tried many variables to render:

{{ checkout.order.id }}
{{ order_number }}

 

order id 1.png

exoneon_0-1750903864295.png

 

Replies 2 (2)
exoneon
Tourist
43 0 3
So how can we achieve the objective of displaying Order Id on thank you
page? or until that order id is not generated yet?

Channelwill
Shopify Partner
52 2 2

Hi @exoneon,


Yes, you can display the order number on the thank you page, but it depends where you’re trying to insert the variable.

 

Shopify doesn’t render all Liquid objects in every part of the checkout or thank-you page, especially if you’re using the new Checkout Editor blocks (like in your screenshot). In this case, it looks like you’re trying to place the variable into a static text block, which doesn’t support Liquid variables natively — that’s why it just displays the raw {{ }} instead of outputting the value.

 

What you can try instead:

  • Use a Checkout Extensibility-compatible app block or custom app embed that allows dynamic content.

  • If you’re using Shopify Plus, you can use checkout.liquid or add a custom extension to access more dynamic variables like {{ order_number }}.

  • Alternatively, you might be able to include the order number in post-purchase messaging using tools like ParcelPanel Order Tracking, which provides a branded tracking page and supports showing dynamic order info (including order number, status, and shipping updates) after the purchase.

Screenshot 2025-06-26 at 14.55.16.png

Let me know if you’re on Shopify Plus or looking for a workaround, happy to guide you further depending on your setup!

The tools your e-commerce brand needs to grow and succeed.