It is bewildering why WordPress/WooCommerce doesn't support such incredibly basic functionality.
This plugin fills in this particular gap. We needed to set a 2 min on some of our products and this was easy to install and configure.

1.1.3

1.1.2

1.1.1

1.1

Fixed the bug for adding same product multiple times which was adding the
product even if the maximum quantity for the product quantity is reached. Now
if the product is added multiple times and if it reached the maximum limit it
shows a popup that you have reached maximum limit for the product and exits
back to the product page