Display templates for orders - create order pdf's or html documents

Create customised order notes, pdf's, shipping notes or whatever print you'll need.

Philip

Create customised order notes, pdf's, shipping notes and other order related documents. Use simple HTML code to generate any pdf, A4 or HTML document you need. This way you can print order notes when you need them with updated data. Insert any data such as order comments, meta data or whatever you need.

Notice: In the bottom of this post you can find pre-made HTML templates.



Loading test data for inserting variables

When building, you'll need some data from the customer. In order to easily find out what this data technically looks like, you can "Load latest order". By using the "given_name", formatted like this {{ given_name }} you'll dynamically insert the name of the customer "Lucy" in this example.


Display template get test data from your shop

Display template get test data from your shop



Pre-made HTML templates

First a few simple examples to guide you on the logic and snippets that are often used. In the bottom you find ready made code


Listing all the products in an order. The list of products in a table - this example lists sku and price and loops through all products in the order.

<ol>
{% for product in products %}
    <li>You ordered: {{product.sku}} for: {{product.price}}</li>
{% endfor %}
</ol>


No credit card required

Get started today

Start growing your business with effortless automation.

Try it free