Help with Free Shipping & UPS Module
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;
}
}
Re: Help with Free Shipping & UPS Module
Why not just turn on the UPS shipping for all ...
Then set a Free Shipping over 99.00 on the Order Total Modules for the US only ...
Or ...
If you want to offer the Free Shipping as an Optional Choice to US customers only, use the Shipping Modules Free Options (freeoptions) and configure for total >= 99 and set create a Zone for your US customers ...
Now US customers could choose the Free slow boat ... or the expensive gotta have it yesterday ...
Meanwhile, customers outside the US do not get the Free Shipping Option ...
Re: Help with Free Shipping & UPS Module
Thanks for the reply Ajeh. Where do I find the freeoptions module? I don't see it in the shipping modules. I just see freeshipper which doesn't have a place to input total=>99, or does it?