• Hi there,

    One of our customers is having issues to use Shiptimize with our plugin Google Address Autocomplete for WooCommerce, by Fluid Checkout.

    What happens is that the Google Maps script is being loaded more than one time on the same page, which breaks the functionality of our plugin.

    Our plugin tries to avoid this issue by consolidating multiple enqueues of the Google Maps script into a single call. This requires that other plugins use the standard way of enqueuing scripts into the page by using the native WordPress function wp_enqueue_script().

    Unfortunately, Shiptimize load the Google Maps scripts from a Javascript file, which makes it impossible for our plugin to detect and avoid loading the Google Maps scripts multiple times when used with Shiptimize.

    Since our plugin needs the places library from the Google Maps API, and because Shiptimize does not have a way to customize the URL of the Google Maps script and the callback function triggered after that script is loaded, we are unable to fix this issue from our side.

    1. Would it be possible for you to change the way Google Maps script is loaded on your plugin to use the standard wp_enqueue_script() function?

    Thanks in advance,
    Diego.

The topic ‘Compatibility with other plugins using Google Maps scripts’ is closed to new replies.