Re: Fast and Easy Checkout for Zen Cart
I've run in to another issue with FEC that I don't understand.
I was able to run an order through the first time. In testing a second time, using the same email address as I did during the first order, I get this message on the no_account page:
Quote:
Our system already has a record of that email address - please try logging in with that email address. If you do not use that address any longer you can correct it in the My Account area.
Shouldn't it be bypassing this check for FEC?
Re: Fast and Easy Checkout for Zen Cart
I think I figured out the issue. I only had 'Checkout Without Account Only' marked as 'true' and not 'Checkout Without Account' as well.
I suppose the configuration confused me, but it seems that it'll allow multiple entries with the same email address in to the customers tbl as long as both of those are marked 'true'.
If they aren't, you'll get that account validation error.
Re: Fast and Easy Checkout for Zen Cart
Hey guys. I'm trying to implement free shipping for orders more than $xx.xx amount. I followed this tutorial to set it to the price I want:
https://www.zen-cart.com/tutorials/index.php?article=68
However, for FEC checkout, I'm only seeing my UPS module options display on the shipping selection screen.
Is there a bug or something I have to do with FEC to get this to work?
Re: Fast and Easy Checkout for Zen Cart
Once your free shipping limit is reached. No shipping option will be displayed. There is more to it though. You may want to look in one of the free shipping threads. I messed with it awhile ago, unfortunately, I don't remember everything that was involved. I believe using a discount code keeps the shipping options shown.
Re: Fast and Easy Checkout for Zen Cart
OK, I'm sure there is an easy fix for this stupid error. I have been looking n looking with no luck.
I'm getting this error in he cache folder.
[26-Feb-2010 10:28:53] PHP Warning: include(includes/templates/classic/templates/fec/tpl_modules_esl_ordertotal.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/northame/public_html/includes/templates/template_default/templates/tpl_login_default.php on line 19
[26-Feb-2010 10:28:53] PHP Warning: include(includes/templates/classic/templates/fec/tpl_modules_esl_ordertotal.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/northame/public_html/includes/templates/template_default/templates/tpl_login_default.php on line 19
[26-Feb-2010 10:28:53] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'includes/templates/classic/templates/fec/tpl_modules_esl_ordertotal.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/northame/public_html/includes/templates/template_default/templates/tpl_login_default.php on line 19
Now we do not use /classic/
Everything seems to be working though. We ran several test orders with no warnings or errors. Well, except the coupon code worked but it did not adjust the price.
Sooo, any thoughts on what's causing these errors?
Running 1.3.8a and FEC 1.7.1.6 from the numinix.com site.
Thank you in advance.
Re: Fast and Easy Checkout for Zen Cart
I have this module installed but can anyone advise me how I remove / edit this text on checkout
Your order will be shipped to the address at the left or you may change the shipping address by clicking the Change Address button.
Re: Fast and Easy Checkout for Zen Cart
Search for it in file: /includes/languages/english/checkout.php
Replace with the text you want.
Tip: Use Tools > Developers Tool Kit and search for specific strings to find file locations. Will save you a lot of time. For example, you might search for "shipped to the address at the left" (without quotes) under the search for all files, and select catalog (or admin/catalog). It will show you the file and line # of file where that string of text is present.
Re: Fast and Easy Checkout for Zen Cart
Quote:
Originally Posted by
litepockets
Search for it in file: /includes/languages/english/checkout.php
Replace with the text you want.
Tip: Use Tools > Developers Tool Kit and search for specific strings to find file locations. Will save you a lot of time. For example, you might search for "shipped to the address at the left" (without quotes) under the search for all files, and select catalog (or admin/catalog). It will show you the file and line # of file where that string of text is present.
Litepockets.... you are true legend... thanks mate!
If i wanted to remove the addresses totally do you know how to do that also?
thanks very much ;-)
Re: Fast and Easy Checkout for Zen Cart
Hey Jay,
Are you asking how to remove the whole fieldset? IE. not display the address or ability to edit it?
If so, I would try commenting out the fieldsets "checkoutShipTo" and "checkoutBillTo" in /includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_stacked.php
First backup the file, and do the following.
Starting at line 168 (on latest revision of FEC) find:
PHP Code:
<fieldset class="checkout" id="checkoutShipTo">
<legend><?php echo TABLE_HEADING_SHIPPING_ADDRESS; ?></legend>
<?php if ($messageStack->size('checkout_shipping') > 0) echo $messageStack->output('checkout_shipping'); ?>
<div id="checkoutShipto" class="floatingBox back">
<address class="checkoutAddress"><?php echo zen_address_label($_SESSION['customer_id'], $_SESSION['sendto'], true, ' ', '<br />'); ?></address>
</div>
<div class="floatingBox important forward"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION; ?></div>
<?php if ($displayAddressEdit) { ?>
<script language="javascript" type="text/javascript"><!--
var Browser = {
Version: function() {
var version = 999; // we assume a sane browser
if (navigator.appVersion.indexOf("MSIE") != -1)
// bah, IE again, lets downgrade version number
version = parseFloat(navigator.appVersion.split("MSIE")[1]);
return version;
}
};
if (Browser.Version() < 8) {
document.write('<?php echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?>');
} else {
document.write('<?php echo '<div class="buttonRow">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT, 'id="changeCheckoutShippingAddr"') . '</div>';?>');
}
//--></script>
<noscript><div class="buttonRow"><?php echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?></div></noscript>
<?php } ?>
</fieldset>
Change to:
PHP Code:
<!--<fieldset class="checkout" id="checkoutShipTo">
<legend><?php //echo TABLE_HEADING_SHIPPING_ADDRESS; ?></legend>
<?php //if ($messageStack->size('checkout_shipping') > 0) echo $messageStack->output('checkout_shipping'); ?>
<div id="checkoutShipto" class="floatingBox back">
<address class="checkoutAddress"><?php //echo zen_address_label($_SESSION['customer_id'], $_SESSION['sendto'], true, ' ', '<br />'); ?></address>
</div>
<div class="floatingBox important forward"><?php //echo TEXT_CHOOSE_SHIPPING_DESTINATION; ?></div>
<?php //if ($displayAddressEdit) { ?>
<script language="javascript" type="text/javascript"><!--
var Browser = {
Version: function() {
var version = 999; // we assume a sane browser
if (navigator.appVersion.indexOf("MSIE") != -1)
// bah, IE again, lets downgrade version number
version = parseFloat(navigator.appVersion.split("MSIE")[1]);
return version;
}
};
if (Browser.Version() < 8) {
document.write('<?php //echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?>');
} else {
document.write('<?php //echo '<div class="buttonRow">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT, 'id="changeCheckoutShippingAddr"') . '</div>';?>');
}
//-->
<!--</script>
<noscript><div class="buttonRow"><?php //echo '<a href="' . $editShippingButtonLink . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?></div></noscript>
<?php //} ?>
</fieldset>-->
Then starting on line 355 find:
PHP Code:
<fieldset class="checkout" id="checkoutBillTo">
<legend><?php echo TABLE_HEADING_BILLING_ADDRESS; ?></legend>
<div id="checkoutBillto" class="floatingBox back">
<address><?php echo zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], true, ' ', '<br />'); ?></address>
</div>
<div class="floatingBox important forward"><?php echo TEXT_SELECTED_BILLING_DESTINATION; ?></div>
<?php if (MAX_ADDRESS_BOOK_ENTRIES >= 2) { ?>
<script language="javascript" type="text/javascript"><!--
var Browser = {
Version: function() {
var version = 999; // we assume a sane browser
if (navigator.appVersion.indexOf("MSIE") != -1)
// bah, IE again, lets downgrade version number
version = parseFloat(navigator.appVersion.split("MSIE")[1]);
return version;
}
};
if (Browser.Version() < 8) {
document.write('<?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?>');
} else {
document.write('<?php echo '<div class="buttonRow">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT, 'id="changeCheckoutPayAddr"') . '</div>';?>');
}
//--></script>
<noscript><div class="buttonRow"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?></div></noscript>
<?php } ?>
</fieldset>
Change to:
PHP Code:
<!--<fieldset class="checkout" id="checkoutBillTo">
<legend><?php //echo TABLE_HEADING_BILLING_ADDRESS; ?></legend>
<div id="checkoutBillto" class="floatingBox back">
<address><?php //echo zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], true, ' ', '<br />'); ?></address>
</div>
<div class="floatingBox important forward"><?php //echo TEXT_SELECTED_BILLING_DESTINATION; ?></div>
<?php //if (MAX_ADDRESS_BOOK_ENTRIES >= 2) { ?>
<script language="javascript" type="text/javascript"><!--
var Browser = {
Version: function() {
var version = 999; // we assume a sane browser
if (navigator.appVersion.indexOf("MSIE") != -1)
// bah, IE again, lets downgrade version number
version = parseFloat(navigator.appVersion.split("MSIE")[1]);
return version;
}
};
if (Browser.Version() < 8) {
document.write('<?php //echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?>');
} else {
document.write('<?php //echo '<div class="buttonRow">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT, 'id="changeCheckoutPayAddr"') . '</div>';?>');
}
//--></script>
<!--
<noscript><div class="buttonRow"><?php //echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?></div></noscript>
<?php //} ?>
</fieldset>-->
This is only a suggestion, haven't tested. Let me know if it doesn't work out for you.
Re: Fast and Easy Checkout for Zen Cart
thanks litepockets, so I need to change what you have put in orange is that right?
Yes and I mean remove shipping billing address ;-)