Hi,
I am trying to hide Zone Shipping from a certain group. I have done this for another shipping module by entering this code:
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.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; }
Any help is appreciated.
Thanks!
Bookmarks