hozone Posted October 8, 2003 Posted October 8, 2003 this is a modification for zones.php to allow shop-owner to select any zone add those lines to catalog/modules/shipping/zones.php at above line 130 //Added to select default country if not in listing if ($dest_zone == 0) { for ($i=1; $i<=$this->num_zones; $i++) { $countries_table = constant('MODULE_SHIPPING_POSTA_POSTAPRIORITARIA_COUNTRIES_' . $i); $country_posta_postaprioritaria = split("[,]", $countries_table); if (in_array("*", $country_posta_postaprioritaria)) { $dest_zone = $i; break; } } } before if ($dest_zone == 0) { $error = true; } else { $shipping = -1; now if you want to select ANY zone, you have not to list any ISO zones code in the admin pannel for zones.php, you have only to add a "*", which means : any zones not listed. i hope my english it's not so bad to tell you what i mean. osCommerce Italia support: http://www.oscommerceitalia.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.