• The Company Name, EIN and Industry fields that I have added into the WP Members plugin for registration is ALSO showing on the WooCommerce checkout form. I do not want these fields to show on checkout, ONLY upon new user registration.

    The page I need help with: [log in to see the link]

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

    (@cbutlerjr)

    Yes, I see what you’re describing. Ideally, that would only occur if the user is registering during checkout. That will need to be addressed in an update, possibly 3.3.5 if I can work it in.

    Thread Starter Josiah

    (@colewebdev)

    Thank you for the prompt response. Looking forward to the new version.

    Plugin Author Chad Butler

    (@cbutlerjr)

    I looked at this a little more. The filter that adds them into the checkout form is woocommerce_checkout_fields. You could apply a remove_filter() call to take that out, adding the following to your theme’s functions.php:

    add_action( 'wpmem_after_init', function() {
    	remove_filter( 'woocommerce_checkout_fields', 'wpmem_woo_checkout_form' );
    });

    If any of the fields are required, you may need to double check to see if removing this causes any hangups with required fields that aren’t there. So there might be another hook necessary, depending on your setup.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WooCommerce Checkout + Registration Fields’ is closed to new replies.