• Resolved Jack Houzi

    (@henrilegrand)


    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) ?

Viewing 1 replies (of 1 total)
  • Plugin Author Colissimo

    (@iscpcolissimo)

    Hello,

    thank you for this info.

    We’ll check on our side and make the necessary update in a release.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘google api js’ is closed to new replies.