If your Products are using the categories_id 108 as their master_categories_id then this should work to disable Free Shipping Options freeoptions shipping module ...
Just add the code below:
Code:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_FREEOPTIONS_STATUS == 'True') ? true : false);
}
so you should have:
Code:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_FREEOPTIONS_STATUS == 'True') ? true : false);
}
// skip certain categories
if (IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','10') > 0) {
$this->enabled = false;
}
Bookmarks