Native Shopify Contact Form

Topic summary

Questions about customizing and handling the native Shopify contact form.

  • Admin notification email: Seeks to remove the auto-injected “Country Code” field that appears in the admin email, despite not being in the HTML form. Asks how Shopify is adding it and how to prevent it from showing.

  • Email subject customization: Wants to change the default subject line (“New customer message on [date] at [time]”) for the admin notification. Requests where and how this can be edited.

  • Modal form submission UX: The contact form sits in a modal; on submit the page reload closes the modal, hiding the success message. Requests guidance on submitting via AJAX (asynchronous submission without page reload) to keep the modal open and show success feedback.

  • reCAPTCHA considerations: Notes Google reCAPTCHA in Preferences may block AJAX submissions; plans to disable it but seeks recommended approaches, resources, or code examples that work with Shopify’s native handling.

Status: No responses or solutions yet; assistance from Shopify Support or developers is requested. Discussion remains open.

Summarized with AI on February 17. AI used: gpt-5.

I have several questions regarding the native Shopify ‘contact’ form.

  1. When a contact form is submitted, the admin receives a notification email, and in that email there’s a "Country Code: " field. How do I remove that field from appearing in the admin email notification? Note: this field is NOT present inside the HTML form tags, so I’m unsure how to stop Shopify from injecting it into the email notification to the admin.

  2. Is there a way to change the email subject of the admin notification email? Currently it says “New customer message on [date] at [time]” and I would like to be able to edit the “New customer message” part, is that possible? If so, where?

  3. My contact form is inside a modal window that is opened with a click of a button. When the user submits the form, the page refreshes and when the page has finished loading the modal is of course closed. So the user never sees the Success Message from the form submission. Do you have any recommendations on how to AJAX submit the form? I can turn off Google’s Recaptcha from the Preferences section of the admin for the Contact form, which I gather would block any AJAX requests for the form submission, but besides that can you share any resources or provide code examples of how to tackle that, how you recommend to handle it so it will work well with Shopify’s native handling of the Contact form submission?

Thanks in advance for any assistance from Shopify Support or Devs/Partners.