Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Nov 2012
    Posts
    2
    Plugin Contributions
    0

    Default Would like to be able for customer to download pdf's with out the cart option turned

    I would like to have the cart be set to call only for orders . But I would like to have pdf's downloadable from the products page with out the check out process. if anyone could point me in the right direction I would appreciate it.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Would like to be able for customer to download pdf's with out the cart option tur

    Simple. Since what you've described is that you're not using ecommerce for any of your PDF files, simply upload your PDF files to the server someplace, and then in the product description, or in any other place on your site, simply insert an A HREF link to that pdf file. Very basic HTML. Has nothing to do with Zen Cart or ecommerce at all.

    Example HTML:
    Code:
    <a href="the_file_name.pdf">The Document Title To Display For Clicking On</a>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: Would like to be able for customer to download pdf's with out the cart option tur

    Quote Originally Posted by DrByte View Post
    Simple. Since what you've described is that you're not using ecommerce for any of your PDF files, simply upload your PDF files to the server someplace, and then in the product description, or in any other place on your site, simply insert an A HREF link to that pdf file. Very basic HTML. Has nothing to do with Zen Cart or ecommerce at all.

    Example HTML:
    Code:
    <a href="the_file_name.pdf">The Document Title To Display For Clicking On</a>
    Thanks, Some times I get to looking to hard and forget the basics. Thank you.

  4. #4
    Join Date
    Feb 2011
    Posts
    82
    Plugin Contributions
    0

    Default Re: Would like to be able for customer to download pdf's with out the cart option tur

    Hi Dr. Byte,
    Can you advise why I got this message? after

    <a href="http://www.sunruffles.com/images/cert/ReserveCAPeTestResults.pdf"><span style="font-size:14px;"><span style="color:#000080;">Reserve&trade; CAP-e Test Results</span></span></a></p>


    Forbidden

    You don't have permission to access /images/cert/ReserveCAPeTestResults.pdf on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Thank you. jean

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Would like to be able for customer to download pdf's with out the cart option tur

    Quote Originally Posted by Orkid View Post
    Forbidden

    You don't have permission to access /images/cert/ReserveCAPeTestResults.pdf on this server.
    Probably because the /images/.htaccess doesn't have "pdf" file extension whitelisted, since a pdf isn't really an image filetype.
    Thus the security protections are denying access.
    Add pdf to the list of filetypes in /images/.htaccess
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 19 Dec 2014, 01:16 PM
  2. I would like to restrict cart image to products with no attributes
    By member in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Aug 2011, 06:37 AM
  3. Replies: 13
    Last Post: 16 Mar 2007, 09:08 PM

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