{{ total_price | money }}. You can chain them: {{ note | escape | newline_to_br }}. Foliant supports Liquid’s standard filters (such as escape, default, upcase, date, plus, minus, split, join, newline_to_br) and adds the ones below.
Money
See Money and currency in templates.
Dates and wording
See Dates, languages and translations.
Addresses, images and links
Barcodes and QR codes
See Barcodes and QR codes.
Numbers and text
Colours
Snippets
Two built-in snippets print standard VAT sections:{% include 'vat_breakdown' %}: the VAT breakdown table, per rate.{% include 'legal_notes' %}: the VAT legal notes (reverse charge, export, IOSS…).
Good to know
- The code editor marks filters it doesn’t know with a warning. Check the preview whenever you see one.
- Some filters from Shopify’s storefront themes don’t exist in documents. Stick to the filters above and Liquid’s standard ones.