Forums / General Questions / Can Customer Authorization:Hide be avaliable when visiting site

Can Customer Authorization:Hide be avaliable when visiting site

Locked

Views: 1,039

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
15 Aug 2010, 3:35 AM
#1
dimsumgurl avatar

dimsumgurl

Zen Follower

Join Date:
Dec 2009
Location:
Canada
Posts:
160
Plugin Contributions:
0

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 https://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 :)

15 Aug 2010, 6:58 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

15 Aug 2010, 3:34 PM
#3
dimsumgurl avatar

dimsumgurl

Zen Follower

Join Date:
Dec 2009
Location:
Canada
Posts:
160
Plugin Contributions:
0

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.

15 Aug 2010, 3:49 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

15 Aug 2010, 4:15 PM
#5
dimsumgurl avatar

dimsumgurl

Zen Follower

Join Date:
Dec 2009
Location:
Canada
Posts:
160
Plugin Contributions:
0

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

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

15 Aug 2010, 6:01 PM
#6
dimsumgurl avatar

dimsumgurl

Zen Follower

Join Date:
Dec 2009
Location:
Canada
Posts:
160
Plugin Contributions:
0

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/showthread.php?p=922138#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.....

15 Aug 2010, 11:13 PM
#7
dimsumgurl avatar

dimsumgurl

Zen Follower

Join Date:
Dec 2009
Location:
Canada
Posts:
160
Plugin Contributions:
0

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?