Skip to main content
When a template’s code has a mistake, the editor tells you where, and the preview waits until it’s fixed. This article explains the messages and what to do when your changes don’t show up on documents.

Code errors in the editor

A Code errors banner lists each problem with its line number, for example Line 12 - Unknown Liquid filter: ‘money_with_curency’. Select Go to line to jump to it. Common errors: While there are errors, the preview says Fix code errors to update the preview. You also can’t switch to the visual editor: Fix the code errors before switching to Visual.

The preview doesn’t render

If you can’t find the mistake, restore an earlier version of the template from its history. See Template history.

Changes don’t show on documents

  • Publishing is required. If Require publishing is on in Settings › Documents & printing, saved changes to a template’s code, watermark or paper size stay a draft until you publish them. Customers, exports and prints keep using the published version.
  • The document is locked. Issued invoices and credit notes that are locked never change. See Locked invoices.
  • A customer link was opened recently. Download links pick up template changes within a few minutes.
  • A different template is used for that order. Check which template the order gets in its template assignment.

Good to know

  • One-off edits you make on the print page aren’t saved to the template.
  • Some details print empty on purpose: a manifest or pick list covers many orders, so single-order details, such as the order number, are empty there.