5

I know that I can add "Address lines" in Stores > Configuration > Customer Configuration > Name and Address Options > Number of Lines in a Street Address but the address is stored as a single String in quote_address table.

I need to have four separate fields for customer address:

  • Street
  • Number
  • Complement
  • District

And

  • Area code (before telephone field)

I'd like to show them in that order...

I've already created the number, complement, district, area_code columns in quote_address and customer_address_entitytables. Now I need to show it in frontend and save the custom data to these columns.

Any hints on how to accomplish this?

1
  • 1
    Any solutions, please ?
    – Manish
    Commented Dec 11, 2017 at 16:19

1 Answer 1

1

Please review belwo link;

https://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_new_field.html

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.