I'm using v1.3.8a
I have normal login set to split through the Admin>Configuration>Layout Setting>Using split login "true" option.
I also have Paypal Express (auto split login) installed which automatically comes up if there is anything in the visitor cart.
My goal: I want to change the language on the normal login page (cart empty) for New Customers. Instead of,
#1
New Customers
Create a Customer Account with [store name] which allows you to shop faster, track the status of your current orders, review your previous orders and take advantage of our other member's benefits.
I want it to read,
#2
New Customers
Continue shopping as our Guest",
-Or-
Create a Customer Account with [store name] which allows you to shop faster, track the status of your current orders, review your previous orders and take advantage of our other member's benefits.
I've edited (I think) the define language for the normal login in login.php to say what I want in example #2.
PHP Code:
<?php
/**
* @package languageDefines
* @copyright Copyright 2003-2007 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: login.php 6352 2007-05-20 21:05:01Z drbyte $
*/
define('NAVBAR_TITLE', 'Login');
define('HEADING_TITLE', 'Welcome, Please Sign In');
define('HEADING_NEW_CUSTOMER', 'New? Please Provide Your Billing Information');
define('HEADING_NEW_CUSTOMER_SPLIT', 'New Customers');
define('TEXT_NEW_CUSTOMER_INTRODUCTION', 'Continue shopping as our <b>Guest</b>...<p><center>-Or-</center><p>Create a <b>Customer Account<b> with <strong>' . STORE_NAME . '</strong> which allows you to shop faster, track the status of your current orders and review your previous orders.');
define('TEXT_NEW_CUSTOMER_INTRODUCTION_SPLIT', 'Have a PayPal account? Want to pay quickly with a credit card? Use the PayPal button below to use the Express Checkout option.');
define('TEXT_NEW_CUSTOMER_POST_INTRODUCTION_DIVIDER', '<span class="larger">Or</span><br />');
define('TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT', 'Create a Customer Account with <strong>' . STORE_NAME . '</strong> which allows you to shop faster, track the status of your current orders, review your previous orders and take advantage of our other member\'s benefits.');
define('HEADING_RETURNING_CUSTOMER', 'Returning Customers: Please Log In');
define('HEADING_RETURNING_CUSTOMER_SPLIT', 'Returning Customers');
define('TEXT_RETURNING_CUSTOMER_SPLIT', 'In order to continue, please login to your <strong>' . STORE_NAME . '</strong> account.');
define('TEXT_PASSWORD_FORGOTTEN', 'Forgot your password?');
define('TEXT_LOGIN_ERROR', 'Error: Sorry, there is no match for that email address and/or password.');
define('TEXT_VISITORS_CART', '<strong>Note:</strong> Your "Visitors Cart" contents will be merged with your "Members Cart" contents once you have logged on. <a href="javascript:session_win();">[More Info]</a>');
define('TABLE_HEADING_PRIVACY_CONDITIONS', '<span class="privacyconditions">Privacy Statement</span>');
define('TEXT_PRIVACY_CONDITIONS_DESCRIPTION', '<span class="privacydescription">Please acknowledge you agree with our privacy statement by ticking the following box. The privacy statement can be read</span> <a href="' . zen_href_link(FILENAME_PRIVACY, '', 'SSL') . '"><span class="pseudolink">here</span></a>.');
define('TEXT_PRIVACY_CONDITIONS_CONFIRM', '<span class="privacyagree">I have read and agreed to your privacy statement.</span>');
define('ERROR_SECURITY_ERROR', 'There was a security error when trying to login.');
define('TEXT_LOGIN_BANNED', 'Error: Access denied.');
?>
THE PROBLEM is that no matter how I tweak it, the PayPal split login screen also reads from the define language that I have set for normal login which will make no sense to the customer who reached said page because they have a visitor cart and clicked Checkout to get to that page (so why would they want to continue as a Guest? duh)
Do I have to create a new define???
I thought one define was for the normal screen and one was for the paypal screen but no matter how I rearrange them in .../CUSTOM/templates/tpl_login_default.php, the two pages are always the same language (#1 or #2)
Are 'TEXT_NEW_CUSTOMER_INTRODUCTION' and 'TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT' the same and just override each other? I'm confused
Bookmarks