Magento Expert Forum - Improve your Magento experience

Results 1 to 8 of 8

How to add a Contact Us form in Magento

  1. #1
    Administrator david's Avatar
    Join Date
    Nov 2012
    Posts
    261
    Thanks
    22
    Thanked 42 Times in 34 Posts

    Post How to add a Contact Us form in Magento

    Magento includes contact form functionality by default. A link to a contact form can usually be found in the footer of your Magento installation.Of course, you can add a contact form on any page. All you need to do is:


    • Log in to the administrator area.
    • Go to CMS > Pages.
    • Select the page you want to edit or create a new page.

    Paste the following code using the HTML option of the WYSIWYG editor:


    {{block type='core/template' name='contactForm' template='contacts/form.phtml'}}

    Save the changes and the contact form will appear on the desired page.

    View more threads in the same category:


  2. #2
    Expert
    Join Date
    Apr 2017
    Location
    Ahmedabad, India
    Posts
    318
    Thanks
    3
    Thanked 3 Times in 2 Posts

    Default

    Easy to use Magento 2 contact form extension. Empowers multiple forms and fields creation with superior support plus free updates.
    Learn More

  3. #3
    Junior Member
    Join Date
    Sep 2019
    Posts
    164
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Magento applications have a built-in contact form.
    ...
    For Magento 2.x:
    Access the Magento administrator panel -> Content -> Pages.
    From the drop down on the far right, pick Edit next to the desired page.
    Select Content and then place the following code in the text field:

  4. #4
    Junior Member
    Join Date
    Sep 2016
    Posts
    220
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Last edited by vishnu; 21-11-2019 at 11:38 AM.

  5. #5
    Junior Member
    Join Date
    Sep 2018
    Posts
    775
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Design the Contact Us structure

    On the Admin sidebar, go to Stores > Settings > Configuration.

    In the left board under General, pick Contacts.

    Grow. the Contact Us area and set Enable Contact Us to Yes . ...

    Grow the Email Options area and set the email contact choices: ...

    When contend, click Save Config.

  6. #6
    Junior Member
    Join Date
    Mar 2016
    Location
    USA
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    To create Contact form in Magento 2.x :
    1) Access the Magento administrator panel > Content > Pages;
    2)From the drop-down on the far right, pick edit next to the desired page
    3)Select your content and place the following code in the text field which is available there.

Similar Threads

  1. Magento Contact Us Form
    By ccvv in forum Programming & Development
    Replies: 3
    Last Post: 29-08-2020, 05:52 AM
  2. Form validation in Magento
    By ccvv in forum Programming & Development
    Replies: 3
    Last Post: 21-09-2019, 07:09 AM
  3. Native captcha for your form in Magento 1.7
    By speed2x in forum Webmaster & Administrator
    Replies: 0
    Last Post: 31-03-2013, 09:19 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •