google api js
-
Hi,
We are using Google Apis PLACES to auto-complete the address of clients on checkout page :
wehn you go to the checkout, change country, then you’ll see additional shipping methods, brought there by colissimo-shipping-methods-for-woocommerce
and when you try to change the options few times (and that’s the simplest way of reproducing the issue, but there are few other ways too), the plugin will load the google maps api javascript, but without places, because it does not use it, and therefore it effectively removes the places api from the frontend context
see the file colissimo-shipping-methods-for-woocommerce/public/partials/pick_up/webservice.php and you’ll see there is the script added (hardcoded) with google api js
I removed it on sand now it works well (both the autocomplete and the shipping methods by colissimo)
can you put something to prevent the google api js to be included (like, a checkbox in the options maybe saying something like do not enqueue google api js to prevent conflicts, idk) ?
- The topic ‘google api js’ is closed to new replies.