How do I prevent "The requested qty is not available" message from autohiding in product page while adding products to cart. I want to let user close the message instead of auto hide? I was able to fix the similar issue in checkout page by updating messages.js file.
But unable to locate the code from where to fix this.