Gabriel
Retrieve the orderitems via the association with shoppingcart. Then you can perform activities using the entire list. No need to select them via the user interface. In order to do this, the order button should pass in as a parameter the shoppingcart or some other object which you can use the retrieve the shoppingcart with.
Hope that helps,
Mike