How can I add an address field to {% form 'create_customer' %} element?

Highlighted
Shopify Partner
15 0 0

I have the following code in a liquid file. It does not save the zipcode to the default address. How can I get this work? 

 

{% form 'create_customer' %}
<input type="email" id="Email" name="customer[email]">
<input type="text" id="Name" name="customer[first_name]">
<input type="text" id="Zip" name="customer[default_address][zip]">
{%endform%}

 

0 Likes