The \Magento\Checkout\Controller\Cart\Add::execute()
method has support for the qty
request param. Try adding a new hidden input named qty
and valuea value of 2
in the add-to-cart form template file.
Maybe there's a more elegant way of doing this, but I don't know about it yet.