26 votes
Accepted

magento 2 breadcrumbs on contact page

Try this code: <?xml version="1.0"?> <!-- /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <page xmlns:xsi="http://www.w3.org/2001/...
Harry Nguyen's user avatar
  • 2,815
16 votes
Accepted

How to implement Magento Captcha in Contact- Us form?

Created a new module for this. Step 1: app/code/local/Contact/Captcha/etc/config.xml <?xml version="1.0"?> <config> <modules> <Contact_Captcha> <version>...
Rita Jose's user avatar
  • 1,840
6 votes
Accepted

Setting 'h1' title on the Contact form in Magento 2

You can use below code for h1 tag <referenceBlock name="page.main.title"> <action method="setPageTitle"> <argument translate="true" name="title" xsi:type="string"&...
sandip's user avatar
  • 3,954
5 votes
Accepted

Translating the custom text in form.phtml file

You did not show, how you added the paragraph, but this is what it should look like so that it gets translated by Mage_Contacts.csv: Mage::helper('contacts')->__('here is your paragraph');
Fabian Schmengler's user avatar
5 votes

change url of the contact page in form.phtml file in magento

Create a file in app/etc/modules/Kp_Contacts.xml <?xml version="1.0"?> <config> <modules> <Kp_Contacts> <active>true</active> &...
Ketan Borada's user avatar
  • 2,603
5 votes

Magento 2 - Incorrect title showing for some pages

Solved it. The problem was that I had a layout using Magento\Customer\Block\Form\Login, like this: <block class="Magento\Customer\Block\Form\Login" name="login.sidebar" template="form/...
Thomas Domingues's user avatar
5 votes
Accepted

Magento 2 - Add google captcha on contact form

Suppose You have Form Similar to the code below <form id="myformId" class="col s12" action="" method="post" novalidate> <input placeholder="Name" id="mpfaqs-form-...
Ghulam.M's user avatar
  • 963
4 votes

Is it possible to redirect the Magento 2 Contact Form without a custom module?

You can implement Magento 2 after method plugin for execute method of Post controller of Contact module. And create CMS page with 'contact/thanks' URL and redirect to the page in your plugin. But in ...
Vasyl Sovyak's user avatar
4 votes

Is it possible to redirect the Magento 2 Contact Form without a custom module?

Old question but I found this through search. @Design was 90% correct but apparently didn't test their answer. First copy the Magento_Contact form.phtml to your theme. app/design/frontend/{...
jamil's user avatar
  • 985
4 votes

How to implement Magento Captcha in Contact- Us form?

You need to either create a custom module or install an extension for this. Below is the code for implementation as a custom module: app/etc/modules/Mohit_Contactcaptcha.xml <?xml version="1.0"...
Mohit Kumar Arora's user avatar
4 votes

How to remove url /contact/index in contact page in Magento 2

I assume that you want to redirect back to the page, where the customer was before sending the contact request. To do so, you need to create a simple module. Please follow the steps below to ...
Mohit Kumar Arora's user avatar
3 votes

Magento 2 Contact form error

You can see this message inside Post controller of contact module. This message is display because your mail is not working. You have to configure your mail setting inside localhost for works it ...
Rakesh Jesadiya's user avatar
3 votes
Accepted

In the admin panel of Magento, where can I see entries of the contact us form?

You cannot see these entries in the Magento backend. This form will send an e-mail to the address you have set in the backend.
St0iK's user avatar
  • 753
3 votes

Magento 2: How to change Contact Us Email Type?

Try creating new email template file in your custom module. submitted_form.html {{trans "Name: %name" name=$data.name}} <br/> {{trans "Email: %email" email=$data.email}} <br/> {{trans "...
Mike's user avatar
  • 1,148
3 votes
Accepted

Magento 2: How to change Contact Us Email Type?

You need to create a new module for overwrite template config. Your module.xml should be [Vendor/RewriteContact/etc/module.xml] <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
Sohel Rana's user avatar
  • 35.7k
3 votes
Accepted

Magento 2 - Contact us page returns 404 even though enabled in configuration

It should be <website_url>/contact in general. Try that one.
Oshan's user avatar
  • 1,952
3 votes

Magento 2 : Contact us email is not sending to admin

I think you forgot to set contact mail id. Please check can you set admin mail id in contact tab? if not just set. Magento 2 not issue in Contact us.
Ajay Patel's user avatar
  • 1,513
3 votes
Accepted

Add new custom field in magento 2 contact form

Open your form.phtml file. /magento_root/app/design/frontend/VENDER/YOUR_THEME/Magento_Contact/templates/form.phtml Then add mycustomfield field to this contact form: <div class="field ...
Nikunj Vadariya's user avatar
3 votes
Accepted

How can I change the title of the Contact Page in Magento 2?

Please Check Below Step :- Go to your Magento store root folder. You need open the contact_index_index.xml file to edit. The file is stored under the app\design\frontendMgs\child_theme_name\...
Ronak Rathod's user avatar
  • 6,309
3 votes

How to submit contact us data to Magento 2 contact us form action using graphqL?

Since we don't have default contact us mutation in default magento graphql, I did this task with a custom module. For this we want to create the custom contact us Mutation. type Mutation { ...
Mujahidh's user avatar
  • 2,791
3 votes

Add multiple recipients contact us from

You will need to extend the framework. Each email needs to be individually added as a destination address. I do this for CC address in this extension https://github.com/DominicWatts/EmailCC/blob/...
Dominic Pixie's user avatar
3 votes
Accepted

Magento 2: Rest API Contact Us Form

I have created custom contact us API. This is a helpful for submit contact us form via rest API and send an email. API Name: Contact Us API Description: Submit a contact us form to send an email....
Kirti Nariya's user avatar
  • 3,461
3 votes

Unable to send emails. Could not acquire lock for cron job: sales_send_order_invoice_emails

I guess Magento cron job is stuck in "running" status. Need to kill the stuck cron job then it will continue as scheduled. Log in to your account using SSH. Run the following command to ...
Pratik Oza's user avatar
  • 3,972
2 votes

Save Magento 1.9.2 contact form data in database?

Make change in following file /app/etc/modules/Codefire_Contacts.xml <config> <modules> <Codefire_Contacts> <active>true</active> &...
Rohit Kundale's user avatar
2 votes

Is it possible to redirect the Magento 2 Contact Form without a custom module?

I solved it by creating a permanent redirect in Marketing -> URL Rewrites from contact/index to my custom URL. It works and even shows the successful message.
user72296's user avatar
2 votes

Save Magento 1.9.2 contact form data in database?

Please add the following code in the config.xml file. <global> <rewrite> <customcontactus> <from><![CDATA[#^/contacts/index/#]]></from> ...
Liz Eipe C's user avatar
  • 1,286
2 votes

Contact form email template - Array

Magento doesn't allow to use array in email variable.So change checkbox html as below. <input type="checkbox" name="contact_method_tel" value="Telephone"> Telephone<br> <input type="...
himansu's user avatar
  • 224
2 votes
Accepted

Input value must contain number higher than 5

You can use custom validation class 'validate-value-greater-than-5' and add following script in form javascript. Validation.add('validate-value-greater-than-5', 'Please enter a value greater than 5.',...
Gulshan Maurya's user avatar
2 votes

Input value must contain number higher than 5

You have to just use type=number in input. <input type="number" name="quantity" min="6"> Now user have input 6 or higher than 6 to submit form otherwise display error with no form submit.
Rakesh Jesadiya's user avatar
2 votes
Accepted

How to make google reCaptcha mandatory on contactus page

To do so, you need some custom code, please follow below steps which work for me: Note: I assume you used jQuery library on your frontend theme Step-1: On document ready add some custom class to ...
Jayesh Patel's user avatar
  • 2,118

Only top scored, non community-wiki answers of a minimum length are eligible