ekele:
You are a genius!:D
Now everything works perfectly!
One more question: on billing page customers see PayPal button first, then information they can log in and, at the end, information they can checkout without creating an account. Is it possible to change it so that information would be first? I have noticed twice today customers have an item in shopping cart and then they abandon cart:cry: I do not know if they don't bother to scroll page and they don't see "No account" option or they just testing my website (but what for??) So I think if this option would be first, it would be more visible. I hope I made clear what I mean.
Anyway, like I said, I like this Mod! Thank you!
One of those carts was probably me looking at your site seeing what you were seeing.
Ok, so on your Login Page, the Paypal button gets setup on the top of the page.
You can either edit the text in the includes/languages/english/login.php file where it has this
define('TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT', 'Returning customers may benefit from creating an 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.');
and change it so they can read that down below they can use the COWOA part or you would have to edit the includes/templates/template_default/templates/tpl_login_default.php file. In there you will see this:
<?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 ** ?>
Move this code to below this so it is below the CONTINUE Button for COWOA.
<!-- BOF COWOA -->
<?php if (COWOA_STATUS == 'true') { ?>
<fieldset>
<legend>Checkout Without Account</legend>
<?php echo TEXT_RATHER_COWOA; ?>
<div class="buttonRow forward">
<?php echo "<a href=\"" . zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL') . "\">"; ?>
<?php echo zen_image_button(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT); ?></a></div>
<br class="clearBoth" />
</fieldset>
<?php } ?>
<!-- BOF COWOA -->
<!-- PayPal Code above inserted here -->
<?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 ** ?>
Remember to erase the PayPal code from the top of the file if you move it.