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.


1 Answer 1


Please check below links for Buy now button on the product page.

  1. https://github.com/mageprince/magento2-buynow

  2. How to add "Buy Now" button in Magento 2.1 Product detail page along with add to cart?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.