Skip to main content

Show PDF links on the order status and thank you pages

A delivery that shows the PDF link on the order pages Customers can download their documents straight from the pages they see after buying: the Thank you page right after checkout, and the Order status page they can open any time from their order. Foliant shows the links through an app block called Foliant PDF links, which you add once in Shopify’s checkout editor. Each template you deliver this way gets its own box with a heading and a download button. It works on every plan.

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

  1. Go to Delivery and select Add delivery. Or select Add next to Customer’s order pages on the timeline.
  2. Choose the Template, then On the customer’s order pages.
  3. 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:
  1. 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).
  2. Type the text in each language. A field you leave empty shows your main language.
  3. Select Done, then Save.
Customers see the text in the language of the storefront they bought from. To stop translating into a language, remove it in Manage translations. A language you publish in Shopify shows up in Foliant on its own.

Step 3: Add the Foliant app block

You add the block once; it shows every template you’ve set up for the order pages.
  1. Select Open checkout editor.
  2. In the editor, choose the Thank you or Order status page.
  3. From the Apps tab, add the Foliant PDF links block where you want it.
  4. Save in the editor. Repeat for the other page if you want the links on both.
If Foliant can’t find your store’s published checkout, the button is unavailable. In Shopify, go to Settings › Checkout, choose Customize, and add the Foliant PDF links block from the Apps tab. See setup guide opens an example of the finished link on an order status page.

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.