Use the add to cart server behavio on the detail page rather than the add to cart button.
to use the add to cart servder behavior, go to the server behaviors panle, click the plus button and select eCart -> Add to Cart -> Add to cart.
Use the recordset for the trigger and the bindings, and set the goto page.