• Resolved danzmwl

    (@danzmwl)


    This plugin can’t seem to do Australian addresses.

    For street address line 1 it only puts the address number in?
    For street address line 2 it puts the street address and City/Suburb in?
    For City/Suburb it used the local Council name?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes I agree, we need the following example of Google address data to autofill correctly:

    complete_address_1 : 18
    complete_address_2 : Brickworks Road, Kallangur
    district : Moreton Bay Region
    state : QLD
    state_long : Queensland
    country : AU
    country_long : Australia
    postal_code : 4503
    city : undefined
    street_number : undefined
    neighborhood : undefined
    premise : undefined
    sublocality_level_1 : undefined
    sublocality_level_2 : undefined
    sublocality_level_3 : undefined
    route : undefined

    This needs to be auto filled like this here in Australia:
    “billing_address_1” = 18 Brickworks Road (complete_address_1 & complete_address_2 needs to be on same line)
    “billing city” = Kallangur (last part after the comma from complete_address_2)
    “billing_state” = Queensland (state_long)
    “billing_postcode” = 4503 (postal_code)
    “billing_country” = Australia (country_long)

    Is there someone that knows how to modify autofill.js to achieve these results? My coding skills aren’t that great.

    Plugin Support kushatnt

    (@kushatnt)

    @danzmwl @olstadesigns As part of the free/community version of this plugin, it only does autofill using some fixed data fields returned from Google API. There is a way to customize the mapping between address checkout fields and Google API response data fields. But this feature is only there in the pro version of this plugin. However, we are planning to roll out a similar option of mapping with a free version in the future. We will update once it is available.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t do Australian addreeses’ is closed to new replies.