Wondering if anyone has any thought on how to add the first_name and last_name to the new dawn 2.0 theme.
the code is as followed, I thought I would need to add
{form.first_name} and {form.last_name} plus contact[first_name] and contact[last_name] and change the input to text (with some other formating issues), but i cant see to get it to fire.
see code below:
{%- form ‘customer’, id: ‘ContactFooter’, class: ‘footer__newsletter newsletter-form’ -%}
{{ 'newsletter.label' | t }}
{% render 'icon-arrow' %}
Thanks for your feedback on this, That looks like it works but actually I had the inputs right and had a faulty output on the Dawn 2.0 theme that was giving me the wrong error… ending up being a caputa issue with a bad display.
Hi - This is what happens when I add this code to the bottom of that section. I added it after endschema (line 218 for me). How do I get these fields to be in line with the email field?
I am sorry, I’m still not getting an answer from this thread. Please can someone actually explain what code to add into the email sign up form and where? Many of us would clearly like to capture email + first name, instead of just email. We are happy with the email sign up form as it is, but just need it to have two rows (two fields): one for first name and one for email. Please can someone help?
Hi there, I also want to add a first name field to my email signup form in Studio in Shopify 2.0. I don’t know coding, and when I try pasting the code above in the custom CSS field for the sign up section in the theme customiser, it doesn’t work. I’m reluctant to add it to the theme code via the 3 dots because there’s a warning that I won’t be able to update the theme. Can you help please? Thanks!
This worked for me as far as creating the boxes for the first name and last name fields, but I can’t get the placeholder labels to show up. Can you help?
This looks good, and the fields came up nicely, trouble is I did a test filling out my names and only the email came up in the customer listings, no first or last name included, so not sure what to do about that! Any ideas? Many thanks!
By adding the first and last name fields, will the entered data be visible in the customers in Shopify dashboard, like the email address is? Or where is it expected to show up?