Skip to main content
2 of 2
fixed grammer
Msquare
  • 9.3k
  • 7
  • 27
  • 68

The \Magento\Checkout\Controller\Cart\Add::execute() method has support for the qty request param. Try adding a new hidden input named qty and a 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.

nevvermind
  • 1.7k
  • 1
  • 16
  • 19