Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    160
    Plugin Contributions
    0

    Default Can Customer Authorization:Hide be avaliable when visiting site

    Hello All!

    I was just wondering something:

    I noticed that in the admin, you can customize what parts of the page can be viewed while customers wait for their account to be authorized such as the footer, header, side boxes, prices etc.

    Can something like that be applied for when someone visits the site?

    Example:

    Visiting www.mysite.com

    Then we can turn off the header which is where my categories are listed so they can visit terms and conditions, privacy notice and whatever else is in the footer and see the homepage.

    Right now, my option is to have "must be logged in to browse" but that is not allowing potential customers to see what we can offer which can be viewed in the pages stated above.

    I have been reading into modding the /includes/init_includes/init_customer_auth.php and tpl_main_page.php.

    However, if there is an alternative I would like to know more about it.


    Thanks for reading :)

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

    Default Re: Can Customer Authorization:Hide be avaliable when visiting site

    You start out stating
    Then we can turn off the header which is where my categories are listed so they can visit terms and conditions, privacy notice and whatever else is in the footer and see the homepage.
    But then go on to state
    Right now, my option is to have "must be logged in to browse" but that is not allowing potential customers to see what we can offer which can be viewed in the pages stated above.
    Can you outline exactly what it is you want them to be able to see and what it is you do not want them to be able to see??
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    160
    Plugin Contributions
    0

    Default Re: Can Customer Authorization:Hide be avaliable when visiting site

    hey!

    alright, the "must be logged in to browse" option always redirects to the create an account page. They can't click on terms to see what our terms are if they want to purchase. They can't click on anything except for contact us.

    our homepage outlines the services we provide and a company mission statement etc. but you can't see that when you have the must be logged in to browse option on. I just stays on create an account.

    I just want to hide the header so they can't have access to my categories to view my products. Even if there is a "don't show prices without account", I don't like when anyone can see what products I have designed in case they are copied.

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

    Default Re: Can Customer Authorization:Hide be avaliable when visiting site

    Have a look at the comments and conditions in a copy of

    tpl_header.php

    I suppose that you are going to require authorization for one to have an account

    You can alter the if statement for customer authorization to suit
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    160
    Plugin Contributions
    0

    Default Re: Can Customer Authorization:Hide be avaliable when visiting site

    alright then! I will take a look. Thanks for the tip :)

  6. #6
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    160
    Plugin Contributions
    0

    Default Re: Can Customer Authorization:Hide be avaliable when visiting site

    I actually got an answer to my situation from this thread:

    http://www.zen-cart.com/forum/showth...138#post922138

    I could just add the name of the pages that they can view under customer approval circumstances. I just added FILENAME_CONDITIONS and 'pages' to allow people to see my EZ pages of about us and services we provide.

    The thing im trying to figure out now is adding the index or the homepage to that list.....

  7. #7
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    160
    Plugin Contributions
    0

    Default Re: Can Customer Authorization:Hide be avaliable when visiting site

    alright... so I tried 'index' in the array fields and that somewhat worked... it showed my home page BUT you are able to click on my header categories.


    What I am discovering is the EZ-Pages Pages to disable headers

    I know you can list the page numbers of the site to for some pages to show the header and some not. I just don't want the EZ Pages Header to show on my home page untill they log in.... How can I do that?

 

 

Similar Threads

  1. Replies: 2
    Last Post: 27 Apr 2012, 04:59 PM
  2. Hide web site from customer, but visible for admin
    By Semenek in forum General Questions
    Replies: 2
    Last Post: 26 Jan 2011, 09:25 PM
  3. Not working: Customer Authorization: Hide Column Left ?
    By seanzhu in forum Customization from the Admin
    Replies: 2
    Last Post: 7 Sep 2010, 12:00 PM
  4. Customer Authorization - Can I Change while they're still logged in?
    By eplutons in forum Managing Customers and Orders
    Replies: 5
    Last Post: 7 Jan 2009, 03:34 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