i looked at the add cart function on shopping cart class. there is an $this->in_cart statement there, so the product is also checked in there. and also i tried removing just the "$_SESSION['cart']->show_total() >= $this->freeAmount" and did not remove "!$_SESSION['cart']->in_cart($this->freeProductID" same error occurs. so the in_cart statement is not the issue here



