Let’s say that you’d like to create a packing slip that shows the line items of many different orders, instead of having a separate packing slip for each order. Or let’s say you’d like to create a printout that shows all the selected products on a single page, instead of having a page for each selected product.
In order to create this kind of template, you need to select the option “This template combines items into a single dataset” when creating the template. When you select this option, all the products of all the selected orders will be combined into the data field {products}. You can use either the Table component or Container component in your template to iterate over all the line items or product variants.
To see an example template with a product summary, have a look at the template named “Combined packing slip”.