Some parameters contain a set of objects — e.g., all items in an order — rather than a single value. In your template, you can add a block for each of these kinds of objects:Documentation Index
Fetch the complete documentation index at: https://help.maestra.io/llms.txt
Use this file to discover all available pages before exploring further.
item is an arbitrary name attributed to one order item so that you can use its parameters. Inside the for...end for block you can access a particular order item. In addition, this block can include an arbitrary HTML code, conditions, and even nested loops.
If the example above contains three order items, the output will be:
Price: 5
Price: 10
Price: 25Also, you can use the “set” keyword in
@{ set a = a + 1 } to add a counter.