Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    help question Downloads - Logged in only

    I've almost finished setting up my Zen-Cart site, quite happy with how it's coming along :) Although I am using the default template... many changes have been made to it so I'm not really able to change to something different...

    Anyways, I have a product catalogue that I'm needing to make available to all customers, but only available once they've logged in. This contains all our wholesale pricing, so I'm needing it to be secure (unable to be downloaded from just typing in the URL).

    How can I set it up (and place it somewhere in the Zen-Cart installation) so that this PDF can only be downloaded by someone who is currently logged in to the website, and unable to be downloaded by just typing in the direct URL?

    (I'm assuming a PHP URL mask of some sort but could be wrong here?)

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Downloads - Logged in only

    I've almost finished setting up my Zen-Cart site, quite happy with how it's coming along :) Although I am using the default template... many changes have been made to it so I'm not really able to change to something different...
    Just a matter of copying the contents of any classic folder you have edited files in to another named for your template and editing the template_info.php file to reflect this name
    https://www.zen-cart.com/tutorials/i...hp?article=142
    I have a product catalogue that I'm needing to make available to all customers, but only available once they've logged in. This contains all our wholesale pricing, so I'm needing it to be secure (unable to be downloaded from just typing in the URL).
    Stick the catalog download html code in a side box - - the 3rd party "blank sidebox" might fit your need and maybe an image of the catalog??
    Then follow the tutorial
    https://www.zen-cart.com/tutorials/i...hp?article=279

  3. #3
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Downloads - Logged in only

    Thanks :) I've installed that, seems like it would work quite well. Just one quick question tho - how do I set it so it can only be viewed by someone who is currently logged in? At the moment I'm not logged in but I'm seeing it in the sidebar.

  4. #4
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Downloads - Logged in only

    bahahahaha... sorry man, forgot to read the tutorial link... it's been a crazy few days...

 

 

Similar Threads

  1. Sidebox Visible to Logged in Members Only
    By jeskremer in forum Basic Configuration
    Replies: 32
    Last Post: 21 Feb 2011, 01:55 AM
  2. Downloads without being logged in
    By Rabarbervin in forum General Questions
    Replies: 4
    Last Post: 25 Nov 2010, 07:58 PM
  3. Showing prices only to logged clients
    By silverbitz in forum Basic Configuration
    Replies: 3
    Last Post: 10 Feb 2007, 05:56 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