Creating a PDF for a download link/product (and other file types)

A lot of customer have asked this, "How do I create a PDF for download so a customer can see how to use a product?". This is something that we will help you do and show you how to do it. A PDF can help your customers understand how a product works, how to install your product, or use it with other products, the PDF can also be a declaration for your customers to use, and many other things. It doesn't just have to be a PDF, you can use other file types as well.

Applies to Version(s): 3.7.0 - 3.8.2r2 (or Current)

Types of files that can be used

You can use virtually any type of file, but the most common would be a PDF, but if you decided to use a text file or a audio/video file this can be done as well.

The complete file list you can use would be:

  • CSV
  • Excel
  • PDF
  • MP3
  • PDF
  • JPG
  • GIF

There are many many more as well, if you have a question about a type of file you can look here to get some help.

Where to upload your PDF

Note: The easiest way to do an upload, especially a file with a lot of size will be to use FTP

There are a few different ways you can do links for your PDF, you can upload to the file manager as seen from this image:

Note:Again if the file is large you will want to use FTP to upload the file as the File Manager in the cart can time out due to the file size.

Or you can create a Page that your customers can go to. For this you will want to upload your files to a cloud service or a off site server of some kind and you can then insert your link into the wording of your Information:

The second method is fairly easy as from the server or Cloud site you're using you will just copy and paste the link they provide, for the first example you will need to create a link which is the direct path from where the file is located. So in the first example the link would look something like this:

https://domainname.com/directoryname/filenamePDF

then when you insert the link the code would look like this:

<a href="http://example.com/files/myfile.pdf" target="_blank">Download</a>

Now doing it this way will require you to hardcode this link into your site, and you can read more about how to do this here.

Where to create a link for your PDF

Note: how you will do this will be based off one of the 2 options above.

If you're hardcoding your link on the site, you will want to find the file on the page and area you're doing this. So if you want to have a link in your header based of your logo you will need to do this through your head.html, if in the body of your site, body.html, and so on. For product pages there are different areas as well, so if you wanted to do this you would need to hard code the link into element-description.html.

You can hard code your link through the Source Code of the product description:

Another option which would create a box on your site either to the Right or Left side would be to create a widget, and to do so take a look at this article.

If you want to learn more about hard coding links into your site you can refer to these links:

Hard Coding Wiki

w3schools

Links to Related Articles.

None at this time.

If you didn't get your question answered, please contact the Pinnacle Cart Support Team. To submit a ticket, go to the My Account drop-down menu at the top right of the admin area and select Support

Was this article helpful?
0 out of 0 found this helpful