Show PDF links on the order status and thank you pages

Before you start
- You need a template for the document.
- You add the block in Shopify’s checkout and accounts editor (Settings › Checkout in the Shopify admin).
Step 1: Add the delivery
- Go to Delivery and select Add delivery. Or select Add next to Customer’s order pages on the timeline.
- Choose the Template, then On the customer’s order pages.
- Select Add delivery. The delivery starts on both pages.
Step 2: Choose the pages and texts
On the delivery’s page, under Order pages:
Foliant suggests a heading and link text that fit the document, in your store’s language. Save your changes with the save bar.
In your store’s other languages
If your store sells in more than one language, each field has Add language next to its label (Languages with a count once it has translations). Select it to open Manage translations:- Select Add language and choose the languages to translate into. Foliant offers the languages your store publishes in Shopify (Settings › Languages in the Shopify admin).
- Type the text in each language. A field you leave empty shows your main language.
- Select Done, then Save.
Step 3: Add the Foliant app block
You add the block once; it shows every template you’ve set up for the order pages.- Select Open checkout editor.
- In the editor, choose the Thank you or Order status page.
- From the Apps tab, add the Foliant PDF links block where you want it.
- Save in the editor. Repeat for the other page if you want the links on both.
Step 4: Check it on a real order
Under Check it on a real order, select Preview on order #number to open your latest order’s status page and see the link the way customers do. If your store has no orders yet, Foliant says Create an order to preview your PDF link.Statuses
Good to know
- The PDF is made when someone opens the link, so it reflects the order as it is now (changes can take a few minutes to show).
- In the checkout editor, when the block has nothing to show, you see a note: “No documents to show here yet. Choose the templates for this page in Foliant → PDF delivery. Customers don’t see this message.” Customers see nothing in that case.
- A template can have one order pages delivery. To change its pages, open the existing delivery.
- With the customer portal turned on, the order status page lists the order’s documents with their numbers, and a credit note for each refund. See Turn on the customer portal.
- The templates you show on the order status page are also the ones customers see in My documents.
- With Paid orders only, the PDF link waits for the payment wherever it’s used, including links in Shopify’s emails. Your own downloads from Foliant aren’t affected.
- With the customer portal on, the order status page lists the portal’s documents and the box’s options don’t apply to that list.
- A copy that bounces, or that the customer marks as spam, blocks that address like any email Foliant sends. See Blocked addresses.
- Copies sent with “Email me a copy” come from your store like the other emails Foliant sends, and count as emailed documents. See Email PDFs with Foliant.
- Remove takes the download link for this template off the order status and thank you pages.