Magento: Attaching User Manuals and File Downloads to Products

When selling certain products, it can be beneficial to attach assets to the product such as a user manual or file downloads. Attaching user manuals for niche products can be beneficial to your SEO when the manual is only available online through your store.

How to quickly and easily add user manuals to your store:

Download the following extension from Magento Connect:

Some of you may stop here. However this extension isn’t optimal – the text for downloading a products resource appears even when their is not an attachment, and in an awkward position at the bottom of the page.

For us, we would prefer to have a tab added at the top called “Product Resources”.

Creating a custom Magento Tab for our product attachments:

To create your custom tab:

  • Open catalog.xml in: /app/design/frontend/default/YOURTHEME/layout/
  • Find: block type=”catalog/product_view_tabs”
  • Below, add:
    <action method="addTab" translate="title" module="catalog"><alias>prodmanual</alias><title>User Manual</title><block>productupload/productupload</block><template>productupload/productupload.phtml</template></action>

Hide block added under product description:

  • From your default theme folder, find “/productupload/productupload.xml”
  • Comment out all of catalog_product_view

Now, unfortunately, there are spaces throughout the productupload.phtml file, which means that the tab will display whether there are any uploads or not.

Option 1:
You need to go through the file and remove blank spaces and adjust the “if(count($productupload_Collection) > 0)” statement to prevent the display of the subheading.

Option 2:
Use my productupload.phtml file (this should be placed in app/design/frontend/default/YOURTHEME/template/productupload/ AND renamed to productupload.phtml):
Download it here

This entry was posted in E-Commerce and tagged . Bookmark the permalink.

7 Responses to Magento: Attaching User Manuals and File Downloads to Products

  1. Martin says:

    Hi, the link or productupload.html is broke. Could you reupload? Regards!

  2. Rutherford says:

    Martin, the link has been fixed.

  3. Neil says:

    Hi,

    The link to your productupload.html still seems to be broken?

    Any chance you can re-upload?

    Thanks

  4. Neil says:

    Great. Thanks

  5. Perry says:

    Hi Chris, thanks for the article! I’m also using files on product pages but with another extension (with Product Attachments by amasty). It’s important for my clients that they can find all the necessary information right on the product page before buying.

  6. Simon Walker says:

    The link above is broken. Anyone interested to upload files to products in Magento store can try product attachment extension by FME. Product attachments extension allows you to provide your customers with complete information about your products by uploading user manuals, tutorials, how to etc. Customers can download these files and obtain more information about the products they are interested in.

Leave a Reply

Your email address will not be published. Required fields are marked *