Pages

Friday, September 4, 2015

Magento 2: Create the Contact us page by CMS

Here, we need to create the different contact us page. We want the different url for contact us page. So for this we will create the new cms page. In the cms page content we write the following code to display the cms page form

{{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="Magento_Contact::form.phtml"}}

No comments:

Post a Comment