Home Forums WC Vendors Pro Support Customer name not displayed after removing checkout fields

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #62651
    Marko
    Participant

    Hi,

    I didn’t check the “Hide Customer Name” from vendor’s order dashboard, yet it disappears when I remove some other checkout fields.

    I’m using this below hook to remove some checkout fields – notice that I didn’t remove first and last name in billing fields. What could be the issue?

    `add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );

    // Our hooked in function – $fields is passed via the filter!
    function custom_override_checkout_fields( $fields ) {
    unset($fields[‘order’][‘order_comments’]);
    unset($fields[‘billing’][‘billing_company’]);
    unset($fields[‘billing’][‘billing_address_1’]);
    unset($fields[‘billing’][‘billing_address_2’]);
    unset($fields[‘billing’][‘billing_city’]);
    unset($fields[‘billing’][‘billing_state’]);
    unset($fields[‘billing’][‘billing_phone’]);

    return $fields;
    }`

    #62674
    Anna
    Member

    Hello,
    I don’t know.
    If you backwards work it– just add ONE unset at a time– perhaps you can find which one will also cause the customer name to be removed.

    #62700
    Marko
    Participant

    Hi Anna,
    I will have a look, thanks for the suggestion.
    I wanted to ask,is there a way to remove billing details from vendor emails?

    #62817
    Marko
    Participant

    I’ve found out that it’s address field in question. When I remove address field on checkout, name isn’t being showed on vendor’s order dashboard. Is there any way to solve this?

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.