Green is for installed and active
Orange is for installed and either not active or customized or missing configuration settings ...
Red is for Apple ... er ... not installed ...![]()
Green is for installed and active
Orange is for installed and either not active or customized or missing configuration settings ...
Red is for Apple ... er ... not installed ...![]()
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!
If the problem is only in the Shipping Estimator ...
You would replace the code in the:
/includes/modules/shipping_estimator.php
around 102-120 that reads:
With the code:Code:} elseif ($_SESSION['cart_country_id']){ // session is available $_SESSION['country_info'] = zen_get_countries($_SESSION['cart_country_id'],true); $country_info = $_SESSION['country_info']; // fix here - check for error on $cart_country_id $order->delivery = array('postcode' => $_SESSION['cart_zip_code'], 'country' => array('id' => $_SESSION['cart_country_id'], 'title' => $country_info['countries_name'], 'iso_code_2' => $country_info['countries_iso_code_2'], 'iso_code_3' => $country_info['countries_iso_code_3']), 'country_id' => $_SESSION['cart_country_id'], 'format_id' => zen_get_address_format_id($_SESSION['cart_country_id'])); } else { // first timer $_SESSION['cart_country_id'] = STORE_COUNTRY; $_SESSION['country_info'] = zen_get_countries(STORE_COUNTRY,true); $country_info = $_SESSION['country_info']; $order->delivery = array(//'postcode' => '', 'country' => array('id' => STORE_COUNTRY, 'title' => $country_info['countries_name'], 'iso_code_2' => $country_info['countries_iso_code_2'], 'iso_code_3' => $country_info['countries_iso_code_3']), 'country_id' => STORE_COUNTRY, 'format_id' => zen_get_address_format_id($_POST['zone_country_id'])); }
Seems to be a little quirk in there on Zones and the Shipping Estimator ...Code:} elseif ($_SESSION['cart_country_id']){ // session is available $_SESSION['country_info'] = zen_get_countries($_SESSION['cart_country_id'],true); $country_info = $_SESSION['country_info']; // fix here - check for error on $cart_country_id $order->delivery = array('postcode' => $_SESSION['cart_zip_code'], 'country' => array('id' => $_SESSION['cart_country_id'], 'title' => $country_info['countries_name'], 'iso_code_2' => $country_info['countries_iso_code_2'], 'iso_code_3' => $country_info['countries_iso_code_3']), 'country_id' => $_SESSION['cart_country_id'], 'zone_id' => $state_zone_id, 'format_id' => zen_get_address_format_id($_SESSION['cart_country_id'])); } else { // first timer $_SESSION['cart_country_id'] = STORE_COUNTRY; $_SESSION['country_info'] = zen_get_countries(STORE_COUNTRY,true); $country_info = $_SESSION['country_info']; $order->delivery = array(//'postcode' => '', 'country' => array('id' => STORE_COUNTRY, 'title' => $country_info['countries_name'], 'iso_code_2' => $country_info['countries_iso_code_2'], 'iso_code_3' => $country_info['countries_iso_code_3']), 'country_id' => STORE_COUNTRY, 'zone_id' => $state_zone_id, 'format_id' => zen_get_address_format_id($_POST['zone_country_id'])); }![]()
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!
Moving to Bug Reports ...
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!
Ajeh,
I replaced the code in the sjipping_estimator.php as per your advice but it didn't make my orange indicator green. Further testing of the estimator revealed that there is no Standard Shipping to Canada available (showing up on the estimator's screen) regardless of the total order amount. I have 2 shipping modules: Free Shipping Options , sort order 1 offering free shipping within my 48US Continental US zone and the UPS module , sort order 2, with STD checked for Canada Standard, no shipping zones specified. All my zone definitions have green indicators.
My test zencart is located at:
http://www.time-co.com/zencart/
all4coffee
Thanks
Ajeh,
never mind Canada Standard shipping option not showing up, I had wrong zip code. Sorry.
My only question now (the orange indicator still bothers me a bit thou) is if I should use the new code changes in the shipping_estimator.php or the keep it as it is. What do the changes do? I couldn't see the difference in operation... How do I test it to know if the new code makes a difference. ..
Thanks
The shipping estimator can get confused without that on the display ...
Currently, hitting update fixes it ... but this makes it work consistantly on many of the shipping modules with zones set on them ...
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!