Then I added the following to ups.php in the same location:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_UPS_STATUS == 'True') ? true : false);
}
// bof: do NOT if 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: do NOT if ONLY show for Rakes
if ($this->enabled) {


Reply With Quote
