Shop staff can't see phone in address fields

WooCommerce Multivendor Marketplace – Home Forums WC Appointment Shop staff can't see phone in address fields

Tagged: ,

This topic contains 11 replies, has 2 voices, and was last updated by WCfM Forum WCfM Forum 4 months, 1 week ago.

  • Author
    Posts
  • #23777

    Dana
    Participant

    The shop_staff role can’t see the customer phone number. The permissions available are only

    * View Customer Email
    * Billing Address
    * Shipping Address

    How can I make it so the phone is also visible to shop_staff role?

  • #23795
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Well, there is no other capability option for phone no.

    We control this with “View Customer Email”, so Staffs are in general allow to see Customer Phone. But if you set OFF “View Customer Email” then phone no also not available to staffs.

    Thank You

  • #23798

    Dana
    Participant

    I have that enabled and doesn’t appear. All they see is address, see screenshots (blurred out for privacy).

    Attachments:
    You must be logged in to view attached files.
  • #23804
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Can you please know me, Which page screenshot is this for “Customer” section?

    Thank You

  • #23805

    Dana
    Participant

    Yes that was viewing an individual appointment. But it’s the same on the individual order, only shows the address and no email or telephone.

  • #23811
    WCfM Forum
    WCfM Forum
    Keymaster

    Umm … can you please check this under Appointment details page!

    Thank You

  • #24090

    Dana
    Participant

    I think we are talking about the same page. See full screenshot. The appointment details is what I mean with individual appointment.

  • #24158
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    That’s quite strange, it shows customer’s Billing Email and Phone number

    Can you confirm me onething, are you able to see those as Admin for the same Appointment?

    Thank You

  • #24298

    Dana
    Participant

    Here’s what an admin view sees, billing phone and email do appear. It seems like a permission thing, just don’t know what permission. Since staff has View Customer Email and Billing Address. Since there is that is disabled for all on the front-end.

  • #24327
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    So as Admin it’s fine. Kindly add this code to your site –

    function wcfm_force_view_customer_email( $is_allow ) {
    	return true;
    }
    add_filter( 'wcfm_allow_view_customer_email', 'wcfm_force_view_customer_email', 750 );

    Thank You

  • #24769

    Dana
    Participant

    Yeah, that adds the Email and phone for staff to view.

    Is there a way to do that without needing a child theme?

  • #24785
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    You may use such a plugin to add custom code to your site – https://wordpress.org/plugins/code-snippets/

    Thank You

The topic ‘Shop staff can't see phone in address fields’ is closed to new replies.