Avada PDF Invoice
Developer Docs
Liquid templates

Liquid templates

Every PDF Invoice document is rendered from a Liquid (opens in a new tab) template with its own CSS. You can edit the code in the app's template editor, or through the MCP server.

Top-level objects

DocumentObjects
Invoice, packing slip, refund, pro forma, credit noteorder, shop, template, configuration, text
Country templates (France, Germany, Italy…)the objects above plus legal
Quote (draft order)draftOrder instead of order
B2B statementorders, summary, report, company, currency
  • order / draftOrder: the Shopify order, its line items, totals, taxes, addresses and customer.
  • shop: store name, domain, URL, email and country.
  • template: the template's settings and its on/off options. Wrap optional blocks in the matching toggle, for example {% if template.isItemSKU %}…{% endif %}.
  • text: translated labels in the customer's language.
  • legal: the company and tax details a country template needs.

Finding variable paths

The available paths depend on the document type, the template's options and the store's plan, so there is no fixed list. Ask the store instead:

  • In the app's template editor, open the variable list.
  • With the MCP server, call list_liquid_variables with a type (or template_id) and an optional prefix such as order.line_items or a search term. Each path comes with an example value from a sample order.

Fields that hold secrets or recipient addresses (for example BCC emails) are never available to templates.

Previewing safely

Use preview_template_liquid to render your draft against a real order before you save. It never changes the store. Every save with update_template_liquid is kept as a version, so the merchant can restore an earlier one from the editor.

Products
Avada SEO SuiteAvada AEO OptimizerAvada BlogAvada Product CopyAvada Images & Page Speed UpAvada Shipping LabelsAvada Backups & Restore
Resources
DocumentationSEO Suite DocsBlog DocsSpeed DocsShipping Labels DocsBackups & Restore Docs
Company
Avada GroupPrivacy Policy
© 2026 Avada Group. All rights reserved.