• Resolved Geoffrey

    (@geoffrey1963)


    Hello and thanks for the awesome plugin!!
    I only just installed yesterday and did some testing of the addresses and it worked really well.
    The only problem that I have found though is if I enter an address with a unit or apartment number, eg 9/88 Eyre Street North Ward, it shows up as this address in the drop down selection box, but once selected the unit or apartment number is missing and the address is entered in the checkout as 88 Eyre Street. If this goes unchecked or missed by the customer, their goods will probably not get delivered especially if there are a large number of units or apartments.
    I am not sure sure if this is a plugin issue, or just the way google handles unit and apartment addresses, but is there a way for it to show the whole address including unit or apartment number.
    Thanks & regards
    Geoff

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor natekinkead

    (@natekinkead)

    Unfortunately, Google doesn’t recognize or handle apartment numbers. Here is the data that Google returns when you select that address.

    place:
    address_components: Array(7)
    0: {long_name: "88", short_name: "88", types: Array(1)}
    1: {long_name: "Eyre Street", short_name: "Eyre St", types: Array(1)}
    2: {long_name: "North Ward", short_name: "North Ward", types: Array(2)}
    3: {long_name: "Townsville City", short_name: "Townsville", types: Array(2)}
    4: {long_name: "Queensland", short_name: "QLD", types: Array(2)}
    5: {long_name: "Australia", short_name: "AU", types: Array(2)}
    6: {long_name: "4810", short_name: "4810", types: Array(1)}
    length: 7
    __proto__: Array(0)
    adr_address: "<span class="street-address">88 Eyre St</span>, <span class="locality">North Ward</span> <span class="region">QLD</span> <span class="postal-code">4810</span>, <span class="country-name">Australia</span>"
    formatted_address: "88 Eyre St, North Ward QLD 4810, Australia"
    geometry: {location: _.L, viewport: _.vc}
    html_attributions: []
    icon: "https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png"
    id: "6d2ab30f271f69aec68b10327025906accb54320"
    name: "88 Eyre St"
    place_id: "Eio4OCBFeXJlIFN0LCBOb3J0aCBXYXJkIFFMRCA0ODEwLCBBdXN0cmFsaWEiMBIuChQKEgkX-jqI6vjVaxFRr65X8e4AExBYKhQKEgmfsljpwfjVaxFMbjguuo8NKQ"
    reference: "Eio4OCBFeXJlIFN0LCBOb3J0aCBXYXJkIFFMRCA0ODEwLCBBdXN0cmFsaWEiMBIuChQKEgkX-jqI6vjVaxFRr65X8e4AExBYKhQKEgmfsljpwfjVaxFMbjguuo8NKQ"
    scope: "GOOGLE"
    types: ["street_address"]
    url: "https://maps.google.com/?q=88+Eyre+St,+North+Ward+QLD+4810,+Australia&ftid=0x6bd5f8ea883afa17:0x6764e98a1209bad0"
    utc_offset: 600
    vicinity: "North Ward"
    Thread Starter Geoffrey

    (@geoffrey1963)

    Hi Nate,
    Ok thanks for that…I have put a message at checkout to suggest if you have an apartment number to manually insert it into the address field. I think that’s the best option.
    Thanks
    Geoff

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unit / Apartment Numbers Omitted’ is closed to new replies.