Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Aug 2020
    Location
    Richarson
    Posts
    94
    Plugin Contributions
    0

    Default Re: Make content exclusive to authorized customers only?

    Quote Originally Posted by niccol View Post
    Sorry I made a silly error. Try this one ...
    I found one small change to the last file did the trick for me for anyone else having a look:

    Change from false to true at abt line#53:

    // proceed normally
    $show_ez = false;

    Changed to:
    $show_ez = true;



    Thanks again for your help. Please advise how I can donate for your time.!!

  2. #12
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Make content exclusive to authorized customers only?

    Be aware that you might want some EZ pages to show to everyone.

    There is a line at the top of the file which will let you do that....

    Code:
    $always_show = array('0','1000');
    Which means that Ezpage id=0 and id=1000 will always show.

    If I get a moment I will turn it into a plugin :-) But that might mean that I have to pay attention as to what the various settings actually do!

  3. #13
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Make content exclusive to authorized customers only?

    Always do what Scott tells you to :-)

    https://www.zen-cart.com/showthread....cure&p=1371607

    This is a slightly cleaner version of the hack that I made earlier. It uses notifiers rather than just hacking the code so is a bit less intrusive.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v155 Sidebox Question: How to make a column appear ONLY when it has content?
    By Feznizzle in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Nov 2017, 02:01 PM
  2. v139h Exclusive Products to Approved Buyers Only
    By Rick5150 in forum General Questions
    Replies: 0
    Last Post: 25 Apr 2012, 09:38 AM
  3. v150 make Purchase Orders only an option for select customers
    By artjewl in forum Managing Customers and Orders
    Replies: 1
    Last Post: 21 Feb 2012, 10:25 PM
  4. How can I make products only viewable to registered members or customers?
    By mohinder in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Jun 2007, 08:11 AM
  5. How to make specific items visible only to special customers?
    By darthjones in forum General Questions
    Replies: 10
    Last Post: 4 Aug 2006, 10:22 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