Articles on: Shopify Apps

How to add the terms and conditions consent date to the invoice/packing slip (via Order Printer)?

If you’re using Shopify’s Order Printer app to generate invoices and packing slips, you can include the date and time when customers agreed to your terms and conditions directly in your Order Printer templates. This addition can help keep your records complete and provide your customers with clear documentation of their agreement.

Follow these easy steps to customize your Order Printer templates:

Ensure Order Printer App Installation
- Verify that you have Shopify’s Order Printer app installed on your store.

Access Order Printer
- Log in to your Shopify store and go to the admin dashboard: https://your-store.myshopify.com/admin.
- From the sidebar on the left, navigate to Apps and select Order Printer.

Manage Your Templates
- In the Order Printer app dashboard, click on the Manage Templates button located at the top left.

Select a Template
- Choose the template you wish to modify by clicking on its name. You can repeat these steps for each template you want to update.

Add the Consent Date Code
- Copy the following code snippet to your clipboard:

```liquid
{% if attributes["Agreed to the Terms and Conditions on"] %}
<h3 style="margin: 0 0 1em 0;">Terms and Conditions</h3>
<div style="margin: 0 0 1em 0; padding: 1em; border: 1px solid black;">
<strong><u>Agreed to the Terms and Conditions on:</u></strong> {{ attributes["Agreed to the Terms and Conditions on"] }}
</div>
{% endif %}
```

- Paste this code at the end of the code section in the chosen template.

Save Your Changes
- Ensure you save your changes by clicking the Save button.

Test Your Update
- Generate a sample invoice or packing slip to confirm that the consent date appears as expected.

Feel free to adjust the placement of the code snippet in the template according to your design preferences. Just make sure the code is not placed inside another Liquid condition to ensure it functions correctly.

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

Updated on: 31/07/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!