Show the cart as staff add items and light the newest entry. Give the total prominence, with subtotal, discount, tax and tip, then show the payment prompt. Once the customer pays, show a thank-you with the order number.
Live card
Category: Retail. Tags: Stores, Restaurants and cafes, Prices and rates.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Your order" | maxLength: 30 | |
status | string | "open" | "open", "paying", "paid" | open shows the cart, paying adds the payment prompt, paid shows the thank-you. |
orderNumber | string | "" | maxLength: 12 | |
currency | string | "$" | maxLength: 4 | The currency symbol shown before amounts. |
decimals | integer | 2 | 0, 2 | 0 shows whole amounts (for yen or won). |
discount | number | 0 | minimum: 0 | An order-level discount in major units, on top of line discounts. |
discountLabel | string | "" | maxLength: 30 | Names the order discount, for example Loyalty 10%. |
subtotal | number | minimum: 0 | Overrides the sum of the lines. | |
tax | number | minimum: 0 | The tax amount; the Tax row shows only when it is given. | |
taxLabel | string | "" | maxLength: 20 | |
tip | number | 0 | minimum: 0 | |
total | number | minimum: 0 | Overrides the total the card works out (subtotal - discounts + tax + tip). | |
welcome | string | "" | maxLength: 40 | The idle greeting. Empty reads Welcome. |
welcomeNote | string | "" | maxLength: 100 | |
payPrompt | string | "" | maxLength: 50 | Empty reads Tap, insert or swipe to pay. |
thanks | string | "" | maxLength: 40 | Empty reads Thank you. |
paidNote | string | "" | maxLength: 100 | A line under the thank-you, for example where the receipt went. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
lines | array | [] | maxItems: 60 | |
lines[].id | string | "" | maxLength: 40 | Keys the line, so a line already shown does not animate again. |
lines[].qty | integer | 1 | minimum: 1; maximum: 999 | |
lines[].name | string | minLength: 1; maxLength: 60; Required | ||
lines[].mods | string or array | "" | anyOf: [{"type":"string","maxLength":80},{"type":"array","maxItems":8,"items":{"type":"string","maxLength":30}}] | |
lines[].price | number | 0 | minimum: 0 | The unit price in major units (12.50). A line with no price and no discount reads Free. |
lines[].discount | number | 0 | minimum: 0 | An amount off this line, in major units. |
lines[].addedAt | string | "" | maxLength: 40 | ISO instant this line was added; anchors its Primetime slide. |
paidAt | string | "" | maxLength: 40 | ISO instant at which payment was approved; anchors the Primetime check reveal. |
updatedAt | string | "" | maxLength: 40 | ISO instant of the latest cart update. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type order-confirmation --major 1 --file params.json --context-file context.md
Example data
{
"lines": [],
"paidAt": "",
"updatedAt": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.