Do you have the new files in or the old files?
If you put the copies of your original files back up on the server does it work?
Do you have the new files in or the old files?
If you put the copies of your original files back up on the server does it work?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I cannot even reach your site now ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
reloading from this mornings backups, fastest way to get the check out to work again, we have adwords and other promos out, site is busy.
site is backup :-) whew... that was tense.
give me a few to readd your code please, will report back when the 3 files are updated with your new MANY IDs :-) code.
sorry about the ID mixup, there are a lot there..
You have the code you need ... just find a good TEXT editor ...
Save copies of the original files on the server such as:
/includes/modules/pages/checkout_shipping/header_php.php_ORI
/includes/modules/pages/checkout_payment/header_php.php_ORI
/includes/modules/pages/checkout_confirmation/header_php.php_ORI
and start with just the checkout_shipping first ... the others are extra checks should the shipping be by passed for some reason ...
Get the file:
/includes/modules/pages/checkout_shipping/header_php.php
working correctly before moving on the the next file ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
ok, will move slowly as you say and step though, will report back in 45 min or so.
thx so much...
ok, did only the 1 file, as stated and the checkout errors
/includes/modules/pages/checkout_shipping/header_php.php
file looks like :
// Validate Cart for checkout
$_SESSION['valid_to_checkout'] = true;
$_SESSION['cart']->get_products(true);
if ($_SESSION['valid_to_checkout'] == false) {
$messageStack->add('header', ERROR_CART_UPDATE, 'error');
zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
}
// bof: must have 6 130 or 1 129, 131, 132 if 1+ 130
$valid_products_checkout = false;
$chk_cat130 = 0;
// 134,135,136,137,138,139,140,141,142
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','134');
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','135');
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','136');
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','137');
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','138');
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','139');
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','140');
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','141');
$chk_cat130 += $_SESSION['cart']->in_cart_check('master_categories_id','142');
if ($chk_cat130 >= 6 || $chk_cat130 == 0) {
$valid_products_checkout = true;
} else {
$chk_cat_other += $_SESSION['cart']->in_cart_check('master_categories_id','129');
$chk_cat_other += $_SESSION['cart']->in_cart_check('master_categories_id','131');
$chk_cat_other += $_SESSION['cart']->in_cart_check('master_categories_id','132');
if ($chk_cat_other > 0) {
$valid_products_checkout = true;
}
if ($valid_products_checkout == false) {
$messageStack->add_session('header', 'Add more products', 'caution');
zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
}
}
// eof: must have 6 130 or 1 129, 131, 132 if 1+ 130
// Stock Check
What version Zen Cart are you using?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!