Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author ulihake

    (@ulih)

    Hello macnoct.

    How did you add the fields? With billing and shipping in the field name? Try without billing and shipping as this will be added automatically. WCPGSK uses the same prefixes for billing and shipping fields as WooCommerce itself.

    For a field billing_address_google you will need to specify address_google and in shipping the same to obtain _billing_address_google and _shipping_address_google.

    Internally WooCommerce prefixes moreover an underscore (“_”) and maybe this underscore is the culprit. Nevertheless, on front the underscore will not appear and the field will be named billing_address_goolge and I believe this is what your plugin expects and needs.

    Regards.
    uh

    Thread Starter magnoct

    (@magnoct)

    Thanks for the reply, when I add just address_google it puts it in as billing_address-google (yes hyphen as opposed to underscore)

    Plugin Author ulihake

    (@ulih)

    Ok, I will provide a fix for this. I’m doing some filtering on the field names and wasn’t aware of the conversion of underscores to hyphens.

    Will be out soon.
    Regards.
    uh

    Thread Starter magnoct

    (@magnoct)

    Many thanks ??

    Plugin Author ulihake

    (@ulih)

    Update is on its way, will be out this weekend and include a fix for this.

    Thread Starter magnoct

    (@magnoct)

    Thanks, you rock.

    Plugin Author ulihake

    (@ulih)

    1.9.4 is out which corrects this problem for you.

    Regards.
    uh

    Thread Starter magnoct

    (@magnoct)

    Thanks, that is almost perfect ?? When I click in the field to add an address it pops up a red message below the field telling me to please enter correct information into this field even though I am trying to do it. When I start typing that message disappears.

    Plugin Author ulihake

    (@ulih)

    Hello magnoct.

    The field has the correct name and id? That’s what it was all about. The red message is not related, I believe, with WCPGSK. Are there any javascript error messages? Could you please check this with an inspector (nearly all browser include one and let you see error messages in the inspector’s console).

    If there are no messages the only thing we can do is, that you send me a copy of the plugin. (Should be GPL licensed, so there’s no problem with sending it.) You can contact me via the contact form of TakeBarcelona.

    Regards.
    uh

    Plugin Author ulihake

    (@ulih)

    Some remarks: The field should never be marked as required. Your plugin should suppress the name attribute of this field, in fact, as the field is only used to retrieve data from Google that will be placed in the corresponding WooCommerce build-in fields. That’s what I deduce from the Google Api documentation for the autocomplete function for addresses.

    And: You may send me an link to your site as well. As the message is not related with the WooCommerce validation process (triggers only after form submit button is pressed) I’m quite convinced that the problem can be identified on the “client side”.

    uh

    Thread Starter magnoct

    (@magnoct)

    Thankyou, and it only happens in ie so that is weird. I removed the required tick and that fixed the issue. LEGEND!.

    You can mark another one off as resolved ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘conflict with google address filler’ is closed to new replies.