DecoNetwork order templates can be customized with HTML, CSS, and Liquid variables. Liquid is a flexible, open-source template language created by Shopify and used in many web applications to dynamically generate content. While the default templates include the most common variables, you can also use additional ones to display more detailed information in your order emails and documents. This article explains how to work with these extra variables.
In This Article
- Prerequisites
- Why use extra variables
- Liquid primer
- Examples of non-default variables
- Testing and validation
- Best-practice tips
- Additional Resources
Prerequisites
- Basic familiarity with HTML and CSS.
- Working knowledge of Liquid syntax (variables, tags, filters).
- Admin access to your DecoNetwork site.
- Email & Order Templates app enabled (required for template customization on Standard or lower plans)
- System status set to Testing and test orders available to preview your changes.
Why use extra variables
Default templates may not cover all the details you want to include. Using non-default variables allows you to:
- Show detailed pricing (e.g., split product vs decoration cost).
- Include operational details like sales team member, priority flag, or production lead time.
- Improve customer communication with shipment dates, coupon codes, or tracking links.
- Insert internal metadata or custom fields for specialized workflows.
Liquid primer
You need to have a good understanding of the Liquid programming language to customize the templates. However, here is a brief introduction to how Liquid works.
Liquid is a template language used to render dynamic content. Liquid is written just like regular HTML markup with the addition of easy-to-read constructs, Liquid statements are built using a combination of hree key concepts: objects, tags, and filters.
Objects (variables)
Objects contain expressions that display the variable data. Liquid objects are commonly referred to as Liquid variables. Objects are denoted by a set of double curly braces containing the variable expression.
{{ variable_goes_here }}E.g. To display the title of an order.
{{ order.title }}Tags (logic and flow)
Tags display the logic that tells the template what data to display. Tags are denoted by a set of curly brace percentage delimiters.
{% logic_goes_here %}E.g. To print out the payment instructions if the order uses COD.
{% if order.using_cod? %}
<h3>Payment Instructions</h3>
<p>{{ order.payment_instructions }}</p>
{% endif %}
Filters (format variables)
Filters are used to change the output of a liquid variable. Filters tell the template how to format the data. You can invoke filters by following the value in an object with a pipe character (|), followed by the name of the filter.
E.g. To format the order balance as currency.
{{ balance | format_currency }}If you are new to Liquid, start with the Liquid Crash Course for DecoNetwork Templates.
Examples of non-default variables
Here are some common use cases for non-default Liquid variables you can include in your order templates. Click any link below to view an example of how to use these variables outside the default templates.
- How to Show Separate Blank Product and Decoration Prices in the Order Template
- How to Show Line Total Excluding Tax in the Order Template
- How to Show a Separate Line for Each Tax in the Order Template
- How to Include the Order Title in the Order and Worksheet Templates
- How to Include the File Attachments for Line Items in the Artwork Approval Template
- How to Include Payment Methods in the Order and Worksheet Templates
- How to Include the Source of an Order in the Order Template
- How to Show Sales Team Member Name in a Quote/Order and in a Worksheet
- How to Show an Quote/Order is a priority order in the Order Template
- How to Include Production Team Member Names in the Order Template
- How to Include Production Team Member Name in the Worksheet Template
- How to Include Shipment Dates in the Shipping Label and Packing Slip Templates
- How to Include the Supplier Description in the Purchase Order Template
- How to Include the Requested Due Date in the Purchase Order Template
- How to Include the Actual Name Specified for the Rush Order Fee in the Order Template
- How to Show Part Name Rather than Full Name in Order Templates
- How to Show the Category of a Pre-decorated Product in the Order Template
- How to Show the SKU Code of an Item in the Order Template
- How to Show the SKU Code of an Item in the Worksheet Template
- How to show the Coupon Code in the Order Template
- How to Include Payment Due Date in the Order Template
- How to Include Production Days in the Order Template
- How to Include the Supplier Product Name in the Worksheet Template
- How to Include the Current Date in the Order and Worksheet Templates
- How to Show the Brand Name of an Item in the Order Template
- How to Show the Shipping Method Name in the Purchase Order Template
- How to Show the Tracking URL in the Packing Slip Template
- How to Show the Tracking URL in the Order Template
- How to Show Notes for the Customer from an Artwork Approval in the Order Template\
- How to Include the Production Date in the Order Template;
- How to Include Custom Customer and Custom Company fields in the Order Template
- How to Include Custom Shipping Address fields in the Order Template
- How to Include the Store Group Name in the Order Template
- How to Identify Internal Notes from Public Notes in the Worksheet Template
- How to Include the list of used decoration processes in the Order Template
- How to Include a list of batch order numbers in the Production Worksheet
- How to Include notes set against a customer/company in the Production Worksheet
- How to Include the artwork job description in the Artwork Approval Form
- How to Include the customer details in the Artwork Approval Form of standalone artwork job
- How to Show all Product Views in the Order Template
- How to Show Invoice Variables in the Customer Account Statement Template
- How to Include the artwork approval requirement in the Order Template
Testing and validation
- Create or use a test order in your site.
- Add the snippet into your template.
- Preview the rendered output in the editor or by clicking Test Template.
- Wrap optional variables with
{% if ... %}{% endif %}to avoid errors if the variable is empty.
Liquid syntax errors can cause templates to break. You can find the default template code on each template's configuration page. To start fresh, copy that code into the template editor.
Best-practice tips
- Use filters like
| moneyor| date: "%B %d, %Y"for formatting. - Check object paths carefully (e.g., nested fields like
order.sales_team_member.name). - Keep templates lean — too much logic can slow rendering.
Additional Resources
- Order Template Variable Descriptions (For a full list of supported variables)
- Shopify Liquid Reference
- Liquid Crash Course for DecoNetwork Templates
Still have questions? Use the Search Tool at the top of the page to find more related guides. Need help? Click the icon to submit a support ticket—our Client Services team is ready to assist!
Comments
0 comments
Please sign in to leave a comment.