Zen Cart Logo
Forums / Managing Customers and Orders / Restricted Customer Registration

Restricted Customer Registration

Locked

Views: 2,369

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
13 Aug 2008, 17:22
#1
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Restricted Customer Registration

Can I set up my zen cart so that only users from Michigan, USA can register? Also, is it possible to turn off registration completely and create new users from the admin panel?

Thanks,

  • Evan Byrne
13 Aug 2008, 17:36
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Restricted Customer Registration

Far as I know, you can't set up zones for registration.

What you can do is set Admin - Configuration - Customer Details - Customer Approval Status to 1 and just not approve anyone who isn't smart enough to live in the great state of Michigan.

There's an Add Customers from Admin mod here:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=454

13 Aug 2008, 17:38
#3
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

Thank you!

OK some more things: Can I change "Fax number" under Additional Contact Information to "email address" on the registration page?

13 Aug 2008, 17:44
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Restricted Customer Registration

You can change the words 'Fax Number' to 'Email Address', but it will still be processed by Zencart as a fax number, unless you do a lot more customizing.

Admin - Tools - Developers Tool Kit and search for fax number to find where that's defined.

Um, there is already a box for Email Address, too.

13 Aug 2008, 17:44
#5
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

Yet another thing, is there an easy way to remove all Countries but the USA? Doing it through Menu > Locations / Taxes >Countries Would take forever.

13 Aug 2008, 18:12
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Restricted Customer Registration

Actually, it takes 12 minutes. I timed it for another thread.

You can do it by accessing the database directly if, unlike me, you know what you're doing.

13 Aug 2008, 18:18
#7
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

OK, I'll do that then since I know SQL. BTW I have dial-up, it would take more than 12 minutes for me. ;-)

13 Aug 2008, 18:26
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Restricted Customer Registration

You must be a Yooper if you only can get dial-up.

13 Aug 2008, 20:14
#9
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

No, I live right next to Lapeer, MI (in the thumb area) but I'm just barely far enough away to not be able to get cable.

BTW thanks for all you help, you have no idea how much your input helped me! :-)

14 Aug 2008, 20:34
#10
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

OK, is it possible to completely disable customer registration on the site? I just want to manually add users from the admin panel with that mod and not allow anyone to even see a registration form on the site.

14 Aug 2008, 23:04
#11
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

Yet another question: How do you change the message content of hte E-mail Welcome Message? I tried looking all over the files and the admin panel but couldn't figure it out.

18 Aug 2008, 14:31
#12
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

Anyone know the awsers to these questions?

18 Aug 2008, 15:39
#13
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Restricted Customer Registration

There's a tutorial about the Welcome email here:

https://www.zen-cart.com/tutorials/index.php?article=20

You could strip (or comment out) the create account stuff in (I think) includes/templates/template_default/templates/tpl_modules_create_account.php

I did that some time ago, but it was in version 1.2.X, and was a lot different.

18 Aug 2008, 21:39
#14
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

How can you make shipping a percentage instead of a flat rate?

18 Aug 2008, 21:56
#15
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

Re: Restricted Customer Registration

Excuse me, I meant to say How can you make the shipping cost a percentage of your total cost instead of by weight?

10 Sep 2008, 14:19
#16
graper avatar

graper

New Zenner

Join Date:
Jul 2006
Posts:
50
Plugin Contributions:
0

Re: Restricted Customer Registration

stevesh:

There's a tutorial about the Welcome email here:

https://www.zen-cart.com/tutorials/index.php?article=20

You could strip (or comment out) the create account stuff in (I think) includes/templates/template_default/templates/tpl_modules_create_account.php

I did that some time ago, but it was in version 1.2.X, and was a lot different.

I just found this because I needed to also not allow customers the ability to register to the site. I looked at the tpl.create_account.php. Unfortunately that was not the correct file, at least partially not correct.

the file you want to edit, is tpl_login_default.php, this is the first file that gets used. This file calls the tpl_create_account.php file to display the create account form on the login page.

Also, there is a setting in admin > configuration > layout settings called "Use split-login page" which controls if the registration page shows on the page or shows a link to the create account page.

if you edit the tpl_login_default.php, there is a big if statement that determines how to show the page based on the above setting. I am keeping my setting to false and removing the code in the lower half of the page, from below <br class="clearboth" /> to just before the <!--EOF normal login --> comment. Leave the ending } in the php tags and the fina </div> otherwise you'll break the code and the layout.

10 Sep 2008, 14:21
#17
graper avatar

graper

New Zenner

Join Date:
Jul 2006
Posts:
50
Plugin Contributions:
0

Re: Restricted Customer Registration

ETbyrne:

Yet another question: How do you change the message content of hte E-mail Welcome Message? I tried looking all over the files and the admin panel but couldn't figure it out.

the message in the welcome email is stored in some files in /includes/languages/english/create_account.php and email_extras.php has the copyright message.

be sure to copy these files to a folder that matches the name of your template otherwise and update to zen will wipe out your changes

10 Sep 2008, 14:23
#18
graper avatar

graper

New Zenner

Join Date:
Jul 2006
Posts:
50
Plugin Contributions:
0

Re: Restricted Customer Registration

ETbyrne:

Excuse me, I meant to say How can you make the shipping cost a percentage of your total cost instead of by weight?

you can use the table weight shipping module. it has the ability to change shipping based on price, but you'll have to setup ranges of prices with it.