Combo meals card

The numbered meal deals of a quick-service board: photo, what is in each combo, the price with the saving, the upsize step and the calories.

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.

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"Combo meals"maxLength: 40
currencystring"$"maxLength: 3
decimalsnumber, string"auto""auto", 0, 1, 2auto uses whole numbers when every price is whole.
perPageinteger0minimum: 0; maximum: 8Combos on a page. 0 sets itself: four across in landscape, a column in portrait.
pageSecondsnumber10minimum: 5; maximum: 120How long a page stays when the combos do not fit one page.
footnotestring""maxLength: 120A line along the foot, for example Prices include tax.

Dynamic properties

NameTypeDefaultValues and limitsDescription
combosarray[{"name":"Smoky stack","items":["Double smoky burger","Large fries","Drink"],"price":10.99,"was":13.47,"upsize":{"label":"Large","add":1.2},"kcal":1240,"badge":"Popular"},{"name":"Crispy chicken","items":["Crispy chicken sandwich","Fries","Drink"],"price":9.49,"was":11.97,"upsize":{"label":"Large","add":1.2},"kcal":1080},{"name":"Garden bowl","items":["Grain bowl","Fruit cup","Drink"],"price":11.25,"was":13.5,"upsize":{"label":"Large","add":1.5},"kcal":760},{"name":"Little one","items":["Mini burger","Apple slices","Juice box"],"price":6.25,"was":7.75,"kcal":520}]maxItems: 24The combos, in board order.
combos[].numberstringmaxLength: 4The number on the board. Empty counts 1, 2, 3.
combos[].namestringminLength: 1; maxLength: 120; Required
combos[].itemsarraymaxItems: 6What is in the combo, one line each.
combos[].pricenumber, nullminimum: 0The combo price.
combos[].wasnumber, nullminimum: 0The same items bought one by one; the saving is worked out.
combos[].upsizeobject, nulladditionalProperties: falseThe upsize step, for example Large +1.20.
combos[].upsize.labelstringmaxLength: 24
combos[].upsize.addnumber, nullminimum: 0
combos[].kcalnumber, nullminimum: 0
combos[].imagestringmaxLength: 200A project media reference (media:<id>). Empty shows the theme's tile with a food icon.
combos[].badgestringmaxLength: 16A short mark on the photo, for example Popular.
combos[].soldOutbooleanfalse

Example params

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

Example data

{
  "combos": [
    {
      "name": "Smoky stack",
      "items": [
        "Double smoky burger",
        "Large fries",
        "Drink"
      ],
      "price": 10.99,
      "was": 13.47,
      "upsize": {
        "label": "Large",
        "add": 1.2
      },
      "kcal": 1240,
      "badge": "Popular"
    },
    {
      "name": "Crispy chicken",
      "items": [
        "Crispy chicken sandwich",
        "Fries",
        "Drink"
      ],
      "price": 9.49,
      "was": 11.97,
      "upsize": {
        "label": "Large",
        "add": 1.2
      },
      "kcal": 1080
    },
    {
      "name": "Garden bowl",
      "items": [
        "Grain bowl",
        "Fruit cup",
        "Drink"
      ],
      "price": 11.25,
      "was": 13.5,
      "upsize": {
        "label": "Large",
        "add": 1.5
      },
      "kcal": 760
    },
    {
      "name": "Little one",
      "items": [
        "Mini burger",
        "Apple slices",
        "Juice box"
      ],
      "price": 6.25,
      "was": 7.75,
      "kcal": 520
    }
  ]
}

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.