Promo card

A big photo, the name and the price on the theme's own tag, with an ends-in countdown and a QR code: the limited-time offer or featured item of a menu board.

Live card

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

Category: Food and drink. Tags: Restaurants and cafes, Stores, Prices and rates, Countdowns and timers, QR codes.

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
currencystring"$"maxLength: 3
unitstring""maxLength: 8Shown after the price, for example /lb or each.
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
headlinestring"Smoky double stack"maxLength: 120The item or offer, large.
sublinestring"Two beef patties, melted cheddar and our house sauce."maxLength: 200
badgestring"Limited time"maxLength: 24
pricenumber, nullnullminimum: 0Leave empty for a promo without a price.
wasnumber, nullnullminimum: 0The old price, struck through; the saving is worked out.
imagestring""maxLength: 200The photo: a project media reference (media:<id>). Empty shows the theme's tile.
endsstring, nullnullISO 8601 with an offset, or local YYYY-MM-DDTHH:MM in timeZone. Shows an ends-in countdown.
qrstring""maxLength: 2000The address the QR code opens. Empty shows no code.
ctastring"Scan to order"maxLength: 80The line beside the QR code.

Example params

{
  "theme": "neomustard"
}
screenrig card create --type promo --major 1 --file params.json --context-file context.md

Example data

{
  "headline": "Smoky double stack",
  "subline": "Two beef patties, melted cheddar and our house sauce.",
  "badge": "Limited time",
  "price": null,
  "was": null,
  "image": "",
  "ends": null,
  "qr": "",
  "cta": "Scan to order"
}

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.