How do I call the issue date on the payment terms using liquid for a document in Order Printer? This is on a live order and it is set as below
Topic summary
A user needs to display the payment terms issue date in an Order Printer template using Liquid code.
Context:
- The order has active payment terms configured
- An issue date is visible in the Shopify admin interface
- The user wants to output this date in a custom document template
Solution provided:
- Use the Liquid variable
{{ order.payment_terms.issue_date | date: "%B %d, %Y" }} - Add this code to the desired Order Printer template
- The
datefilter formats the output (e.g., “January 15, 2024”)
The response appears to resolve the question with a direct code snippet, though no confirmation of success was posted.
Hi,
Hope this will help
- Open Order Printer app and at template you want to edit, adding following code can work
{{ order.payment_terms.issue_date | date: "%B %d, %Y" }}
