Forums / General Questions / Adding Customers Manually & No Registration

Adding Customers Manually & No Registration

Locked
Results 1 to 4 of 4
This thread is locked. New replies are disabled.
21 Jul 2008, 18:45
#1
bushytea avatar

bushytea

New Zenner

Join Date:
Jul 2007
Posts:
24
Plugin Contributions:
0

Adding Customers Manually & No Registration

Well have a store I am building that is going to be for wholesale only customers. The person would rather add each customer manually as there will only be a certain number who need access to the store.

I currently have an external page that allows the store to be hidden behind while also allowing customers to sign in from this external page if given access.

So just wondering if there is a way to add customers manually as well as disabeling registration.

Registration wouldn't be such an issue except if you go to the external log in page and just hit login it redirects you back to the login/registration page to show you the error during login.

Thanks!
21 Jul 2008, 21:45
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Adding Customers Manually & No Registration

If you're registering the customer, why not just use the regular create-account page? That will register them and send them an email welcoming them to the site.

As for disabling registration, you could rename the create_account page by renaming /includes/modules/pages/create_account to another name; then rename your tpl_create_account_default.php template file similarly, and finally update the /includes/filenames.php to give a new name to the value of FILENAME_CREATE_ACCOUNT (the value on the right-side of that definition). You might want to also remove the call to the create_account module from inside your tpl_login_default.php template file so that the login page never shows the create-account option.
21 Jul 2008, 22:00
#3
bigbadboy avatar

bigbadboy

Totally Zenned

Join Date:
Apr 2008
Posts:
557
Plugin Contributions:
0

Re: Adding Customers Manually & No Registration

Or you could use the Add customers from Admin mod.
21 Jul 2008, 22:52
#4
bushytea avatar

bushytea

New Zenner

Join Date:
Jul 2007
Posts:
24
Plugin Contributions:
0

Re: Adding Customers Manually & No Registration

DrByte:

If you're registering the customer, why not just use the regular create-account page? That will register them and send them an email welcoming them to the site.

As for disabling registration, you could rename the create_account page by renaming /includes/modules/pages/create_account to another name; then rename your tpl_create_account_default.php template file similarly, and finally update the /includes/filenames.php to give a new name to the value of FILENAME_CREATE_ACCOUNT (the value on the right-side of that definition). You might want to also remove the call to the create_account module from inside your tpl_login_default.php template file so that the login page never shows the create-account option.


Well it isn't so much them being able to use the page as it is that if you click the login button on the external login page it redirects to the login/create account page (for error handling) so anybody is able to find the page and create an account.

It would just be easier to have it redirect elsewhere if there is no login information or an error but from what I researched you can not change where it redirects so the next option is to remove the registration option all together or as you explained hide it from the normal user.

bigbadboy:

Or you could use the Add customers from Admin mod.


Thanks. I will give that a try as I must have overlooked it in my searches earlier.