i use shipping zone modul, zone 1-2 are working fine.
I have used osc before zc - in the zone 3 in osc i was able to set to all others ...
is this also possible in ZC?
If i set to "all others" or "00" it is not working ...
regards
Ralph
i use shipping zone modul, zone 1-2 are working fine.
I have used osc before zc - in the zone 3 in osc i was able to set to all others ...
is this also possible in ZC?
If i set to "all others" or "00" it is not working ...
regards
Ralph
Got a plan ...
Edit the file:
/includes/modules/shipping/zones.php
Find the code:
Change the code to read:PHP Code:
for ($i=1; $i<=$this->num_zones; $i++) {
$countries_table = constant('MODULE_SHIPPING_ZONES_COUNTRIES_' . $i);
$country_zones = split("[,]", $countries_table);
if (in_array($dest_country, $country_zones)) {
$dest_zone = $i;
break;
}
}
Now edit the Shipping Module for Zones and set the final zone as: 00PHP Code:
for ($i=1; $i<=$this->num_zones; $i++) {
$countries_table = constant('MODULE_SHIPPING_ZONES_COUNTRIES_' . $i);
$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;
}
}
Does this solve the problem to include "everyone else" not otherwise defined?
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: v1.5.5]
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!
thanks,
great plan - i try it ...
Ralph
Originally Posted by Ajeh
Thanks Ajeh - The 00 zone mod is great, worked a charm.
Is there any plan to combine this with a 'blacklist' style exclusion system? eg if I want to ship to anyone except people in countries x, y, z
I suspect for many stores managing by exclusion might be preferable to managing by inclusion.
Bookmarks