Attach PDF to products
Guide to attaching PDF files to products in Shoporama, such as product sheets, manuals or datasheets.
You can attach PDF files to your products, such as product sheets, instructions for use, safety data sheets or certifications. The file will appear as a download link on the product page.
How to attach a PDF
- Go to Products and click Edit on the product
- Find the Files section (under Images)
- Click Upload and select your PDF file
- Give the file a title (appears as link text)
- Click Save
View in the shop
The PDF will appear on the product page as a download link. The customer can click the link to open or download the file.
In your theme
In your Smarty theme, you can download the product files with:
<{foreach $product->getFiles() as $file}> <a href="<{$file->getUrl()}>" target="_blank"> <{$file->getTitle()}> </a> <{/foreach}>
Supported file types
- PDF - the most common format for product documentation
- Other formats - you can also upload images and other file types
Tip for downloadable products
For downloadable products that can only be downloaded after purchase, see our guide to digital products.
Do you need help? Contact us at support@shoporama.dk.