Hmm, it's supposed to show the error messages... Do they appear if one-page-checkout is turned off, but not when it's on, or never?
Printable View
Hmm, it's supposed to show the error messages... Do they appear if one-page-checkout is turned off, but not when it's on, or never?
The CONDITIONS error should be working...
The PAYMENT ERROR seems to be having problems.
Find:
Replace with:PHP Code:
// check to see if a payment method is selected
$payment_modules = new payment($_SESSION['payment']);
$payment_modules->update_status();
if ((!isset($_SESSION['payment']) && !$credit_covers) || (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$_SESSION['payment'])) && (!$credit_covers) ) {
$payment_error = true;
}
I've added two methods of showing the error messages in this script. Right now it's using the Zen Cart default method.PHP Code:
// check to see if a payment method is selected
$payment_modules = new payment($_SESSION['payment']);
$payment_modules->update_status();
if ((!isset($_SESSION['payment']) && !$credit_covers) || (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$_SESSION['payment'])) && (!$credit_covers) ) {
$payment_error = true;
$messageStack->add_session('checkout_payment', ERROR_NO_PAYMENT_MODULE_SELECTED, 'error');
}
the file you are referring to is header_php.php in modules/pages/checkout? That whole section of code was commented out in my file and I didn't do any modification to it, in v1.05. Also, just below that section of code the credit card code starting with this line:
// credit card processing and other hidden fields
was also commented out.
Should I uncomment all of those sections and add the line from your post about messagestack function?
Matt
no, look in includes/modules/pages/checkout_confirmation/header_php.php
Sorry for not clarifying, I was in a rush to go out :p
Thanks - that did the trick.
This is another thing that's confusing me - I keep on seeing reference to this function (one-page-checkout is turned off) but I don't see it anywhere in my administration panel.Quote:
Do they appear if one-page-checkout is turned off, but not when it's on, or never?
I'm using the latest 1.05 with the sql but I don't see anything in admin to control one-page-checkout.
I can't get this mod to work. I followed the instructions in the txt file twice. Both my shipping estimator and the checkout link hang.
www.sweetzouzou.com
Additional mods: about_us_page; Automatic Login; Column_Layout; Easy_Rollovers; Lightbox; Nifty Zen; Product_Info_Display_Centered; Tabbed_Products
Thx
Sweet
Still wondering if you guys resolved the issue with seo and Fast and Easy checkout?
I uninstalled this mod and now my shipping estimator and the checkout will not come up. When the respective link is clicked, they hang. I spent a few hours looking through the code but could not find my error. Can someone help please?
Thx Sweet
www.sweetzouzou.com
I reinstalled this mod and still no change. The shipping estimator and checkout links seem to be broke. :cry:
I found the problem (operator error). When installing Super Orders the file purchaseorder.php is supposed to be installed in the includes/languages/english/modules/payment directory and I put it in the includes/languages/english/modules/payment/Sweet ZouZou directory. My shipping estimator and checkout now work.