Shop staff can't see phone in address fields

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Appointment Shop staff can't see phone in address fields

Tagged: ,

Viewing 11 reply threads
  • 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
      Member

      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
      Member

      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
      Member

      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
      Member

      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
      Member

      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
      Member

      Hi,

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

      Thank You

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