property Modifier.max_per_order

Cap on how many times this modifier may apply within one order, or null for no cap. Set to 1 ("charge once per order") so a question-answer surcharge such as a delivery fee is charged per booking, not per ticket. Stock for such a modifier then counts orders. Answer triggers only.

Type

number | null

Usage

import { type Modifier } from "doc.ts";