• Resolved Lisa Hogan

    (@lisascraftiques)


    I have installed this plugin and I need the ability to add extra fields to my woocommerce registration form. I installed wp-members plugin and was able to create the fields I needed. I offer my items both wholesale as well as retail and need a field asking if they are registering as a wholesale vendor plus a field for their sales tax ID #. I got the form set up BUT the extra data collected does not show up in the wordpress user’s profile in my admin when someone registers. I have tried different plugins and have spent two days searching for answers and have come up empty. How do I access the data customers submit in the extra fields I added to the registration form?

    https://www.ads-software.com/plugins/wp-members/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The plugin installs a certain set of default fields for getting you started. These may or may not match up with similarly named fields from other plugins. You are not limited to using the fields the plugin installs and you can delete any of the fields that are not WP native fields.

    As long as another plugin uses single user meta for custom fields, you can match these up. You just need to know what the meta keys are that the other plugin is storing data as. Then you can create the same field in the WP-Members fields tab, setting the option name as that the meta.

    Thread Starter Lisa Hogan

    (@lisascraftiques)

    Well I was able to match the fields using another plugin Woocommerce Poor Guys Swiss Knife as suggested in another related post I found on the forums. It has added the fields to the user profile however, they are collecting the information in the woocommerce checkout form not the registration form. The plugin does not allow me to edit the fields in registration form. Only billing and shipping info.

    Where would I look for the meta keys in the woocommerce registration form? Would I look in my Cpanel in the file manager? This seems to be way over my head.

    Plugin Author Chad Butler

    (@cbutlerjr)

    These are in your database in the wp_usermeta table, but also in the case of WooCommerce, they use the same name for the meta key as they name the field in the form. So if you are using Chrome or FireFox, you can look at the form these are in in your browser and right click on it and select “inspect element”. This will show you the HTML for the form. These will look something like the following (using the first billing address field as an example):

    <input type="text" class="input-text " name="billing_address_1" id="billing_address_1" placeholder="Street address" value="123 Main St">

    The name=”billing_address_1″ is what you need. billing_address_1 is the meta key for the first address field.

    As I mentioned, in WC the input field’s name is the same as the meta key the data is stored as. This isn’t the case in every plugin, but with WC it is.

    Thread Starter Lisa Hogan

    (@lisascraftiques)

    OK Thank you very much!

    I have been trying to get this to work for a few days now, but it still won’t send any of the data to the user profile. Am I missing something?
    I have been using all the right meta-keys found in the woocommerce documentation.

    Hi.

    I know there has not been recent activity on this thread but maybe someone can help. I have installed the WP members plugin in order to get the additional registration fields for my woocommerce site. I have tried using the existing fields from the plugin as well as creating my own custom fields.

    The fields show up fine on the registration page and it even forces you to fill in all required fields, but the problem is that that information is then not captured on the Users page of wordpress nor the My account page of the customer.

    Any assistance in resolving this will be greatly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘custom registration fields not showing up in user profile’ is closed to new replies.