PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

GF + Woocommerce Address

  1. Hi all,

    I have a shop and a separate user registration with a payment fee using Gravity Forms on my site. I've got it setup nicely so the GF for membership just grabs all the users data from their profile.

    However, I'd love to be able to grab that data from the Woocommerce address fields too (either shipping or billing). Is there are way to do this easily with a merge tag?

    Posted 11 years ago on Friday June 14, 2013 | Permalink
  2. David Peralty

    I don't know how the WooCommerce address is stored, so I couldn't say. You would have to ask them how it is stored (user profile?) and either pull it using PHP (which you'd have to ask the WooCommerce folks about) or via a merge tag (if it is part of the user profile)

    Posted 11 years ago on Friday June 14, 2013 | Permalink
  3. Thanks for the quick response!

    It appears on the profile edit screen, so I assume that means it's stored in their profile? Wit user_meta?

    This gives a list of the fields it adds: http://docs.woothemes.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/

    Would you be able to give me some pointers on how to turn that into a merge tag (if possible?)

    Posted 11 years ago on Friday June 14, 2013 | Permalink
  4. Ah ha! Nevermind - I managed to solve this with the help of this: http://gravitywiz.com/use-merge-tags-as-dynamic-population-parameters/

    From there it was just using {user:billing_address_1} etc in the Dynmaic Population fields.

    Thanks for your time! Hopefully this helps someone else in the future.

    Posted 11 years ago on Friday June 14, 2013 | Permalink