Order confirmation card

Show the cart as items are added, with the newest lit, a large total with subtotal, discount, tax and tip, a payment prompt, and a thank-you with the order number once paid.

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

This card is drawn in your browser by the same code the Players run, with sample data.

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

NameTypeDefaultValues and limitsDescription
titlestring"Your order"maxLength: 30
statusstring"open""open", "paying", "paid"open shows the cart, paying adds the payment prompt, paid shows the thank-you.
orderNumberstring""maxLength: 12
currencystring"$"maxLength: 4The currency symbol shown before amounts.
decimalsinteger20, 20 shows whole amounts (for yen or won).
discountnumber0minimum: 0An order-level discount in major units, on top of line discounts.
discountLabelstring""maxLength: 30Names the order discount, for example Loyalty 10%.
subtotalnumberminimum: 0Overrides the sum of the lines.
taxnumberminimum: 0The tax amount; the Tax row shows only when it is given.
taxLabelstring""maxLength: 20
tipnumber0minimum: 0
totalnumberminimum: 0Overrides the total the card works out (subtotal - discounts + tax + tip).
welcomestring""maxLength: 40The idle greeting. Empty reads Welcome.
welcomeNotestring""maxLength: 100
payPromptstring""maxLength: 50Empty reads Tap, insert or swipe to pay.
thanksstring""maxLength: 40Empty reads Thank you.
paidNotestring""maxLength: 100A line under the thank-you, for example where the receipt went.

Dynamic properties

NameTypeDefaultValues and limitsDescription
linesarray[]maxItems: 60
lines[].idstring""maxLength: 40Keys the line, so a line already shown does not animate again.
lines[].qtyinteger1minimum: 1; maximum: 999
lines[].namestringminLength: 1; maxLength: 60; Required
lines[].modsstring or array""anyOf: [{"type":"string","maxLength":80},{"type":"array","maxItems":8,"items":{"type":"string","maxLength":30}}]
lines[].pricenumber0minimum: 0The unit price in major units (12.50). A line with no price and no discount reads Free.
lines[].discountnumber0minimum: 0An amount off this line, in major units.
lines[].addedAtstring""maxLength: 40ISO instant this line was added; anchors its Primetime slide.
paidAtstring""maxLength: 40ISO instant at which payment was approved; anchors the Primetime check reveal.
updatedAtstring""maxLength: 40ISO 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.