Forums / Templates, Stylesheets, Page Layout / How to disable split-login? I prefer vertical login page.

How to disable split-login? I prefer vertical login page.

Results 1 to 5 of 5
07 Nov 2008, 09:05
#1
ericgu avatar

ericgu

New Zenner

Join Date:
Aug 2005
Posts:
58
Plugin Contributions:
0

How to disable split-login? I prefer vertical login page.

First thing I have to mention:
in my zen-cart admin > confiquration > Use split-login page > already set to false!

And I have enabled paypal Express check out module.

The problem is:
When user's shopping cart is empty, the login page is in normal vertical style.
While when user's shopping cart is not empty, the login page is in split style. And have a paypal EC button in 'new client' area.

I don't want split-login anyway.
So please advise how to disable it.

Thanks。
07 Nov 2008, 09:59
#2
ericgu avatar

ericgu

New Zenner

Join Date:
Aug 2005
Posts:
58
Plugin Contributions:
0

Re: How to disable split-login? I prefer vertical login page.

ok, I figured out.

Just remove a short code from tpl_login_default.php
07 Nov 2008, 11:50
#3
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
0

Re: How to disable split-login? I prefer vertical login page.

I would compare your installation of Zen Cart with a fresh copy - just to make sure that the 'Use split-login page' admin switch isn't broken.
12 Mar 2009, 02:12
#4
simondale123 avatar

simondale123

New Zenner

Join Date:
Jun 2008
Posts:
60
Plugin Contributions:
0

Re: How to disable split-login? I prefer vertical login page.

To add a bit more meat to the bones of ericgu's solution for anyone else wanting to do the same thing:

Open tpl_login_default.php in your templates folder.
Find this part on around row 20:

<?php if ( USE_SPLIT_LOGIN_MODE == 'True' || $ec_button_enabled) { ?>

And modify it to this:

<?php if ( USE_SPLIT_LOGIN_MODE == 'True' ) { ?>

Once you've done that you're back to your standard non-split login page without any Paypal Express button.

You can choose the Paypal option from the payment radio buttons on the payment part of the checkout.

All works fine.

Simon
05 Jan 2011, 20:14
#5
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Posts:
293
Plugin Contributions:
0

Re: How to disable split-login? I prefer vertical login page.

<< to expand on the concept of this thread >>

How to get vertical login, after something is in the cart, but also have the vertical login retain the PPEC button? The code changes so far in this thread will wipe-out the PPEC button while achieving the goal of getting vert login instead of split login, but I'd like to retain the PPEC button as part of the vertical page.