• Hello

    Great plugin, many thanks!

    At the moment on my site it isn’t filling in the Town / City field.

    Do you have any idea why this is?

    I will deactivate on my site for now.

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lanxalot

    (@lanxalot)

    Hello, does anyone still support this plugin?

    Many thanks

    I had the same problem, here is how I fixed it. (Not ideal but hopefully this gets addressed in next release)

    File: /wp-content/plugins/checkout-address-autofill-for-woocommerce/assets/js/autofill.js

    Line 196:

    if (addressType == 'locality') {
         jQuery('#billing_city').val(place.address_components[i]['long_name']);
    }

    Change to:

    if (addressType == 'postal_town') {
       jQuery('#billing_city').val(place.address_components[i]['long_name']);
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not filling in the Town / City field’ is closed to new replies.