What hooks and actions are needed to add multiples of a single product to car?

I have linked a question on stackoverflow where you can find the full question and details.

My objective is to be able to add ‘x’ number of a single simple product to cart with a button click. I would like to replicate that add to cart function on the view product page, where the user can select the number of product to add to cart at the same time.

I have dug through and tried a few things, but I am just unable to get the right actions and hooks to run in order to allow users to add multiple products straight from the shop page (and not view single product page).

Also the final question: Is this even possible? There’s no way to replace use the <form> on woocommerce/templates/single-product/add-to-cart/single.php