| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Moving registration page to the front of the store | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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 |
|||||||
#4
|
|||||||
|
|||||||
![]() 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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|