FROM CACHE - en_header

Append register form with customer address

New Member
3 0 0

Hi fellow devs!

We're trying to append the customer register-form with address-fields, but the docs has led us in circles...

- In the file `templates/customers/register.liquid` we have a `create_customer`-form.

- With, for example a zip code field, we have tried adding inputs with:

  • `name="customer[default_address][zip]"`
  • `name="customer[addresses][0][zip]"`
  • `name="customer_address[zip]"`

but none of this is stored on submit. 

The goal is to register a new customer AND store address fields on the same post-req.

Anyone experiencing similar issues? Any thoughts would be helpful!

Reply 1 (1)
Shopify Partner
65 0 16

Did you figure this out? I'm trying to do something similar.

D.E.W. L.A. - Web Design