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

Moving registration page to the front of the store

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-25-2006, 11:13 AM
 
Deane Deane is offline
 

Newbie
  
Join Date: Apr 2006
Location: Santa Monica
Posts: 5
 

Default Moving registration page to the front of the store

Store owner wants to move the "registration" screen to the front of the store.

So a user is first asked to login or register.

After registration (or login), user should then be taken to the root category listing.

I can't figure out if this is possible. It strikes me that the login and registration process is tightly tied into checkout, so completing the registration would move the user further along in a (non-existent) check-out process.

Any thoughts?

Deane
X-Cart v4.0.18
Reply With Quote
  #2  
Old 07-25-2006, 12:43 PM
 
balinor balinor is offline
 

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

Default

Registration/Login can be its own screen, it doesn't need to tie into checkout. What I've done in the past is add the registration to welcome.tpl, but surround it with an {if} statement, so when someone IS logged in they get a welcome message instead of the login screen.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-25-2006, 12:48 PM
 
Deane Deane is offline
 

Newbie
  
Join Date: Apr 2006
Location: Santa Monica
Posts: 5
 

Default

So, I'm assuming I put this into welcome.tpl:

{include file="customer/main/register.tpl"}

Then will they skip that screen during checkout? If it detects they're already logged in, will it bypass?
__________________
Kalika Yap
v4.0.18
Reply With Quote
  #4  
Old 07-25-2006, 12:55 PM
 
balinor balinor is offline
 

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

Default

Actually let me correct that statement...I'd put the LOGIN in welcome.tpl...people who have already registered don't need to see the reg form again. So do something like this:

{if $login eq ""}
{include file="auth.tpl"}
{else}
{$lng.txt_welcome}
{/if}

That will show them a login screen if they aren't logged in, and the welcome text once they are. If they don't have a login, there is a link to the registration form below the login area.

Yes, the cart will skip registration if someone is already logged in.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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:04 PM.

   

 
X-Cart forums © 2001-2020