Skip to main content

Pick the right template automatically

The Pick the right template automatically section Foliant can print a different template for some orders. The Pick the right template automatically section, below the list on the Templates page, has ready-made setups for the most common cases. Each one asks a question or two and writes the same settings you’d otherwise set in a template’s Who gets this template? section. Each card shows what it’s set to once it’s on, with an Edit button. Cards that aren’t set up yet have a Set up button.

Separate invoice for wholesale customers

Company (B2B) orders get their own template, for example with payment terms.
  1. Under Separate invoice for wholesale customers, click Set up.
  2. In Which template should wholesale customers get?, choose the template.
  3. In Instead of, choose the template these orders would normally get. Wherever that template would print, wholesale orders get the one above instead.
  4. Click Turn on.
To change it later, click Edit, make your changes and click Save. To stop, click Edit, then Turn off. The template goes back to being used for everyone. Wholesale orders are Shopify B2B company orders, plus orders tagged “B2B Order” or customers tagged “B2B”. Dates and wording follow the language the customer shopped in.
  1. Under Print in the customer’s language, click Set up.
  2. Tick the templates that should print in the customer’s language. Text you wrote yourself stays as written.
  3. Click Save.
This sets those templates’ Document language to Customer’s language. See Print in your customer’s language.

Different logo by country

Use another logo and color for orders shipping to some countries, such as a second company. Clicking Set up opens Settings › Branding, where you add logos by country. Whether this is available depends on your plan. See Logos by country.

Different receipt per store

Orders from a POS location print that store’s own receipt.
  1. Under Different receipt per store, click Set up.
  2. Choose the Store.
  3. In Which template should this store’s orders get?, choose the template.
  4. In Instead of, choose the template these orders would normally get.
  5. Click Turn on.
To add more stores, click Edit, fill in Add another store, and click Add. To stop using a store’s template, click Turn off next to it.

Something else

For any other rule, such as tags, countries, sales channels or markets, open any template’s settings and use Who gets this template?. See Use a template for some orders only.

Test with an order

The Test with an order button in this section shows which template an order gets, and why. See Test which template an order gets.

Good to know

  • You need at least two templates for the wholesale and store setups. If you don’t have them, the dialog says so. Create another first, for example from a ready-made design.
  • The two templates you choose must be different.
  • A design you haven’t bought yet isn’t offered in these setups.
  • If no POS locations are found, the store setup says “No store locations found.”