Infinite Options: Display option selections in Order Printer templates

Follow the steps below on how to display option selections on the 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;">
  <thead>
    <tr>
      <th>Quantity</th>
      <th>Item</th>
      {% if show_line_item_taxes %}
      <th>Taxes</th>
      {% endif %}
      <th>Price</th>
    </tr>
  </thead>
  <tbody>
    {% for line_item in line_items %}
      <tr>
        <td>{{ line_item.quantity }} x</td>
        <td><b>{{ line_item.title }}</b>
            {% for property in line_item.properties %}
              {% if property.first contains '_io_' %}{% continue %}{% endif %}
              {% if property.last == blank  %}{% continue %}{% endif %}
              <br>{{ property.first }}: {{ property.last }}
            {% endfor %}       
        </td>
        {% if line_item.tax_lines %}
          <td>
            {% for tax_line in line_item.tax_lines %}
              {{ tax_line.price | money }} {{ tax_line.title }}<br/>
            {% endfor %}
          </td>
        {% endif %}
        <td>{{ line_item.price | money }}</td>
      </tr>
    {% endfor %}
  </tbody>
</table>

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>).

5. Save your changes.