I just made a fix for the next release coming out for Zen Cart that addresses this issue ...
Let's say you use zones.php for shipping ... but you want a few zones with different settings and the rest of the world uses another set of settings ...
Instead of typing in ALL zillion zones, you can just type in:
00
To do this, edit the file:
/includes/modules/shipping/zones.php
Find the code:
PHP Code:
for ($i=1; $i<=$this->num_zones; $i++) {
$countries_table = constant('MODULE_SHIPPING_ZONES_COUNTRIES_' . $i);
$countries_table = strtoupper(str_replace(' ', '', $countries_table));
$country_zones = split("[,]", $countries_table);
if (in_array($dest_country, $country_zones)) {
$dest_zone = $i;
break;
}
}
Change it to read:
PHP Code:
for ($i=1; $i<=$this->num_zones; $i++) {
$countries_table = constant('MODULE_SHIPPING_ZONES_COUNTRIES_' . $i);
$countries_table = strtoupper(str_replace(' ', '', $countries_table));
$country_zones = split("[,]", $countries_table);
if (in_array($dest_country, $country_zones)) {
$dest_zone = $i;
break;
}
if (in_array('00', $country_zones)) {
$dest_zone = $i;
break;
}
}
See if that doesn't help you out ...