You need to change this section of code that starts with the line in BLACK and ends in the line in BLACK:
Code:
// set extra_charge_amount for UK - GB
if ($chk_count > 0) {
$extra_charge_amount = 1.50;
}
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 = preg_split("/[,]/", $countries_table);
if (in_array($dest_country, $country_zones)) {
$dest_zone = $i;
break;
}
if (in_array('00', $country_zones)) {
$dest_zone = $i;
break;
}
}
// change extra_charge_amount for rest of the world
if ($chk_count > 0 && $dest_country != 'GB') {
$extra_charge_amount = 2.00;
}
// reduce order total by master_categories_id 319
Now if something from ONLY Category 319 is in the cart, it will charge either the 1.50 for United Kingdom or the 2.00 for everyone else ...
Bookmarks