When do you want to see Zone Rate zones?
When do you want to see Zone Rate zones?
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!
When the shipping address is NOT a US shipping address.. This is what the second set of settings posted below is supposed to do and it works except it generates an error log
Been doing some more playing with the Zone Shipping settings..
Using the following settings, the Zones Shipping appears when the shipping address is outside the US, but I get an error log -- same one. When the shipping address is inside the US, the Zones Shipping shows "No shipping available to the selected country" (not what I want.. would prefer this shipping module not show at all), but there is no error log.
Enable Zones Method
True
Calculation Method
Weight
Tax Class
--none--
Tax Basis
Shipping
Sort Order
10
Skip Countries, use a comma separated list of the two character ISO country codes
Zone 1 Countries
AT,AU,BE,BM,BR,BS,CA,CH,CY,DE,DK,ES,FI,FR,GB,GG,GL,GR,HK,IE,IM,IS,IT,JE,JP,LI,LU ,MC,ME,MX,NL,NO,NZ,PL,PT,SE,SG,TW
Zone 1 Shipping Table
100:40.00
Zone 1 Handling Fee
0
Handling Per Order or Per Box Zone 1 (when by weight)
Order
Zone 2 Countries
Zone 2 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 2 Handling Fee
0
Handling Per Order or Per Box Zone 2 (when by weight)
Order
Zone 3 Countries
Zone 3 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 3 Handling Fee
0
Handling Per Order or Per Box Zone 3 (when by weight)
Order
Using the following settings, the Zones Shipping appears when the shipping address is outside the US, but I get an error log -- same one. When the shipping address is inside the US, the Zones Shipping does not display, but I get an error log -- same one.
Enable Zones Method
True
Calculation Method
Weight
Tax Class
--none--
Tax Basis
Shipping
Sort Order
10
Skip Countries, use a comma separated list of the two character ISO country codes
US
Zone 1 Countries
AT,AU,BE,BM,BR,BS,CA,CH,CY,DE,DK,ES,FI,FR,GB,GG,GL,GR,HK,IE,IM,IS,IT,JE,JP,LI,LU ,MC,ME,MX,NL,NO,NZ,PL,PT,SE,SG,TW
Zone 1 Shipping Table
100:40.00
Zone 1 Handling Fee
0
Handling Per Order or Per Box Zone 1 (when by weight)
Order
Zone 2 Countries
Zone 2 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 2 Handling Fee
0
Handling Per Order or Per Box Zone 2 (when by weight)
Order
Zone 3 Countries
Zone 3 Shipping Table
3:8.50,7:10.50,99:20.00
Zone 3 Handling Fee
0
Handling Per Order or Per Box Zone 3 (when by weight)
Order
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
What is the weight of the order?
What is the Ship To?
What are your settings in the Configuration ... Shipping/Packaging ...
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!
Order Weight:
1.16lb
Non-US Ship To:
234 Wellington Street
Ottawa, K1A 0G9
ON, Canada
US Ship To:
2129 Ellis Ave
Los Angeles, CA 90001
Shipping/Packaging settings:
Country of Origin United States Postal Code 94965 Enter the Maximum Package Weight you will ship 35 Package Tare Small to Medium - added percentage:weight 10:.5 Larger packages - added packaging percentage:weight 10:5 Display Number of Boxes and Weight Status 3 Order Free Shipping 0 Weight Status 0 Shipping Estimator Display Settings for Shopping Cart 2 Display Order Comments on Admin Invoice 1 Display Order Comments on Admin Packing Slip 1
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
NOTE with this setting:
Enter the Maximum Package Weight you will ship
you will never get beyond 35lbs per box and it will be broken into multiple packages ...
NOTE: you use USPS so do not set that higher than 70 ...
Good new: I can repeat this issue now ...
Bad news: I do not yet have a solution ...
Let me see what I can do ...
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!
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
What is on your file:
/includes/modules/pages/header_php.php
lines 230 to 250 in the file, on the server, as your line numbers do not match mine ...
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!
There are other mods from the Gift wrapping, COWOA, and SBA mod so the lines numbers won't line up with the default.. I think this is the code you are looking for..
PHP Code:// get all available shipping quotes
$quotes = $shipping_modules->quote();
// check that the currently selected shipping method is still valid (in case a zone restriction has disabled it, etc)
if (isset($_SESSION['shipping']) && $_SESSION['shipping'] != FALSE && $_SESSION['shipping'] != '') {
$checklist = array();
foreach ($quotes as $key=>$val) {
foreach($val['methods'] as $key2=>$method) {
$checklist[] = $val['id'] . '_' . $method['id'];
}
}
$checkval = (is_array($_SESSION['shipping']) ? $_SESSION['shipping']['id'] : $_SESSION['shipping']);
if (!in_array($checkval, $checklist)) {
$messageStack->add('checkout_shipping', ERROR_PLEASE_RESELECT_SHIPPING_METHOD, 'error');
}
}
// if no shipping method has been selected, automatically select the cheapest method.
// if the modules status was changed when none were available, to save on implementing
// a javascript force-selection method, also automatically select the cheapest shipping
// method if more than one module is now enabled
if ( !$_SESSION['shipping'] || ( $_SESSION['shipping'] && ($_SESSION['shipping'] == false) && (zen_count_shipping_modules() > 1) ) ) $_SESSION['shipping'] = $shipping_modules->cheapest();
Last edited by DivaVocals; 15 Sep 2012 at 07:59 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.