Zen Follower
- Join Date:
- Dec 2010
- Posts:
- 142
- Plugin Contributions:
- 0
Hide Zone Shipping from Group
Hi,
I am trying to hide Zone Shipping from a certain group. I have done this for another shipping module by entering this code:
// do not show to customers_group_pricing 32
$chk_group_query = $db->Execute("select customers_group_pricing from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$_SESSION['customer_id'] . "'");
if ($chk_group_query->fields['customers_group_pricing'] == 32) {
$this->enabled = false;
}
I am pretty sure that the code will remain the same for the zone module; however, I don't know where in the file I should put the code... everywhere I have tried just breaks the shipping page and prevents it from loading.
Any help is appreciated.
Thanks!