Using Google Places API to autocomplete addresses
-
Hello, I’m so happy I found your plugin to manage standard and rural shipping rates!
I’m using the Google Places API to autocomplete the WooCommerce address field “billing_address_1”. I have found that when a user fills out their address on the checkout page using autocomplete, the shipping zones are not triggered as it doesn’t sense that a postcode has been entered.
For those using Google Places API, is there some way to add code (maybe to the theme functions.php) when billing_address_1 is updated, check postcode feild. If postcode is not blank, trigger Woocommerce_NZ_Shipping_Zone to show the shipping rate? Or can you help suggest another method to trigger the pulgin?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.