Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Removing username and password on checkout

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-12-2006, 04:53 PM
 
rgbman rgbman is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 33
 

Default Removing username and password on checkout

I want to remove the whole section at the bottom of the first checkout page where it allows you to pick a username and password and membership.
Is commenting that out good enough?

Thanks
__________________
4.0.17
Reply With Quote
  #2  
Old 02-13-2006, 03:55 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Yep, just make sure 'Disable Anon Checkout' is NOT checked in General Settings.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-13-2006, 09:14 PM
 
rgbman rgbman is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 33
 

Default

Ok I thought I could track down where to remove this but I figured wrong. What file holds this?

Thanks
__________________
4.0.17
Reply With Quote
  #4  
Old 02-14-2006, 03:04 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Customer/main/register.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 06-22-2006, 07:26 PM
 
Angus Lovitt Angus Lovitt is offline
 

Newbie
  
Join Date: May 2006
Posts: 6
 

Default

Beware... you may get an error 36 when you try to modify the profile after the details have already been entered... well i do on 411

"The problem arises because of the custom change you made in the template 'skin1/customer/main/register.tpl': you replaced the line

{include file="main/register_account.tpl" userinfo=$userinfo}

with



To solve the problem you should restore the original line."

I am now looking at editing the register_account.tpl itself
__________________
X-CART GOLD 4.1
Reply With Quote
  #6  
Old 01-07-2009, 08:13 AM
 
presson83 presson83 is offline
 

Senior Member
  
Join Date: Sep 2008
Posts: 143
 

Default Re: Removing username and password on checkout

I see this is an old post, but I too am having this issue and have yet to figure out a fix. Does anyone know how to remove the username/password section from customer/main/register.tpl and NOT run into the error when modifying the information and clicking submit? Rather than fully deleting the include of main/register_account.tpl I've tried the following if statement as well:

{if $usertype eq "A"}
{include file="main/register_account.tpl" userinfo=$userinfo}
{/if}

This is also effective in removing the section, but I still get the Access Denied your are not allowed to access that resource error id #36 message when trying to modify account information.

Any ideas on how to remove the username/password area the correct way would be great!
__________________
v 4.1.11, v 4.2
Reply With Quote
  #7  
Old 01-09-2009, 03:56 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Removing username and password on checkout

You probably don't want to remove the template, just comment out the part the customer sees about "You don't have to register and can checkout without creating an account...(or whatever you have)" and then commenting out the portions that the customer enters a username and password. By enabling Anon checkout the customer doesn't need to see it. Be aware that you will still see customers labeled as anon...1, anon..2, etc. Also, be ready to answer questions about "where is my order?"
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #8  
Old 01-12-2009, 05:07 AM
 
presson83 presson83 is offline
 

Senior Member
  
Join Date: Sep 2008
Posts: 143
 

Default Re: Removing username and password on checkout

Hi J,

I've tried commenting out the username and password field section, and it does effectively take it away, but the problem is that on the page directly after the personal info page (verify order) if you click the modify button and try to save a change it spits out the "Access Denied your are not allowed to access that resource error id #36" error message. I definitely have anan checkout enabled - it seems like some sort of a session error or something as if it doesn't think it's the same person that just filled in the information.

I'm sure there must be a way to do this so if anyone has a tip on how to avoid this error that would be great!
__________________
v 4.1.11, v 4.2
Reply With Quote
  #9  
Old 04-28-2009, 08:11 PM
 
delphi delphi is offline
 

Senior Member
  
Join Date: Jul 2004
Posts: 185
 

Default Re: Removing username and password on checkout

I am in the same boạt I need help on this issue. Does anyone know how to sovle this issue?

thanks
__________________
X-Cart Gold version 4.4.4
X-Cart directory /home/web/u/ugchweb/cart
PHP 5
MySQL server 5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020