Before we start, you will need to upload your PDF file to Shopify. Go to Shopify admin > Content > Files, and select “Upload files.”
Once finished, hit the Chain icon in the Link column to copy the URL of the PDF file to your clipboard.
Link the PDF for download
Step 2: Paste the URL you got in the previous step to the box under the Link field.
After that, hit “Save.” If you prefer to show a PDF file on your page together with the download option, kindly follow the steps below.
Display the preview of the PDF on your page
Step 2: Right-click on the Liquid element, select “Edit Code” to open the code editor.
Step 3: Under the Template tab, copy and paste the code below into the panel. Make sure to replace the “PDF file link” with the URL to your file.
<iframe src="PDF file link" width="100%" height="600">
Hit “Save” when finished.
As a result, the preview of your PDF file will show on your live page, and the visitors can download it directly.
When everything is in place, hit “Save” then “Publish.”