Order confirmation card

The customer-facing till display: 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.

Category: Retail. Tags: Stores, Restaurants and cafes, Prices and rates.

Previews

Order confirmation
Canvas
Order confirmation
Corner
Order confirmation
Chip

Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

Card views, themes and publishing. Browse the gallery.

Data and privacy

This card uses its configured properties and live card data.

Properties

For theme, background, accent and position, see Common properties.

Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.

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.

Canvas example

Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.

{
  "id": "order-confirmation",
  "primitive": "card",
  "card": "order-confirmation",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "order-confirmation-main"
}

Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.

curl --request PUT "https://api.screenrig.ai/api/card-data/order-confirmation-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"lines":[]}}'