Skip to main content

Template settings

A template's settings page Each template has a settings page for everything apart from how the document looks: its name, what it renders, its document type and language, who gets it and how it reaches customers. To open it, go to Templates and click the template’s name, or choose Settings from the row’s ··· menu. Changes on this page are saved with the save bar: click Save to keep them or Discard to undo them. They apply straight away, even when Require publishing is on.

The buttons at the top

If you have unsaved settings, Foliant asks you to confirm before it opens the editor or another page.

Details

Changing what a template renders

A template’s content is written for one order at a time or for all the selected orders at once. When you change Renders on a saved template, Foliant asks Change what this template renders? and explains what prints empty until you rework the template in the editor:
  • Switched to One document for all selected orders: details of a single order, such as its number or products, print empty, and the template isn’t numbered.
  • Switched to One document per order: the order list, totals and pick list print empty.
Click Change to go ahead, or Cancel to keep it as it was. For a visual template, Foliant won’t save the change while the template has blocks that only work one way. Remove those blocks in the editor first. When a template renders one document for all selected orders, its Document type is always Other (not numbered) and Customer’s language isn’t offered, because a batch has many customers. See Order summaries and pick lists.

Document language and the editor

Document language is the same setting as the language in the editor’s toolbar. Change it in either place. The editor’s toolbar also has the paper size, a second language and the number format. See Preview, paper size and zoom and Print in your customer’s language.

Split shipments

For templates that render one document per order and have the document type Other (not numbered), such as packing slips and returns forms, you can choose what happens when an order ships in several parcels: Invoices, credit notes and quotes always print one document per order.

Pick list

Templates that render one document for all selected orders have a Pick list section for how the pick list adds up the selected orders. See Order summaries and pick lists.

Page layout

Templates edited as code have a Page layout section: Templates made with the visual editor set these in the editor instead.

Thermal printers

Receipt printers print in black only, so greys come out speckled or not at all. Turn on High contrast to print the document in pure black and white: text and borders black, background colors and shadows removed, images (your logo, barcodes) black and white. It applies to PDFs, prints from the print page, and Shopify POS. Use it for templates on Receipt 80 mm or Receipt 58 mm paper. See Paper size, sort order and grouping.

Who gets this template?

This section decides where the template is used: If the template is used instead of another, or other templates are used instead of it, a Test with an order button appears here. See Test which template an order gets.

Delivery

The Delivery section shows how the document reaches customers and your team, as badges (for example Order status page or an email Foliant sends), or “Not linked anywhere yet.” Click Add delivery to set it up. See Add a delivery. Templates that render one document for all selected orders aren’t sent to customers or linked on order pages. Print them from the orders list, or export them. For templates with the document type Invoice or Credit note, a warning, This document may be missing legal details, appears when something your country requires is missing, such as legal details in Settings › Tax & legal or the document not printing them. It lists what’s missing, with Open Tax & legal settings. See What your invoices need.

Template preview

On the right, Template preview shows the document and when it was last saved. Click Edit template under it to open the editor.