I added this to "item.php" file that resides ZenCart > Includes > Modules > Shipping:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_ITEM_STATUS == 'True') ? true : false);
}
// bof: only show for Rakes
if (!IS_ADMIN_FLAG) {
global $cart;
$chk_rakes = $_SESSION['cart']->in_cart_check('products_id', '190');
if ($chk_rakes != $_SESSION['cart']->count_contents()) {
// turn off
$this->enabled = false;
}
}
// eof: only show for Rakes


Reply With Quote
