# Order Printer/Pro templates

Custom option selections from Infinite Options are stored as line item properties. To display them on printed invoices or packing slips, your Order Printer template needs to include code that reads those properties.

## Order Printer

#### Step 1: Open your template

From the Order Printer app, click the **Templates** tab and select the template you use for printing orders — this is usually called **Invoice** or **Packing Slip**.

#### Step 2: Find where product titles appear

In the code editor, use your browser's find function (Ctrl+F or Cmd+F) to search for:

```html
line_item.title
```

This will highlight the line where each product's name is rendered. It may look slightly different depending on your template, but will contain `line_item.title` somewhere in it. Common examples:

```html
<td>{{ line_item.title }}
```

```html
<p>{{ line_item.title }}</p>
```

```html
{{ line_item.title | replace: " - Default Title", "" }}
```

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-fbb5ffc5a14f89cd792138e1d576d31fbac7acd9%2Fdocsassets555e25e4e4b027e1978e1c9aimages67c26ae7a5753e1285139fc6file-ovkn8jkshg.png?alt=media)

#### Step 3: Add the properties loop

Directly after the line containing `line_item.title`, paste the following code:

liquid

```liquid
{% 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 %}
```

For example, if your template has:

liquid

```liquid
<td>{{ line_item.title }}
```

It should look like this after your edit:

liquid

```liquid
<td>
{{ line_item.title }}
{% 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 %}
```

#### Step 4: Save and test

Click **Save**, then print a test order that includes custom options. Your option selections should now appear under each product name on the printout.

### Troubleshooting: Options still not showing

**The line `line_item.title` appears more than once in my template.** Add the properties loop after the first instance — this is usually inside the main line items table where products are listed for fulfillment purposes.

**My options show in the Shopify order details but not on the printout.** This confirms the options are being saved correctly. The issue is that the properties loop is either missing from your template or placed in the wrong location. Review Step 2 and confirm you found the section that lists products line by line, not a header or summary section.

**I added the code but nothing changed.** Check that you saved the template after making your edits. Then print a new test order — changes do not apply retroactively to orders that were already printed.

**My template doesn't contain `line_item.title` at all.** Search instead for `line_item.name` or `item.title`, as some templates use different variable names. The properties loop code works the same way regardless of which variable your template uses.

## Order Printer Pro

Order Printer Pro supports line item properties by default, so your custom options should appear on invoices and packing slips without any code changes.

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-9da8f941e591ee7122d7e5d1e6051b5f0e63b9a9%2Fhelpscoutnetdocsassets555e25e4e4b027e1978e1c9aimages68017dd819b3e316d25a3acffile-rzqh73looj.png?alt=media)

If your options are not showing up, check the following:

**Confirm the option is saved on the order.** Go to the order in your Shopify admin and look under the product line item. If the option selection appears there, it is saved correctly and Order Printer Pro should be able to display it.

**Check that you are not using a heavily customized template.** Some custom Order Printer Pro templates remove or restructure the properties display. If you have customized your template, you may need to add the properties loop from the Order Printer section above.

**Contact Order Printer Pro support.** If options appear in your Shopify order details but not in Order Printer Pro, the issue is within that app's template configuration. Their support team can help you locate where properties are displayed in your specific template.

***

Still not working? Contact our support team from the Help page in your Infinite Options dashboard and include a screenshot of your order details page showing the option selection. This helps us confirm the options are saving correctly and narrow down where the display issue is.
