I need to limit shipping options by category
Cat 1 is small items and I can fit in USPS flat rate boxes and table rate works well for this as it is much cheaper than regular shipping
Cat 4 can not be shipped it needs to pick up at the farm only
so I need to turn off all options beside pick up
all other categorys need to use the regular rates table rate needs to be off
I tried this and it didn't seem to do anything
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_ITEM_STATUS == 'True') ? true : false);
}
// disable for one master_categories_id
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check
('master_categories_id','4') > 0)) {
$this->enabled = false;
}



