I have a question, I want to add information pdfs to every of my products. How can I add a button for that on every product page?
Thanks.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityi) Create a custom attribute named pdf with input type as TEXT field.
ii) Then goto each product and give the filename
ii) Places the PDF files in the Media directory.
iii) Then goto catalog-> product-> view file..
iv) you can call the pdf in view.phtml file like
echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).$_product->getAttributeText('pdf');
Hope it will work.
Have a nice day
There are a few different free extensions around, but as an example one which one of my clients has tried which seems reasonable is this one.
You can simply achieve this by creating a File Type Product Attribute. By default, magento doesn't support this, but there are some free modules that do the trick. Here's one for example