If you are controlling this with the Shipping ot_shipping you need to edit two files:
/includes/modules/pages/checkout_shipping/header/header_php.php
and add the code in RED:
Code:
case 'both':
$pass = true;
break;
}
// bof: no Free Shipping for customers in groups
global $db;
$group_query = $db->Execute("select customers_group_pricing from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$_SESSION['customer_id'] . "'");
if ($group_query->fields['customers_group_pricing'] != '0') {
$pass = false;
}
// eof: no Free Shipping for customers in groups
$free_shipping = false;
if ( ($pass == true) && ($_SESSION['cart']->show_total() >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) {
$free_shipping = true;
}
and the file:
/includes/modules/order_total/ot_shipping.php
Code:
default:
$pass = false; break;
}
// bof: no Free Shipping for customers in groups
global $db;
$group_query = $db->Execute("select customers_group_pricing from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$_SESSION['customer_id'] . "'");
if ($group_query->fields['customers_group_pricing'] != '0') {
$pass = false;
}
// eof: no Free Shipping for customers in groups
if ( ($pass == true) && ( ($order->info['total'] - $order->info['shipping_cost']) >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) {
$order->info['shipping_method'] = $this->title;
What this will do is allow the Shipping ot_shipping to give Free Shipping on orders over XX.XX except to those in a Discount Group ...