Add option selections to the Order Printer app

Follow the steps below to add option selections to the Order Printer app.

1. Starting from the Order Printer app, click the Manage templates button in the upper-right corner.

2. Click on the Invoice template.

3. Copy the following code snippet.

<table class="table-tabular" style="margin: 0 0 1.5em 0;">
      {% if show_line_item_taxes %}
      {% endif %}
    {% for line_item in line_items %}
        <td>{{ line_item.quantity }} x</td>
        <td><b>{{ line_item.title }}</b>
            {% for property in %}<br>{{ property.first }}: {{ property.last }} {% endfor %}       
        {% if line_item.tax_lines %}
            {% for tax_line in line_item.tax_lines %}
              {{ tax_line.price | money }} {{ tax_line.title }}<br/>
            {% endfor %}
        {% endif %}
        <td>{{ line_item.price | money }}</td>
    {% endfor %}

4. Locate the Code editor, then replace the snippet seen below with the copied snippet.

By default, the code starts on line 17 and ends on line 44. If you aren't seeing the correct code on these lines, locate it by identifying the first open table element (<table>) and it's closing table element (</table>).

4. Save your changes.

Still need help? Contact Us Contact Us