You call the variable $chk_manufacturers_id but that is not the manufacturers_id, that is the number of Products or quantity in the cart for that manufactures_id 8, so you want to test if there is 1 or more $chk_manufacturers_id > 0 in the cart ...