You could customize the Flat Rate flat shipping module:
/includes/modules/shipping/flat.php
with the code in RED using:
Code:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_FLAT_STATUS == 'True') ? true : false);
}
// bof: allow only for orders of >= $20.00
// Only allow Free Shipping when whole cart is Always Free Shipping
if (!IS_ADMIN_FLAG && $this->enabled) {
global $cart;
$chk_total = $_SESSION['cart']->show_total();
if ($chk_total >= 20.00) {
$this->enabled = true;
} else {
$this->enabled = false;
}
}
// eof: allow only for orders of >= $20.00
if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FLAT_ZONE > 0) ) {
Bookmarks