cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a new custom page in Magento2 ?.

How to add a new custom page in Magento2 ?.

Hello,

 

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)

 

 

thanks

shamiroy

1 REPLY 1

Re: How to add a new custom page in Magento2 ?.

Hi @shamiroy256d87 

 

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.

 

Thank you.