Delivery portal#
At /delivery: answering a failed delivery attempt. The three portals share one default and read the same values; page.Kind says which one renders. Surface delivery.
Returned parcel portal#
At /returned-shipment: choosing what happens to a parcel on its way back or already back. The three portals share one default and read the same values; page.Kind says which one renders. Surface delivery_returned.
Undelivered parcel portal#
At /undelivered: choosing what happens to a parcel lost or damaged on its way. The three portals share one default and read the same values; page.Kind says which one renders. Surface delivery_undelivered.
States#
The step the page is on is page.State. The editor previews each state with sample data.
State |
The page |
|---|---|
|
Find an order by its number and email or phone. |
|
Enter the one-time code sent to the email or phone. |
|
A signed-in customer's orders. |
|
The order, with what the customer can answer. |
What the code must keep#
The lookup, code, orders and answer controls, <section class="delivery-controls" data-delivery-controls>. Keep it exactly as the default has it.
Keep {{ page.BrandingStyles }}, {{ page.PreviewNotice }} and {{ page.Heading }}, 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 |
|---|---|---|
|
Text |
The label of the link to find another order. |
|
URL |
Opens the order lookup again, to find another order. |
|
HTML |
A |
|
Text |
The brand name from the checkout appearance, or the store name when none is set. |
|
Object |
The one-time code form ( |
|
URL |
Where the form posts. |
|
Text |
Label of the code field. |
|
Text |
The email or phone number the code was sent to. |
|
Text |
The form's security token. |
|
Text |
The order number being verified. |
|
Text |
Label of the button. |
|
Text |
|
|
Text |
What went wrong with the last step, in the shopper's language. Empty otherwise. |
|
Text |
The page heading. Required. |
|
Text |
The text under the heading. Empty when the current step has none. |
|
Text |
|
|
Text |
The shopper's language as a locale code, such as |
|
URL |
The checkout appearance logo. Empty when the store has no logo. |
|
Object |
The order lookup form ( |
|
URL |
Where the form posts. |
|
Text |
The email or phone number the shopper entered. |
|
Text |
Label of the email or phone field. |
|
Text |
The form's security token. |
|
Text |
Label of the order number field. |
|
Text |
The order number the shopper entered. |
|
Text |
Label of the button. |
|
Text |
A confirmation of what just happened, such as a code being sent. Empty otherwise. |
|
Object |
The order found ( |
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Object |
Confirming a cash on delivery order, when the store asked for it. |
|
URL |
|
|
Text |
The answer given, worded. |
|
Text |
|
|
Text |
|
|
Text |
The deadline, worded. |
|
Text |
|
|
Text |
|
|
Boolean |
True while the customer can answer. |
|
Boolean |
|
|
Text |
|
|
Text |
The forms' security token. |
|
Text |
|
|
List |
Failed delivery attempts the customer can answer. |
|
URL |
Where the answer posts. |
|
Text |
|
|
Text |
|
|
Text |
The customer's answer, worded, once given. |
|
Text |
The deadline to answer, worded. |
|
Boolean |
True when the courier takes new address lines. |
|
Boolean |
True when the courier takes a note. |
|
Boolean |
True when the courier takes a new phone number. |
|
Boolean |
|
|
Boolean |
True when the customer can ask to send it back. |
|
Text |
The answer chosen: such as |
|
List |
The days the courier can try again. |
|
Text |
The date, worded. |
|
Text |
The date, |
|
Text |
How many attempts failed, worded. |
|
Text |
Where the answer stands with the courier. |
|
Text |
The shipment, worded with its number and tracking number. |
|
Text |
|
|
List |
The items in the shipment, worded one per line. |
|
Text |
A note for the courier. |
|
Boolean |
True while the customer can answer. |
|
Text |
|
|
Text |
The chosen day to try again. |
|
List |
The items in the shipment. |
|
URL |
|
|
Number |
|
|
Text |
|
|
Text |
|
|
URL |
|
|
Text |
|
|
Boolean |
True while the answer waits on the courier. |
|
Text |
The order, worded with its number. |
|
Number |
Most characters in an address line. |
|
Text |
|
|
Number |
Most characters in a note. |
|
Text |
Shown when nothing on the order waits for the customer. |
|
Text |
|
|
Number |
Most characters in a phone number. |
|
Text |
|
|
Text |
|
|
List |
Parcels coming back or back, or lost or damaged on the way, that the customer chooses for. |
|
URL |
Where the choice posts. |
|
List |
What the customer can choose: send it again, or a refund to a method. |
|
Text |
|
|
Text |
|
|
Text |
The refund method, for a refund. |
|
Text |
The deadline to choose, worded. |
|
Text |
The shipment, worded. |
|
Text |
|
|
List |
The items, worded one per line. |
|
List |
The items. |
|
URL |
|
|
Number |
|
|
Text |
|
|
Text |
|
|
Text |
Where the parcel is, worded. |
|
Text |
|
|
URL |
The order status page. |
|
Text |
|
|
Object |
The order's items and totals, as on the order status page. Empty when there are no items. |
|
Text |
Who pays import duties, when the order has any. |
|
Text |
Heading of the summary. |
|
List |
The order lines. |
|
Text |
The price before a discount, to strike through. Empty without one. |
|
Text |
The line's discount, formatted. Empty without one. |
|
URL |
The line image. |
|
Text |
The line total, formatted in the order currency. |
|
List |
Personalization and other line properties the shopper entered. |
|
Text |
The property name. |
|
Text |
The property value. |
|
Number |
The quantity. |
|
Text |
The tax label of the line. |
|
Text |
The line's tax, formatted. |
|
Text |
The product title. |
|
Text |
The price of one, worded (such as "₹599.40 each"). Empty when the store does not show prices per item. |
|
Text |
The variant title. |
|
List |
Rows under the total, such as amounts paid and refunded. |
|
Text |
The row label. |
|
Text |
The amount, formatted. |
|
List |
The rows above the total: subtotal, discounts, shipping, fees, tax and duties. |
|
Text |
A checkout fee's text the shopper entered, such as a gift message. |
|
Boolean |
True for a row that belongs to the one above it. |
|
Text |
The row label. |
|
Text |
A note under the row, such as how a fee is worked out. |
|
Text |
The amount, formatted. |
|
Text |
Label of the total. |
|
Text |
The order total, formatted. |
|
Object |
A signed-in customer's orders ( |
|
Text |
Shown when the customer has no order this page can help with. |
|
Text |
Heading of the order list. |
|
List |
The orders. |
|
Text |
The order date, in the shopper's language. |
|
Text |
The order, worded with its number. |
|
URL |
Opens the order on this page. |
|
Text |
Label of the link that opens an order. |
|
Object |
The brand half of the page. |
|
Text |
A |
|
URL |
The order status page's background image, when the store set one. Empty otherwise. |
|
List |
The store's checkout footer policies, as links. |
|
Text |
The policy title. |
|
URL |
The policy page. |
|
Text |
Inline CSS custom properties for the brand half: |
|
HTML |
A |
|
Text |
In the editor preview, a notice that the page shows sample data. Empty on the storefront. Required. |
|
URL |
The storefront home page ( |
|
Text |
The step the page is on. See the states above. |