This can be done by checking the master_categories_id of the Products in the categories that should not have the fee (usually the categories_id) by customizing the code with the code in RED:
Code:
// eof: check zone and add extra fee
// bof: add extra control
// check the count of a specific field
// if only products from master_categories_id 10 and 12 are in the cart then do not show
$chk_cat = 0;
// check how many Products are in the cart for master_categories_id 10 and 12
$chk_cat += $_SESSION['cart']->in_cart_check('master_categories_id','10');
$chk_cat += $_SESSION['cart']->in_cart_check('master_categories_id','12');
// if these are the only Products then turn off the extra fee module
if ($chk_cat > 0 && $_SESSION['cart']->count_contents() == $chk_cat) {
$pass = false;
}
// eof: add extra control
if ($pass == true) {
NOTE: before using this new code, do you use this module with a Zone added to it for the extra order fee?
Bookmarks