Can I create a downloadable pdf from my store?

Tom_D1
Excursionist
54 0 6

Hey Everyone, 

Does anyone know how I would go about getting placing a link on my store so that once clicked, a pdf would automatically download? 

I'm hoping to do this for my 'Returns Policy' so that in the event a customer wants to return a product, they can download the form from my website. 

Thanks in advance

Tom. 

Replies 6 (6)
Daniel9
Excursionist
30 0 7

Hi Tom,

You should be able to do this by uploading the PDF to the files section of your Shopify admin:

Once you have that URL you can place it into your pages. Depending on how you're theme's setup you could use the following HTML:

<a href="https://cdn.shopify.com/s/files...">View Returns Policy</a>

Where "https://cdn.shopify.com/s/files..." is the URL you copied from before. 

Hope this helps!

 

Tired of spending hours manually editing products? Check out https://apps.shopify.com/bulk-product-editor
stemon
Visitor
2 0 0

But it will only open the pdf on another tab. How to make it so that once clicked the pdf downloads automatically?

Alan_Houser
Shopify Partner
18 0 5

That "mime-type" varies per browser/device (and every user in the world can change this setting themselves). @stemon  You would be best to open in a new window, and just let the browser do its thing.

Custom sites and stores by Squareflair.com
made4Uo
Shopify Partner
3785 710 1096

Hi, 

 

No opening to a different window. Download it directly from your store. No app needed, nor external library. Check the video for more information

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!
EasifyApps-Zoe
Shopify Partner
581 13 34

Hi @Tom_D1,

 

On Shopify, the PDF file will pop up in a new tab automatically. Your customers can preview the file and choose to download it with just a click. If you want the file to be downloaded right away, you can use a docs file instead.

 

By the way, I have a great suggestion for you 😊! There's a super useful, free Shopify app - Ease Product Attachments that lets you upload your files in different formats and showcase them on your product pages. That way, your customers can easily access and download them.

add pdf files to shopify.png

 

You can check out the app demo first to see if it suits your needs before installing it.

 

I really hope my suggestion helps you out!

EASIFY - MAKING SHOPIFY SIMPLE & SWEET!
Easify Product Options: Create custom product options 10X faster & easier!
Easify Product Attachments: Effortlessly add downloadable PDF files (or any other format) to Shopify pages!
Try for Free | 24/7 Live Chat Support
SaDC
Tourist
4 0 4

Go one step further and create an immersive digital flip catalog version to deliver an incredible, stand-out experience that elevates your content. Simply upload your PDF and you can make it clickable, shoppable, downloadable, and more!