What I'm attempting to do is to turn off freeoptions for when someone orders all of a certain item to get to the free shipping threshold.

for instance someone just ordered 27 quarts of oil to get free shipping, and the shipping KILLED us!

I tried to impliment the following code into the freeoptions.php file with no luck:
Code:
//check for oil only orders and disable free shipping
	  $how_many_items = $_SESSION['cart']->count_contents();
      $how_many_102 = $_SESSION['cart']->in_cart_check('products_model','60-102');
	  $how_many_103 = $_SESSION['cart']->in_cart_check('products_model','60-103');
	  $how_many_107 = $_SESSION['cart']->in_cart_check('products_model','60-107');
	  $how_many_110 = $_SESSION['cart']->in_cart_check('products_model','60-110');
	  
      if (($how_many_102 == $how_many_items)){ 
          $this->enabled = false;
			if (($how_many_102 == $how_many_items) && ($how_many_102 > 38)) {
			$messageStack->add('checkout_shipping', WARNING_NO_FREE_SHIP, 'caution');
			} 
		}
	  
	  if (($how_many_103 == $how_many_items)){ 
          $this->enabled = false;
			if (($how_many_103 == $how_many_items) && ($how_many_103 > 26)) {
			$messageStack->add('checkout_shipping', WARNING_NO_FREE_SHIP, 'caution');
			}
		}
	  
	   if (($how_many_107 == $how_many_items)){ 
          $this->enabled = false;
			if (($how_many_107 == $how_many_items) && ($how_many_107 > 42)) {
			$messageStack->add('checkout_shipping', WARNING_NO_FREE_SHIP, 'caution');
			} 
		}
	  
	   if (($how_many_110 == $how_many_items)){ 
          $this->enabled = false;
			if (($how_many_110 == $how_many_items) && ($how_many_110 > 26)) {
			$messageStack->add('checkout_shipping', WARNING_NO_FREE_SHIP, 'caution');
			} 
		}
any ideas on why this isn't working are greatly appreciated!