You can customize the file:
/includes/modules/payments/cod.php
with the code in RED:
Code:
$this->enabled = ((MODULE_PAYMENT_COD_STATUS == 'True') ? true : false);
// bof: do not use for Discount Group 1
if (!IS_ADMIN_FLAG) {
global $db;
$chk_discount_group_sql = "SELECT customers_group_pricing FROM " . TABLE_CUSTOMERS . " WHERE customers_id = '" . $_SESSION['customer_id'] . "'";
$chk_discount_group = $db->Execute($chk_discount_group_sql);
if ($chk_discount_group->fields['customers_group_pricing'] == 1) {
$this->enabled = false;
}
}
// eof: do not use for Discount Group 1
and now it will not show for Discount Group 1 ...
Bookmarks