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)
-   -   Removing username and password on checkout (https://forum.x-cart.com/showthread.php?t=19889)

rgbman 02-12-2006 04:53 PM

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

balinor 02-13-2006 03:55 AM

Yep, just make sure 'Disable Anon Checkout' is NOT checked in General Settings.

rgbman 02-13-2006 09:14 PM

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

Thanks

balinor 02-14-2006 03:04 AM

Customer/main/register.tpl

Angus Lovitt 06-22-2006 07:26 PM

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

presson83 01-07-2009 08:13 AM

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!

JWait 01-09-2009 03:56 PM

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?"

presson83 01-12-2009 05:07 AM

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!

delphi 04-28-2009 08:11 PM

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


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

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