1 Attachment(s)
PDF Attachment in Product Description
I am using the plugin 'PDF Attachment in Product Description' - found at https://www.zen-cart.com/downloads.php?do=file&id=1642. It doesn't really do anything different than using the standard 'Products URL' on the Products page. What i would like is to add a button called 'BROWSE" that would allow you to browse your computer for the PDF - similar to how you can now browse for images - and it would automatically upload the PDF to your product and to some folder (maybe called PDFS). Would this be hard to do?
Attachment 16622
Re: PDF Attachment in Product Description
I have updated this module to version 2.0 for Zen Cart 1.5.5 and it is now doing exactly this. Additionally cou can enter a (multilanguage) name for the pdf download.
Re: PDF Attachment in Product Description
Quote:
Originally Posted by
webchills
I have updated this module to version 2.0 for Zen Cart 1.5.5 and it is now doing exactly this. Additionally cou can enter a (multilanguage) name for the pdf download.
I cannot get this to work. The options for uploading a PDF don't appear in the product info admin screen below the image upload options. I'm using Zen Cart 1.5.5f
Re: PDF Attachment in Product Description
Quote:
Originally Posted by
Nick1973
The options for uploading a PDF don't appear in the product info admin screen below the image upload options.
Did you really change all the files provided in the CHANGED FILES folder?
e.g. YOURADMIN/includes/modules/product/collect_info.php among many others
Re: PDF Attachment in Product Description
Re: PDF Attachment in Product Description
I am developing locally though, do you think that would have anything to do with it?
Re: PDF Attachment in Product Description
If the admin page for editing a product looks "normal" and works "normal", but the section for pdf upload is missing then it is quite sure that YOURADMIN/includes/modules/product/collect_info.php has not been changed.
If the admin page for editing a product is cropped after the image upload section, there should be an error log in your logs folder.
Re: PDF Attachment in Product Description
Quote:
Originally Posted by
webchills
If the admin page for editing a product looks "normal" and works "normal", but the section for pdf upload is missing then it is quite sure that YOURADMIN/includes/modules/product/collect_info.php has not been changed.
If the admin page for editing a product is cropped after the image upload section, there should be an error log in your logs folder.
Ok cool. I did copy that folder over, although merged it so maybe when my machine tried to merge the files it didn't merge them fully. All appears to be working fine now. Thanks for your help.
Re: PDF Attachment in Product Description
Quote:
Originally Posted by
Nick1973
I cannot get this to work. The options for uploading a PDF don't appear in the product info admin screen below the image upload options. I'm using Zen Cart 1.5.5f
Ok I want the download link to be a button.
This is what I have:
<!--bof Download PDF -->
<input type="button" class="cssButton submit_button button download_pdf" onmouseover="this.className='cssButtonHover enquiry_page download_pdf_pageHover'" onmouseout="this.className='cssButton submit_button button download_pdf_page'" onclick="location.href='pdf-attachments/'<?php echo '' . $products_pdf_attachment . '' ?>'" value="Download PDF" />
<!--eof Download PDF -->
Re: PDF Attachment in Product Description