Using a regular add to cart server behavior like this is fine, but I think the trigger should be like this:
if ($eCart1->InCart(7)) {
Other than this the code seems fine, I noticed that there are a few asterisks in the code that should not be there, I didn't know if you added this on purpose. What is the result that you are getting with the trigger updated?