I have given up on the COWOA mod, and modified the current login page to give the customer the appearance of not creating an account.
By modifying the login page 'Sign Up' button and text.
You can see an example of what I did here: https://northcountrychapel.com/shop/...ain_page=login
I edited these files
~~~~~~~~~~~~~~~~
includes/languages/english/button_names.php
Line 67, I changed this:
define('BUTTON_CREATE_ACCOUNT_ALT', 'Sign Up');
to be this:
define('BUTTON_CREATE_ACCOUNT_ALT', ' Continue Check Out » ');
~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
includes/languages/english/login.php
Line 19, I changed this:
define('TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT', 'Create a Customer Profile 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.');
to be this:
define('TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT', 'New customers click Continue Check Out.');
~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
includes/templates/MY_TEMPLATE/templates/tpl_login_default.php
Around Line 19, beneath "Use Split Login" code, I styled the 2 options to stack on top of each other. This way the "New Customer" box was on top of the "Returning Customers".
NOTE - Be sure to remove the old COWOA box
Code:
<fieldset class="centerColumn" id="">
<legend><?php echo HEADING_NEW_CUSTOMER_SPLIT; ?></legend>
<?php // ** BEGIN PAYPAL EXPRESS CHECKOUT ** ?>
<?php if ($ec_button_enabled) { ?>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION_SPLIT; ?></div>
<div class="center"><?php require(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/tpl_ec_button.php'); ?></div>
<hr />
<?php echo TEXT_NEW_CUSTOMER_POST_INTRODUCTION_DIVIDER; ?>
<?php } ?>
<?php // ** END PAYPAL EXPRESS CHECKOUT ** ?>
<?php echo zen_draw_form('create', zen_href_link(FILENAME_CREATE_ACCOUNT, 'action=process', 'SSL')); ?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CREATE_ACCOUNT, BUTTON_CREATE_ACCOUNT_ALT); ?></div>
</form>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT; ?></div>
</fieldset>
<fieldset class="">
<legend><?php echo HEADING_RETURNING_CUSTOMER_SPLIT; ?></legend>
<div class="information"><?php echo TEXT_RETURNING_CUSTOMER_SPLIT; ?></div>
<?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?>
<label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
<?php echo zen_draw_input_field('email_address', '', 'size="18" id="login-email-address"'); ?>
<br class="clearBoth" />
<label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>
<?php echo zen_draw_password_field('password', '', 'size="18" id="login-password"'); ?>
<br class="clearBoth" />
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT); ?></div>
<div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></div>
</form>
</fieldset>
~~~~~~~~~~~~~~~~
Hopefully this will help other people who are having issues with the COWOA and are looking for another option.
The obvious draw back to this, is if a customer just decides to create an account, while nothing is in their shopping cart, the Sign up page appears to be a check out page. As I very rarely have anyone decide to just create an account, I think this benefit out weighs the drawback.
Bookmarks