• Resolved NIWO

    (@niwo)


    Hello, my registration form is made with *WPForms*.

    My Problem is:
    Because WPForms is not integrated with WooCommerce, I only may store the billing information with ACF (Advanced Custom Fields) during the registration process.

    My aim is:
    The customer should fill out the registration form, autologin after submitting and redirecting to the checkoutpage, where the billing field should be prefield with the information the customer entered previously in the registration form.

    Solution:
    I have no clue how to achieve this.
    Some here who has experience?

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Since this is a bit outside our expertise here in WooCommerce support, I don’t think we’d have insight into this. We highly recommend contacting one of the services on our Customizations page (https://woocommerce.com/customizations/)

    With that being said, I will go ahead and leave this open for a bit so others can weigh in if they have input.

    Thread Starter NIWO

    (@niwo)

    Hey,

    somehow WPForm accepted the meta keys from WooCommerce.
    I used this one.

    billing_first_name
    billing_last_name
    billing_company
    billing_address_1
    billing_address_2
    billing_city
    billing_state
    billing_postcode
    billing_country
    billing_email
    billing_phone
    customer_user

    But Country meta key didn’t worked for me.
    Someone an idea how to store the information with WPForms into the WooCommerce country meta data?

    Regards

    D Smith a11n

    (@dsmithweb)

    Automattic Happiness Engineer

    Hi there!

    billing_country is definitely a valid key used in WooCommerce: https://github.com/woocommerce/woocommerce/search?q=billing_country

    My guess would be that the contents weren’t formatted correctly. WooCommerce uses the ISO 2-letter codes for country, as seen (for example) here: https://creatingawebstore.com/woocommerce-country-codes-and-state-codes-list.html

    So if the contents of billing_country are anything but one of those two-letter codes, it won’t be valid. I hope that helps!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any further questions!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Synch ACF with WooCommerce Billing Fields on First Login’ is closed to new replies.