Oba-san
- Join Date:
- Sep 2003
- Location:
- Ohio
- Posts:
- 62,757
- Plugin Contributions:
- 1
freeoptions shipping method problem
No, that is meant for the amount ...
You replaced the Zone ...
// bof: turn off for over 90 and zone 92
if ( ($this->enabled == true) ) {
$check_flag = false;
$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . 92 . "' 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 == true && ($order->info['total'] - $order->info['shipping_cost']) >= $_SESSION['free_shipping_options_amount']) {
$this->enabled = false;
}
}
// eof: turn off for over 90 and zone 92
Then you can either edit the Free Shipping Options for the Total >= 10000 to turn it off or just REMOVE it when not using it ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
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!