Articles on: Shopify Apps

How To Add The Gift Options To The Invoice/Packing Slip (Using Order Printer App)?

How to Add Gift Options to Your Invoice/Packing Slip Using the Order Printer App



Enhancing your invoices and packing slips with gift options can provide a personalized touch for your customers. If you’re using Shopify's Order Printer app to manage your invoices and packing slips, adding these gift options is a breeze. Follow these straightforward steps to include gift messages, gift wrap, and gift receipts in your Order Printer templates:

Ensure the Order Printer App is Installed: Verify that you have the **Shopify Order Printer app** installed in your store.

Access Your Admin Dashboard: Go to your Shopify store admin dashboard at https://your-store.myshopify.com/admin/. From the sidebar on the left, navigate to the Apps section and select Order Printer.



Manage Your Templates: In the Order Printer app's dashboard, click the Manage Templates button located at the top left.

Select a Template: Choose the template you want to modify by clicking on its name. If you want to apply these changes to multiple templates, repeat the following steps for each one.

Add the Gift Options Code: Copy the code below and paste it into the code section of the chosen template. Ensure you paste it at the end of the code section:

```liquid
{% if attributes["Gift Message"] or attributes["Gift Wrap"] or attributes["Gift Receipt"] %}
<h3 style="margin: 0 0 1em 0;">Gift Options</h3>
<div style="margin: 0 0 1em 0; padding: 1em; border: 1px solid black;">
{% if attributes["Gift Message"] %}
<strong><u>Gift Message:</u></strong> {{ attributes["Gift Message"] }}<br/>
{% endif %}
{% if attributes["Gift Wrap"] %}
<strong><u>Gift Wrap:</u></strong> {{ attributes["Gift Wrap"] }}<br/>
{% endif %}
{% if attributes["Gift Receipt"] %}
<strong><u>Gift Receipt:</u></strong> {{ attributes["Gift Receipt"] }}<br/>
{% endif %}
</div>
{% endif %}
```

Example of the code in the Packing Slip template:



If you're comfortable with editing Liquid code, you can place this snippet wherever you prefer within the template, as long as it’s not within another Liquid condition to ensure it functions correctly.

If you need any assistance or have further questions, our support team is always here to help!

Updated on: 31/07/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!