How to Add contact form inside CMS Page in Magento?

You Add Below code in your cms page :

<p>{{block type=”core/template” name=”contactForm” form_action=”/contacts/index/post” template=”contacts/form.phtml”}}</p>

Then when you click the Submit that is going contact page. So, there you can view the contact form again. So, this time we can do this below css, put in your style.css

.contacts-index-index .col-main .page-title, .contacts-index-index .col-main #contactForm{
display:none;
}
.contacts-index-index .col-main #messages_product_view{
margin:70px auto 0 auto;
width:450px;
}

this is one of my method. If any prober way kindly inform me.

© 2020 Spirituality