Jump to content

How To Get The URL Link for a File I've added to Prestashop Attachments


CeilingTilesUK

Recommended Posts

Hi Community,

 

1. We are creating a landing page

2. This landing page has 3 PDFs that we need our customers to download from the page

3. We've added the 3 PDF documents to PrestaShop Attachments (Catalog > Attachments)

4. We now need the link to hyperlink these PDF documents from the landing page but can't find how to source the link for the documents.

 

We've read '/attachment.php?id_attachment=43' should be the relative link to the documents so our customers can open the PDF documents attached in our Attachments page in a new tab.

It doesn't work though - please can someone let us know how we can link to an Attachment document in Prestashop 1.6.

 

I look forward to hearing from anyone in the community.

Many thanks,

Ceiling Tiles UK Team

Link to comment
Share on other sites

Better way is to add these kind of extra content in a new folder under your Prestashop install, for ex. documents and than you can hyperlink them with yourdomain/documents/documentadded.

 

For documents added to the Prestashop folder you should use in text the Prestashop options, because the documents are not readable in a URL. They are transformed into a string.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...