Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

Contact Form Magento2: move success message to form

How to move success (not error) message into contact form?
Veronika Petkeviča's user avatar
1 vote
1 answer
280 views

Unable To Add Contact Form To CMS Page In Magento 2?

I added below info but contact form not showing app/design/frontend/company/name_theme/Magento_Contact/templates/form.phtml Then, insert the contact form to the CMS page {{block type=’core/template’ ...
kiran's user avatar
  • 597
0 votes
1 answer
44 views

How to attach file in contact us mail

I have a contact form with a field to attach the file but I don't the way how to attach that uploaded file to the email template of contact us mail in Magento
Parth Patel's user avatar
0 votes
1 answer
166 views

"Invalid Form Key. Please refresh the page." error on Contact us page

The error "Invalid Form Key. Please refresh the page." appears when submitting the contact form. I just don't know how to handle this. :( In my opinion, this must not even be supposed to ...
Mihai Popescu's user avatar
0 votes
0 answers
295 views

Magento 2 Contact Form does not send email, but all transactional emails work

In Magento 2.3.5-p1 build we're having issues with the contact form sending emails. On the client/user side, everything appears to work fine. The form submits without issue and then displays the ...
codestr's user avatar
  • 515
0 votes
1 answer
594 views

How can I attach files to a Contact Us form?

I am trying to create a contact us form with the following fields and file attachments on Magento 2.3.2: <?php // @codingStandardsIgnoreFile ?> <?php $themeHelper = $this->helper('...
Blackwater Scribe's user avatar
2 votes
2 answers
3k views

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

Unable to send any kind emails (order, invoice, tracking). I get confirmation that it was sent, but nothing received. Same with "Contact us" from frontend. cron.log: main.WARNING: Could not ...
Aliokas's user avatar
  • 21
0 votes
1 answer
344 views

Magento 2.3.5-p2 Emails not sending

When i submit Contact Us form on frontend i get: Unable to send mail: Unknown error and error in exception and debug logs: main.ERROR: DOMXPath::query(): Invalid expression in selector >> ....
Aliokas's user avatar
  • 21
1 vote
0 answers
22 views

Contact page disappear after save category

I have a online store in Magento 2.2.3 with i18n stores. In menu i create new Catalog Category with name: Contacts, Contactos and Contacts in order EN, PT and FR. I configure this category to redirect ...
Matheus Prado's user avatar
0 votes
2 answers
159 views

Correct way to change core module code

I have one line of code in a core module (contact) in which I need to change. What is the correct way to make the change to change/overwrite this file?
Sam's user avatar
  • 163
1 vote
1 answer
2k views

Magento 2.3 - Change the Contact page success message

I want to change the Success Message in the Contact Page. After someone press the submit button the Success page is like this: How I can to change the Success Page to display a static block for ...
Robert's user avatar
  • 2,186
1 vote
0 answers
107 views

Magento 1.9 not sending contact form

My magento is not sending contact form for my e-mail, the other sales e-mails is working/sending normally, i checked the crons and system > Configuration > Store email adresses, checked Contacts too, ...
Jadiel Leyendecker's user avatar
0 votes
1 answer
198 views

How to write grapgQl mutation to create and integrate the contact us page functionality in magento 2.3.2?

As same as the question, i want to create the mutation for contact us page and send the email via magento default contact us module without writing the custom email function in my resolver. How can i ...
Mujahidh's user avatar
  • 2,823
1 vote
1 answer
2k views

magento 2 contact us add multiple recipients

task: create form "contact us" send data from the form to 2 Email addresses I created form but magento 2 does not provide option in admin to add multiple emails separated by , I was looking for a ...
ann karsksya's user avatar
2 votes
1 answer
1k views

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

How to submit contact us form data to Magento default functionalities using graphQl. I know to want to pass the form data using Mutation and doesn't have a clear idea to achieve the target. Please ...
Mujahidh's user avatar
  • 2,823
0 votes
1 answer
540 views

Email Error On Website

I am getting this error on our website 5.7.1 : Sender address rejected: not owned by user Email Just to make you aware email 1 is different to email 2 Any advice on resolving this would be great.
A Khan's user avatar
  • 1
4 votes
2 answers
195 views

How to create a custom form?

I am trying to create a create a page in block but I'm trying to add a custom contact form. I can view it in frontend but it wouldn't work its not doing anything when I click submit. is there anyone ...
jibin george's user avatar
0 votes
1 answer
648 views

Disable contact form submit onclick

I want to disable the submit button of the contact form onclick, so that the button can be only clicked once. The only problem with this, is that it does not validate the form anymore. It directly ...
JGeer's user avatar
  • 1,422
0 votes
1 answer
398 views

Magento contact form submit button allow click ones

Is it possible to change the behavior of the submit button on the contact form, so that it will only allow to click one time? Now when you fill in the form and click multiple times on the submit ...
JGeer's user avatar
  • 1,422
0 votes
1 answer
422 views

Magento 1.9 contact form validate required not working

For some reason our select dropdown is not required and does not validate the entry. It already contains the class 'required-entry' for the select. What am I missing here? <form action="<?php ...
JGeer's user avatar
  • 1,422
1 vote
2 answers
2k views

Magento 2.2.6 Change 'From' field of magento contact form email to the sender

Currently, when customer submit a contact form through our website, the "sent from" email address we received is our [email protected]. I would like to change the "send from" email address to be the ...
Mage Explorer's user avatar
1 vote
1 answer
2k views

Add new custom field in magento 2 contact form

Could you please help to add a new custom field in Magento 2 contact form.
Intellect Outsource's user avatar
1 vote
0 answers
87 views

Magento 2.2. with Varnish, Contact form not working

I am trying to test the contact form, but varnish is giving me 503 errors every time I am trying to submit the form. However, I don't think varnish is the issue here. I am calling the form using the ...
SUPERDEVELOPER's user avatar
0 votes
1 answer
42 views

How to add a Contact Form to sent to email address

How to add a contact form to our contact page but finding it difficult to do so. I can add the form via html and styling etc but getting it to send to an email address is where I'm having problems.
Richard Howell's user avatar
0 votes
2 answers
2k views

How can i programatically send contact us mail in magento 2?

i have tried using the below code but didn't get the solution. public function contactUs() { //$params = $this->getRequest()->getParams(); //$mail = new Zend_Mail(); $this->...
christy's user avatar
  • 157
0 votes
2 answers
385 views

How can I use different emails on contact us page?

We have a contact us page, and we have the fields: Name, Email, Telephone, Reason, and Message. We have different people who deal with different things, so we were thinking the reason could be the ...
zcoyne's user avatar
  • 109
1 vote
1 answer
68 views

Contact Us Page [closed]

Currently our contact page doesn't work. We installed MailChimp in hopes that it work link, but apparently that's only for the order confirmations etc I tried it as it is, but unfortunately it doesn'...
zcoyne's user avatar
  • 109
0 votes
1 answer
694 views

Magento contacts forms with multiple transactional emails templates

I want to have more contacts forms in my store and separate transactional emails templates for each contact form in part, for example: contact_form1.phtml with contact_form1.html email template; ...
Robert's user avatar
  • 2,186
1 vote
2 answers
1k views

Multiple contact form

I create few contacts forms in Magento for example I have Contact1.phtml / Contact2.phtml / Contact3.phtml is there any way to setup transnational email for each contact form? Right now I use only ...
Robert's user avatar
  • 2,186
0 votes
1 answer
638 views

2 contact us forms with different email configuration

I want to copy magento "contact us" form, however, set a different configuration to it. Now, "contact us" form sends information to [email protected]. I want "contact us 2" to be exactly the same ...
Greg's user avatar
  • 2,749
0 votes
1 answer
716 views

Get firstname and lastname contact page Magento 1.9

I want to get the first and last name in a custom contact form in Magento 1.9.x in my custom_contact.phtml file I have this: <?php if (Mage::getSingleton('customer/session')->isLoggedIn()) { ...
Robert's user avatar
  • 2,186
0 votes
1 answer
923 views

Captcha won't show up when load contact form by Static Block

I am getting captcha at contact us page. But when same file is called in static block, contact us form works fine but captcha does not occur. Kindly suggest any solution.
user00247's user avatar
  • 638
0 votes
1 answer
110 views

Does Magento store copies of the Email messages sent through the CONTACT US page? Is it possible to retrieve them?

I made a big mistake by not changing the "Send Emails To" Email address in: SYSTEM - CONFIGURATION - GENERAL - CONTACTS - Email Options The Email address in there was "[email protected]" this ...
Allysin's user avatar
  • 280
0 votes
1 answer
677 views

Add a "Contact us" form on each product

I would like to add a "Contact us" form on each product; I've copied the contact form and added to the cms static block: {{block type="core/template" form_action="/contacts/index/post/" template="...
LaurenFrida's user avatar
0 votes
1 answer
1k views

Redirect contact page to the same page and add message too

I use magento 1.9.x version, I add a new contact form in product view page, but after I press Submit button the magento is redirect me to the Contact page how I can stop this redirect and remain in ...
Robert's user avatar
  • 2,186
1 vote
1 answer
2k views

Contact Us form not working

I am using Magento 1.9. I had configure the mail setting and my newsletter mail also working properly. But when I tried "About Us" it show me the below error message Unable to submit your request. ...
Paritosh Mahale's user avatar
1 vote
0 answers
686 views

How to stop Magento 2 Escaping HTML in Contact form

I'm hoping someone can help me figure out how to prevent Magento 2 from escaping special chars in the contact form! At the moment, when a message is sent via the standard contact form in Magento 2, ...
user46638's user avatar
0 votes
2 answers
173 views

Adding new model to Contacts module breaks contacts configuration

Recently I tried to extend the contact form on our website. I wanted to add a drop-down with some possible subjects the user could select. To do this I created a new module MyCompany/Contacts in the ...
mlippie's user avatar
  • 43
3 votes
1 answer
1k views

add a select dropdown on Contact Page

I'm looking for a way to be able to add a Dropdown (select) to the Contact Page and use it as a Subject later on in the email. I've tried simply adding a dropdown but it doesn't seem to be working: ...
Prashant Patel's user avatar
3 votes
4 answers
2k views

Contact Form Does not send email - no errors or logs

am attempting to use the built-in Magento contact form. I have enabled the contact form in the configuration as well as set all email addresses. I have login enabled. When I use the form it redirects ...
beepboop's user avatar
0 votes
1 answer
551 views

Customized contact us page for logged in user

I wish to add a contact us page customized for the logged in user in magento2 website. It should be like it's activated when a person is logged in and it should not ask for name or email , it should ...
Farid Haq's user avatar
1 vote
3 answers
9k views

Input value must contain number higher than 5

In my contactform I want to display a inputfield, that may only contain a number, higher than 5. How can I achieve that? My current code is: <li> <div class="field"> ...
JGeer's user avatar
  • 1,422
0 votes
2 answers
813 views

Contact Us page has disappeared Magento 1.9.0.1

We used the default contact form and now the page has reverted to the "404 error page" I've tried to find the CMS page to edit this if it had become disabled, but it seems like it's not even listed ...
Wilsooo's user avatar
  • 63
0 votes
1 answer
468 views

Add content to second column on "Contact Us" page

I've been editing the standard magento contact us page. Mine is using the 2-column-left.phtml template being called through the contacts.xml. On my contact page the standard form is being populated ...
The_Dsigner's user avatar
1 vote
3 answers
3k views

Magento contact form unable to submit your request error

Magento 1.9.2.3 contact form issue, its the default contact form in magento. I get error Unable to submit your request, please try again later, even all fields are filled, however this form is ...
Diamonte's user avatar
1 vote
1 answer
291 views

Contact form email template - Array

If I have a checkbox on the contact form how do I pull these values into the email template. My form looks like <li> <label for="telephone">Contact Method</label> <...
Goose84's user avatar
  • 2,641
1 vote
2 answers
261 views

Send visitor to a CMS page after the Contact Form

In Magento 1.9, after a visitor submits the contact form they get sent back to the contact form page. How can I send them to a CMS page instead? (I did try googling this, but the only results I got ...
Jimmery's user avatar
  • 1,509
1 vote
1 answer
104 views

Get company name input box contact form

I want to display the company name by default inside the contact form. Just like the customer name and emailaddress. I tried this, but that does not work. <?php echo $this->escapeHtml($this-&...
JGeer's user avatar
  • 1,422
0 votes
0 answers
542 views

Redirect custom contract forms to the original form page

I have a custom contact-us form that is a CMS pages. After submitting the contact form I want to redirect back to the CMS page with the custom contact form. I need to edit the controller (app/code/...
JGeer's user avatar
  • 1,422
0 votes
1 answer
85 views

Magento Enterprise 1.14.0.1 custom contact form variables no displaying in contact template

This is a bit similar to another post but different if that makes sense. We have a custom phtml page contact form. Our issue is when it sends email we are only getting one of the variables to be ...
Jayreis's user avatar
  • 725