Hi,
I would like new customers of a store to use the address autocomplete feature on the registration page (mystore.com/customer/account/create/) so that a customer can enter it's address more easily and also the address is already correct when the customer is registered.
The address fields on the customer registration page are enabled by setting the following in customer_account_create.xml layout file:
<referenceBlock name="customer_form_register">
<arguments>
<argument name="show_address_fields" xsi:type="boolean">true</argument>
</arguments>
</referenceBlock>
The show_address_fields argument is used in the following template to render the address fields: /vendor/magento/module-customer/view/frontend/templates/form/register.phtml
Question: Is it possible to integrate the address autocomplete feature in this customer registration form?
Hi,
I would like new customers of a store to use the address autocomplete feature on the registration page (
mystore.com/customer/account/create/) so that a customer can enter it's address more easily and also the address is already correct when the customer is registered.The address fields on the customer registration page are enabled by setting the following in
customer_account_create.xmllayout file:The
show_address_fieldsargument is used in the following template to render the address fields:/vendor/magento/module-customer/view/frontend/templates/form/register.phtmlQuestion: Is it possible to integrate the address autocomplete feature in this customer registration form?