magento2-google-address-lookup
magento2-google-address-lookup copied to clipboard
Number of Lines in a Street Address
Hello, i am using this setting Number of Lines in a Street Address ; 1 When is type the address the autpcomplete only returns the housenumber not the streetname. (dutch user)
Hello,
You can try to do this in CtiDigital/GoogleAddressLookup/etc/frontend/di.xml
<type name="CtiDigital\GoogleAddressLookup\Block\Js\GoogleApi">
<arguments>
<argument name="fieldsMap" xsi:type="array">
<item name="street[0]" xsi:type="string">route|street_number</item>
<item name="country" xsi:type="string">country</item>
<item name="city" xsi:type="string">locality|postal_town</item>
<item name="postcode" xsi:type="string">postal_code</item>
<item name="zip" xsi:type="string">postal_code</item>
<item name="region" xsi:type="string">administrative_area_level_1</item>
</argument>
</arguments>
</type>
Hello @bluvertigo,
is there a way to join the street and the number all together? (italian user)
Thanks for your extension.