• Resolved djks74

    (@djks74)


    Hi,
    please let me know if you can help me to fix conflicting with our shipping plugin.

    Thank,
    Sandi

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Uriahs Victor

    (@uriahs-victor)

    Hi @djks74 Can you please give more details here as to which plugin it’s conflicting with and exactly what is happening? Possibly some screenshots?

    Thread Starter djks74

    (@djks74)

    Hi,
    thanks for replied.

    here is the ss https://imgur.com/a/qruoeTT

    another thing after it fixed, maybe I need little help for addreess adjustment placement, since we only need street name and street number, but not with administrator level 3 and 4 might could not working in our system if has too many characters.

    Thanks in advance!

    warm regards,
    Sandi

    Plugin Author Uriahs Victor

    (@uriahs-victor)

    Regarding the conflict, it looks like your plugin “WooGoSend” is the issue here and causing the issue. From the error it says that in their code they’re declaring a class twice without checking first if it exists or not. So please send this error message to them so they can patch it in their plugin.

    Regarding the addresses, the plugin is just using what Google Maps is sending back when the marker is moved to the address on the map.

    The plugin is currently setting the Address Line 1 field on the checkout page to the “formatted address” value sent back by Google Maps. Unfortunately there’s no way currently in the plugin UI to change which value it uses, you’d have to edit the code yourself, this is the file and line responsible for setting the Address Line 1 value: https://github.com/UVLabs/location-picker-at-checkout-for-woocommerce/blob/v1.2.1/includes/public/js/maps/checkout-page-map.js#L336

    You can change “formatted_address” to the appropriate field from google maps that you want.

    add a line for console.log(results[0]) to see all the available fields sent back from google maps when you try to change move the marker

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with our shipping plugin’ is closed to new replies.