Okay, my shipping is a bit complicated. Basically, for the US only, I Have
1) Table Rates - this is for my basic ground shipping via UPS
2) Free Shipping for Orders over $99 (Under the Order Totals - Shipping Module) - this is for ground UPS only
Also, I want to offer 2-day shipping on all products within the US, no matter how much the price is, so I used the UPS module, but only checked the 2-day option.
My question is, for orders over $99, I want the customer to have the Free Shipping for Ground option AND the 2-day shipping for the UPS price option. But I see in looking at the code on the UPS module that this is set up to not display at all if the order is set to Free Shipping. How can I change this so the customer has both options?
I assume my answer is in this code in the ups.php file. Assumption is based on the first line of this code.
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_UPS_STATUS == 'True') ? true : false);
}
if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_UPS_ZONE > 0) ) {
$check_flag = false;
$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_UPS_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
while (!$check->EOF) {
if ($check->fields['zone_id'] < 1) {
$check_flag = true;
break;
} elseif ($check->fields['zone_id'] == $order->delivery['zone_id']) {
$check_flag = true;
break;
}
$check->MoveNext();
}
if ($check_flag == false) {
$this->enabled = false;
}
}
Bookmarks