Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default 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?
    Name:  2016-08-30_0918.jpg
Views: 361
Size:  19.9 KB

  2. #2
    Join Date
    Sep 2005
    Location
    Austria
    Posts
    104
    Plugin Contributions
    6

    Default 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.

  3. #3
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: PDF Attachment in Product Description

    Quote Originally Posted by webchills View Post
    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
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  4. #4
    Join Date
    Sep 2005
    Location
    Austria
    Posts
    104
    Plugin Contributions
    6

    Default Re: PDF Attachment in Product Description

    Quote Originally Posted by Nick1973 View Post
    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

  5. #5
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: PDF Attachment in Product Description

    Yes I did
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  6. #6
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: PDF Attachment in Product Description

    I am developing locally though, do you think that would have anything to do with it?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  7. #7
    Join Date
    Sep 2005
    Location
    Austria
    Posts
    104
    Plugin Contributions
    6

    Default 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.
    Last edited by webchills; 28 Jun 2018 at 04:57 PM.

  8. #8
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: PDF Attachment in Product Description

    Quote Originally Posted by webchills View Post
    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.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  9. #9
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: PDF Attachment in Product Description

    Quote Originally Posted by Nick1973 View Post
    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 -->
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  10. #10
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: PDF Attachment in Product Description

    But it isn't working
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

 

 

Similar Threads

  1. v151 pdf attachment to customers order
    By 100asa in forum Customization from the Admin
    Replies: 1
    Last Post: 7 Dec 2013, 11:34 AM
  2. v150 PDF attachment on orders
    By kjetilhansen in forum General Questions
    Replies: 0
    Last Post: 1 Jun 2013, 12:32 PM
  3. v139h Order Confirmation - PDF Attachment
    By tcl01 in forum General Questions
    Replies: 4
    Last Post: 13 Sep 2012, 09:29 PM
  4. newsletter: PDF attachment
    By broeder in forum General Questions
    Replies: 1
    Last Post: 1 Jun 2009, 06:55 PM
  5. PDF attachment uploads for User accounts
    By ZCguy in forum Basic Configuration
    Replies: 0
    Last Post: 31 Mar 2008, 09:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR