Order confirmation and Order status

The pages after paying and for checking an order, and the values they read.

Order confirmation#

The page right after paying. Order confirmation and Order status share one default and each can have its own code. Surface confirmation.

Order status#

The page customers open to check an order: payment, fulfillment, shipments and tracking, with the actions they can take. It reads the same values as Order confirmation, with shipments filled in. Surface status.

What the code must keep#

The Cancel order form, <section class="confirmation-post-total confirmation-cancel" id="cancel" data-order-cancel>. Keep it exactly as the default has it.

Keep {{ page.CancelNotice }}, and the document's </head> and </body>. See the rules for all store pages.

Values#

Every value the page's code can read. [] marks a list item: read it inside {% for item in list %} as item.Name. A value that is empty in a particular case prints nothing; test it with {% if %} first.

Value

Type

Description

page.AccountLabel

Text

page.AccountURL

URL

The order in a signed-in owner's account.

page.ActionURL

URL

The order status page, the target of the page's main action.

page.AddressLines

List

The delivery address, one line each.

page.Answers

List

The shopper's answers to checkout questions.

page.Answers[].Label

Text

The question.

page.Answers[].Value

Text

The answer.

page.Background

Object

The background image layer.

page.Background.Blur

Text

off or soft.

page.Background.Dim

Number

How much the tint covers the image, 0 to 80 percent.

page.Background.Ink

Text

light, dark or empty: draws a band of the tint under the header from a dim of 40.

page.Background.Position

Text

center, top or bottom.

page.Background.Srcset

Text

A srcset of the image in several widths.

page.Background.Tint

Text

black or white.

page.Background.URL

URL

The image.

page.BillingLabel

Text

page.BillingLines

List

The billing address, one line each.

page.BillingValue

Text

Shown instead of the lines when billing is the delivery address.

page.Body

Text

The text under the heading.

page.BrandingStyles

HTML

A <style> element with the page appearance: colours, font and corners as --co-* CSS variables. Required.

page.BrandName

Text

The brand name from the checkout appearance, or the store name when none is set.

page.Cancel

Object

The customer's Cancel order form (order status). Platform-owned.

page.Cancel.Action

URL

Where the form posts.

page.Cancel.Confirm

Text

The confirmation question.

page.Cancel.CSRF

Text

The form's security token.

page.Cancel.Heading

Text

page.Cancel.Intro

Text

page.Cancel.ReasonLabel

Text

page.Cancel.ReasonPlaceholder

Text

page.Cancel.ReasonRequired

Boolean

page.Cancel.Reasons

List

The cancellation reasons.

page.Cancel.Reasons[].Label

Text

page.Cancel.Reasons[].Value

Text

page.Cancel.RefundNote

Text

page.Cancel.Show

Boolean

True when the customer can cancel.

page.Cancel.Submit

Text

page.Cancel.Until

Text

Until when the order can be cancelled.

page.CancelNotice

Text

The result of the last cancel. Required.

page.ColumnLabels

Object

Headings of the items table.

page.ColumnLabels.Discount

Text

page.ColumnLabels.Item

Text

page.ColumnLabels.Quantity

Text

page.ColumnLabels.Tax

Text

page.ColumnLabels.Total

Text

page.ColumnLabels.UnitPrice

Text

page.ContactLabel

Text

page.ContactValues

List

The customer's email and phone.

page.ContinueShopping

Text

Label of the link back to the store.

page.DeliveryLabel

Text

page.DesignProofLabel

Text

page.Dir

Text

ltr or rtl, the writing direction of the language. Set it as the document's dir.

page.DutyNote

Text

Who pays import duties.

page.FulfillmentLabel

Text

page.Fulfillments

List

Shipments with their tracking (order status).

page.Fulfillments[].ActionLabel

Text

page.Fulfillments[].ActionURL

URL

The Delivery portal, when this shipment's failed delivery or return waits for the customer.

page.Fulfillments[].Cancelled

Boolean

page.Fulfillments[].Carrier

Text

page.Fulfillments[].Events

List

Carrier checkpoints, newest first.

page.Fulfillments[].Events[].Description

Text

page.Fulfillments[].Events[].Label

Text

page.Fulfillments[].Events[].Location

Text

page.Fulfillments[].Events[].When

Text

page.Fulfillments[].Items

List

Items in the shipment.

page.Fulfillments[].Items[].ImageURL

URL

page.Fulfillments[].Items[].Quantity

Number

page.Fulfillments[].Items[].Title

Text

page.Fulfillments[].Items[].VariantTitle

Text

page.Fulfillments[].Label

Text

Overrides FulfillmentLabel for this row.

page.Fulfillments[].Milestones

List

The shipment journey steps.

page.Fulfillments[].Milestones[].Label

Text

page.Fulfillments[].Milestones[].When

Text

page.Fulfillments[].PickupCode

Text

The code to collect a pickup order.

page.Fulfillments[].StatusLabel

Text

page.Fulfillments[].TrackingNumber

Text

page.Fulfillments[].TrackingURL

URL

page.FulfillmentStatusLabel

Text

Label of the fulfillment status.

page.FulfillmentStatusValue

Text

The fulfillment status, such as Shipped.

page.HasBackground

Boolean

True when the page has a background image.

page.HasPickupBlock

Boolean

True for a pickup order.

page.Heading

Text

The page heading.

page.Items

List

The order lines.

page.Items[].ComparePrice

Text

The price before a discount, to strike through.

page.Items[].DiscountTotal

Text

The line's discount.

page.Items[].FulfillmentSummary

Text

How much of the line is shipped, worded.

page.Items[].Gift

Object

A Gift Card line's recipient. Empty for other lines.

page.Items[].Gift.Email

Text

page.Items[].Gift.Message

Text

page.Items[].Gift.Name

Text

page.Items[].Gift.PhoneDisplay

Text

page.Items[].Gift.SendsAt

Text

When the Gift Card is sent.

page.Items[].GroupCount

Text

The number of items in the group, worded.

page.Items[].Grouped

Boolean

True for a group of items sold together.

page.Items[].GroupMembers

List

The group's items.

page.Items[].GroupMembers[].ImageURL

URL

page.Items[].GroupMembers[].Quantity

Number

page.Items[].GroupMore

Number

How many more group items there are than shown.

page.Items[].ImageURL

URL

The line image.

page.Items[].LineTotal

Text

The line total, formatted.

page.Items[].Links

List

The line's app links, such as downloads.

page.Items[].Links[].Label

Text

page.Items[].Links[].URL

URL

page.Items[].ProofURL

URL

The line's design proof.

page.Items[].Properties

List

The line properties shoppers may see (the store's definitions make them shopper-readable or shopper-writable), in the definitions' order.

page.Items[].Properties[].Name

Text

The property's name, in the shopper's language when the merchant translated it.

page.Items[].Properties[].Value

Text

The value as the shopper reads it: a choice's label, Yes or No, a date in their language, or the text as written.

page.Items[].Quantity

Number

The quantity.

page.Items[].RefundedSummary

Text

How much of the line is refunded, worded.

page.Items[].TaxLabel

Text

The line's tax label.

page.Items[].TaxTotal

Text

The line's tax.

page.Items[].Title

Text

The product title.

page.Items[].UnitAmount

Text

The price of one, formatted, for the Unit price column.

page.Items[].UnitPrice

Text

The price of one, worded ("₹599.40 each"), when the store shows prices per item.

page.Items[].VariantTitle

Text

The variant title.

page.ItemsCount

Text

The number of items, worded.

page.Locale

Text

The shopper's language as a locale code, such as en or de-CH. Set it as the document's lang.

page.LogoURL

URL

The checkout appearance logo. Empty when the store has no logo.

page.NoShipmentsNotice

Text

Shown when nothing is shipped yet.

page.OrderDate

Text

The order date, in the shopper's language.

page.OrderNumber

Text

The order number.

page.ParcelsHeading

Text

Heading of the parcels column.

page.PaymentLabel

Text

page.PaymentLines

List

The order's payments one by one.

page.PaymentLines[].Date

Text

page.PaymentLines[].Label

Text

The payment method.

page.PaymentLines[].Reference

Text

The payment reference.

page.PaymentLines[].ReferenceLabel

Text

page.PaymentLines[].Status

Text

page.PaymentLines[].Value

Text

The amount.

page.PaymentRows

List

The payment breakdown rows.

page.PaymentRows[].Breakdown

Boolean

True for gift card, Store Credit and other payment rows, which PaymentLines replace when present.

page.PaymentRows[].Discount

Boolean

True for a discount row.

page.PaymentRows[].Label

Text

page.PaymentRows[].Value

Text

page.PaymentStatusLabel

Text

Label of the payment status.

page.PaymentStatusValue

Text

The payment status, such as Paid.

page.PaymentValue

Text

The payment method.

page.PickupBlock

Object

Where to collect a pickup order.

page.PickupBlock.AddressLines

List

Its address, one line each.

page.PickupBlock.Details

List

Opening hours and instructions, one line each.

page.PickupBlock.Heading

Text

Heading of the block.

page.PickupBlock.Name

Text

The pickup location.

page.PickupBlock.Phone

Text

Its phone number.

page.PickupCodeLabel

Text

page.PortalActions

List

Actions the customer can take on the order, such as answering a failed delivery or returning items.

page.PortalActions[].Danger

Boolean

True for an action that undoes something, such as cancelling.

page.PortalActions[].Label

Text

The action label.

page.PortalActions[].URL

URL

Where it leads.

page.PostTotalRows

List

Rows under the total.

page.PostTotalRows[].Label

Text

page.PostTotalRows[].Value

Text

page.PriceRows

List

The rows above the total: subtotal, discounts, shipping, fees, tax and duties.

page.PriceRows[].CustomerText

Text

A checkout fee's text the shopper entered.

page.PriceRows[].Discount

Boolean

True for a discount row.

page.PriceRows[].Indented

Boolean

True for a row that belongs to the one above it.

page.PriceRows[].Label

Text

page.PriceRows[].Note

Text

A note under the row.

page.PriceRows[].TaxRows

List

The taxes in the row.

page.PriceRows[].TaxRows[].Label

Text

page.PriceRows[].TaxRows[].Value

Text

page.PriceRows[].Value

Text

page.PrioritizeTracking

Boolean

True when the order is shipped, so tracking leads the page.

page.Recovery

Boolean

True on a recovery view, which must show no private order details: keep them inside {% if page.Recovery == false %}.

page.RefundLines

List

The order's refunds one by one.

page.RefundLines[].Date

Text

page.RefundLines[].Label

Text

page.RefundLines[].Reason

Text

page.RefundLines[].Reference

Text

The refund reference.

page.RefundLines[].ReferenceLabel

Text

page.RefundLines[].Status

Text

page.RefundLines[].Value

Text

The amount.

page.Remaining

List

Items not shipped yet.

page.Remaining[].ImageURL

URL

page.Remaining[].Quantity

Number

page.Remaining[].Title

Text

page.Remaining[].VariantTitle

Text

page.RemainingLabel

Text

page.RootURL

URL

The storefront home page (/). # in the editor preview.

page.SaveInformation

Object

A guest's offer to save their information into an account.

page.SaveInformation.Body

Text

page.SaveInformation.CodeLabel

Text

page.SaveInformation.CodeURL

URL

Where the send-code form posts.

page.SaveInformation.CSRF

Text

The form's security token.

page.SaveInformation.Error

Text

page.SaveInformation.Heading

Text

page.SaveInformation.Notice

Text

page.SaveInformation.ResendLabel

Text

page.SaveInformation.SendLabel

Text

page.SaveInformation.Show

Boolean

page.SaveInformation.Stage

Text

offer, code or saved.

page.SaveInformation.VerifyLabel

Text

page.SaveInformation.VerifyURL

URL

Where the verify form posts.

page.ShowBrandName

Boolean

True when the appearance shows the brand name.

page.ShowLogo

Boolean

True when the appearance shows the logo.

page.StatusLabel

Text

Label of the merchant's own order status.

page.StatusValue

Text

The merchant's own order status (such as In production). Empty without one.

page.SummaryLabel

Text

Heading of the order summary.

page.ThankYouBlock

HTML

The checkout's Thank you page block (order confirmation only).

page.TotalLabel

Text

page.TotalValue

Text

The order total, formatted.

page.TrackingLabel

Text

page.TrackLabel

Text

page.TrackParcelLabel

Text

page.TrackURL

URL

The order status page.