Product Icon

Google Address Autocomplete For WooCommerce

Google address autocomplete for WooCommerce allows users to autocomplete billing/shipping address fields with the suggested results of the Google Places API.

Remove the establishment default option

Hi guys, I am not sure if this is the correct way to report an issue with your plugin but I thought you might want to know that in the last update you included a new `options` variable in the `gacinitialize` function that includes the types `establishment` option this was forcing my website to only show well landmarks and similar when searching in the billing address field. I had to manually remove it to return the plugin back to working order.
const options = {
fields: [“address_components”, “geometry”, “icon”, “name”],
strictBounds: true,
types: [“establishment”],
};
Hope this helps in some way.
Regards Dan

Author

ishfishuk

Current Status

Open

Last updated: December 18, 2022

0 comments

Log in to comment on this feature request.