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)
-   -   Can customer registration be disabled/removed? (https://forum.x-cart.com/showthread.php?t=54032)

Karen1958 06-03-2010 01:42 PM

Can customer registration be disabled/removed?
 
My customers don't register and I don't want that to be displayed on the website. Right now it's in the header (I think - I don't even know from which template I would remove it) and probably on the checkout pages as well, though I'm using the trial version and checkout is disabled, so I can't check.

Anyway to remove all traces of this?

minfinger 06-14-2010 07:22 PM

Re: Can customer registration be disabled/removed?
 
Well I hate to point out what seems obvious, but in General settings:
Uncheck - Disable anonymous checkout
Uncheck - Enable sign-up for membership

That might do it, but I've never set those options.

I convinced my client that it was valuable data to maintain customer contact info, if only first/last name and the email.

cflsystems 06-15-2010 01:52 PM

Re: Can customer registration be disabled/removed?
 
You can remove the register link if you want to. You can remove the login info from register form. You can't remove the form from checkout - your customers will have no way of entering their personal and shipping info.

bjharrington 06-28-2010 07:45 AM

Re: Can customer registration be disabled/removed?
 
Yes. I edited the Head Template. I opened...

Quote:

skin1>customer>head.tpl

and changed...

Code:

{if $login eq "" }
  {include file="customer/auth.tpl" }
{else}
  {include file="customer/authbox.tpl" }
{/if}


to...

Code:

<!--{if $login eq "" }
          {include file="customer/auth.tpl" }
      {else}
          {include file="customer/authbox.tpl" }
      {/if}-->


I just added the "<!-- -->" comment tags around the code that pulls up the login and register links.

Hope this helps.

balinor 06-28-2010 07:56 AM

Re: Can customer registration be disabled/removed?
 
Don't use those kinds of comments in Smarty templates. The proper way to comment out code in Smarty is:

{* Commented out code *}


All times are GMT -8. The time now is 06:06 AM.

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