X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to disable customer registration? (https://forum.x-cart.com/showthread.php?t=393)

Jahan 10-22-2002 09:52 PM

How to disable customer registration?
 
is there a way to totally disable customer registration at check out point.
I don't want to even display that part of the form to them.
where do I go to disable that option? :?

B00MER 10-23-2002 12:41 AM

[skin1]/main/register.tpl

You'll need to remove the links in the laguages area of the admin also.

B00MER 10-23-2002 12:42 AM

Also I'd suggest enabling the debug console under general settings of the admin ;)

bluecat 12-25-2002 07:12 PM

I really don't know what I'm looking at in this file. I've played around with it without success. Although I wish there was just a simple turn off button for no required registering, I would like to make registering as simple, short and as fast as possible. How can I change this code so it only has the required fields (name, address, username and password for example). Thank you.

B00MER 12-25-2002 07:36 PM

include/register.php

Code:

$fillerror = (empty($uname) || !empty($error) || empty($passwd1) || empty($passwd2) || ($passwd1 != $passwd2) || empty($firstname) || empty($lastname) || empty($b_address) || empty($b_city) || (!empty($states) && empty($b_state)) || empty($b_country) || empty($b_zipcode) || empty($phone) || empty($email));

Simply edit that if statement to your liking.

The template file:
skin1/main/register.tpl

merry xmas! :wink:

bluecat 12-30-2002 04:54 PM

Thank you very much! :D 8O :D

gschumsky 01-22-2004 04:04 PM

Is there a way to turn off the registration (log in/authorization area on left nav) feature on the main customer page? Or, add some text to it so people know this is voluntary?

mida68 05-25-2004 09:25 AM

Turning off authentication
 
I'm a little lost on the answers to this question. I'm hoping that (by now) there might be a simple way to "turn off" customer registration? Seems like this would be a basic on/off function since many ecommerce sites do not require registration.

(it's one of the main reasons so many people switched from PayPal to more expensive services, site owners saw dramatic increases in sales if the user did not have to register)

B00MER 05-25-2004 11:22 AM

3.5.x:

skin1/auth.tpl:

find:
Code:

{if $usertype eq "C" or ($usertype eq "B" and $config.Modules.partner_register eq "Y")}
<tr>
<td height=24 nowrap class=VertMenuItems>
{include file="buttons/create_profile_menu.tpl"}
</td>
</tr>
{/if}


And remove or {* comment *} it out.

mida68 05-25-2004 11:28 AM

just to clarify...
 
If I do this, it will disable the entire login/password "authentication" process on all pages or do I need to hunt each "chunk" down separately?

And... the checkout process will not require anyone to sign up?

THanks!!


All times are GMT -8. The time now is 10:18 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.