There's a user exit called "exclude_product()" that you can add product ids to.