I am using Magento 2.4.
I am trying to add a “buy now” button on the product & cart page, but unfortunately, when I click on the button it adds the product into the cart.
Instead of this, I would like to open a pop-up form.
Is there any way this can be implemented?
Any ideas would be highly appreciated.