Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have followed the steps from this documentation:
https://shopify.dev/tutorials/customize-theme-get-more-information-with-customer-registration-form
but when I test out our customer form in a newsletter pop up, the customer gets added but the note's field is nowhere to be seen, and the customer notes are blank. Is this working for anyone??
Hello HandHugs,
You have to add field in
Online Store->Theme->Edit code->Sections->newsletter.liquid
file to display it in newsletter.
The tutorial you are refering is for customer registration form.
I'm having the same issue — I was able to use the tutorial linked to get notes in the customer registration form working, I even used the same method to customize the contact form. It does not work on the Newsletter form, you can still subscribe and it still creates an account, but the customer has no notes, no name, just an email.
Has anyone successfully customized their Shopify Newsletter Form?
This should be simple to accomplish using the Customer Fields app. We've added a customer note editor in the app which makes it easy to inject any field from your form into the customer note (without overwriting any previous customer note data, of course!)
Managed to solve this using the 'customer' form with 'contact[]' field names.
The pattern to add a note to the customer account is to use the name value on the input with the contact prefix and then [note][identifier] eg: contact[note][Business] instead of using the customer[note][identifier] pattern in the tutorial.
{% form 'customer', id: 'newsletter', class: 'newsletter__form' %}
<input autocomplete="given-name" type="text" id="ContactForm-firstName" name="contact[first_name]" value="{% if form.name %}{{ form.name }}{% elsif customer %}{{ customer.name }}{% endif %}" placeholder="First Name*">
<input autocomplete="family-name" type="text" id="ContactForm-lastName" name="contact[last_name]" value="{% if form.business %}{{ form.business }}{% endif %}" placeholder="Last Name*">
<input autocomplete="organization" type="text" id="ContactForm-business" name="contact[note][Business]" value="{% if form.business %}{{ form.business }}{% endif %}" placeholder="{{ 'templates.contact.form.business' | t }}">
{% endform %}
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025