Add a button/link below ADD TO CART button, it should open a new page where I want to run some custom logic.
I am new to Magento so still struggling with terminology. Could you please guide me here about how can I add a new page and link it to a button/hyperlink?
(Admin: Not sure which forum this should go in, so posting the same question in two forums)
Trust you are doing well!
Fortunately, I have explained how to Add a New CMS Page in Magento 2. You can check out the tutorial with exact steps and relevant screenshots. Learn How to Add a New CMS Page in Magento 2.
Hope this helps you,
Problem solved? Hit the Kudos button and "Accept it as Solution"
If you want to create a new static page then you can do so from admin as well.
Just go to Magento Admin->Content->Pages and create some static page there. Then create a link below add to cart to product detail page using catalog_product_view.xml file and then add the link for the page in the hyper link.
Let me know if you face some issues in this.