• HI,

    As the title states, I’d like to display custom billing fields in the user profile of the back end of WordPress.

    I tried searching the support section here but it appears to be inconclusive. How can i accomplish this? If not through Poor Guy’s, If I were to upgrade to the Rich guy’s version, would this be feasible?

    Lastly, would upgrading save my current configurations in Poor Guy’s?

    All in all, amazing plugin!! Please help out this Poor Guy.

    Thanks.

    https://www.ads-software.com/plugins/woocommerce-poor-guys-swiss-knife/

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

    (@ulih)

    Hi idorkstay.

    Sorry for the delay. I’ve been busy with a project. I’ll attend things over the next days.

    Thread Starter idorkstah

    (@idorkstah)

    Hi,

    I have been patiently waiting for a resolution to this. I’m willing to purchase the upgrade but would like a definitive resolution before doing so. If you could shed some light on this topic I would be much obliged.

    Thank you.

    Rick Hellewell

    (@rhellewellgmailcom)

    Have also noticed this problem. Adding a field to the billing information does not show that field on the admin User Account page. The customer will see that field on their Billing Information page (in My Account), but there is no way for an admin to see that additional field.

    Thanks….Rick…

    Please see my post with a solution regarding this topic here https://www.ads-software.com/support/topic/new-billing-fields-dont-show-up-in-users-edit-user-page?replies=8

    Let me know if this works for you.

    I was stuck on this for over an hour ??

    found the filter woocommerce_customer_meta_field in class-wc-admin-profile.php

    added my custom fields:

    function modify_woo_shipping_methods($profile_fields) {
    
    	// Add new fields
    	$profile_fields['billing']['fields']['billing_tussenvoegsel'] = array( 'label' => 'tussenvoegsel', 'description' => 'tussenvoegsel' );
    	$profile_fields['billing']['fields']['billing_mobile'] = array( 'label' => 'Mobiel', 'description' => 'mobiel' );
            $profile_fields['shipping']['fields']['shipping_tussenvoegsel'] = array( 'label' => 'tussenvoegsel', 'description' => 'tussenvoegsel' );
    	$profile_fields['shipping']['fields']['shipping_mobile'] = array( 'label' => 'Mobiel', 'description' => 'mobiel' );
    	return $profile_fields;
    }
    add_filter('woocommerce_customer_meta_fields', 'modify_woo_shipping_methods');

    I added two fields in swiss knife in both shipping and billing and added this to functions.php

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display Custom Billing Fields in Backend User Profile’ is closed to new replies.