How to Build a Custom PDF Template Using Liquid for Shopify - Blank Template with metafields
If you're building a custom PDF for a client who owns a Shopify store
Customer Success
Last Update 5 dagen geleden
Step 1: Capture Your Style Block
Step 2: Build the Header
Next, define your header. You can include your client’s logo and even dynamic content like a QR code placeholder.
Step 3: Create the Body Content
Step 4: Add a Footer
This might include basic contact info or any legal footnotes.
Finally, combine everything into a single JSON object. This is the key output you’ll pass to your PDF rendering logic.
Step 6: Update template in App
Don't forget to set the template setting as "Blank Template" and hit "Save". This will use the payload you built in the App block.

Done!
You now have a complete Liquid-based JSON template that you can send to a PDF engine. This method keeps your HTML structured, dynamic, and easy to update—all while giving your Shopify client a custom-branded PDF output.