Re: Adding a custom customer address field in customers/addresses.liquid doesn't manifest

Solved

Adding a custom customer address field in customers/addresses.liquid doesn't manifest

nimrodco
Visitor
1 0 0

hello,

I've tried adding the following field to my addresses.liquid in hope to find it in the shop's address collection form:

<label for="AddressDistrictNew">District (Barangay)</label>
<input type="text" id="AddressDistrictNew" name="address[district]" value="{{ form.district }}" autocapitalize="characters" autocomplete="district">

However, nothing happens when I go to store preview and I still see the normal address fields.

any idea what's wrong?

Accepted Solution (1)

gina-gregory
Shopify Partner
742 51 213

This is an accepted solution.

You can't add custom fields to the address form like that.

Try using an app like Customer Fields.

View solution in original post

Replies 3 (3)

gina-gregory
Shopify Partner
742 51 213

This is an accepted solution.

You can't add custom fields to the address form like that.

Try using an app like Customer Fields.

web5
Shopify Partner
5 0 3

Customer address options must be available.

For different countries and methods of work and delivery.

And apps should offer something special, not the basics.

Jahid-KlinKode
Excursionist
145 1 5

Hey @nimrodco, solve the puzzle of customizing Shopify contact forms effortlessly. This YouTube video guides you through adding text, dropdowns, radio buttons, and checkboxes: