Try this:
Assuming the master category id of assembled desks is 78 (replace that number with your master category id)
In the file includes/modules/shipping/mileageship.php immediately after
PHP Code:
$this->enabled = ((MODULE_SHIPPING_MILEAGESHIP_STATUS == 'True') ? true : false);
insert
PHP Code:
// bof enable only for certain category in cart
if (IS_ADMIN_FLAG == false) {
if (($_SESSION['cart']->in_cart_check('master_categories_id','78') > 0))
{
$this->enabled = true;
} else {
$this->enabled = false;
}
}
// eof enable only for certain category in cart
Pls let us know if it works for you.
Bookmarks