I am creating a custom form essentially from scratch. The form will be an alternative UI for a product page, which when submitted, does the same thing as the normal add to cart.
I'd like to borrow from the checkout/cart/add controller without copying or rewriting the code, but before I submit I need to run own custom function (to create a file).
Is there any way I can achieve this? Eg, is there an event for an Observer I can use or is it possible to have two Controllers execute one after the other?