Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Appointment › Shop staff can't see phone in address fields
- This topic has 11 replies, 2 voices, and was last updated 6 years, 4 months ago by WCFM Forum.
- AuthorPosts
- May 25, 2018 at 12:50 am #23777DanaParticipant
The shop_staff role can’t see the customer phone number. The permissions available are only
* View Customer Email
* Billing Address
* Shipping AddressHow can I make it so the phone is also visible to shop_staff role?
- May 25, 2018 at 3:50 pm #23795WCFM ForumMember
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
- May 25, 2018 at 4:09 pm #23798
- May 25, 2018 at 4:58 pm #23804WCFM ForumMember
Hi,
Can you please know me, Which page screenshot is this for “Customer” section?
Thank You
- May 25, 2018 at 5:02 pm #23805DanaParticipant
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.
- May 25, 2018 at 5:42 pm #23811WCFM ForumMember
Umm … can you please check this under Appointment details page!
Thank You
- May 31, 2018 at 4:09 pm #24090DanaParticipant
I think we are talking about the same page. See full screenshot. The appointment details is what I mean with individual appointment.
- June 2, 2018 at 2:48 am #24158WCFM ForumMember
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
- June 4, 2018 at 10:08 pm #24298DanaParticipant
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.
- June 5, 2018 at 6:40 am #24327WCFM ForumMember
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
- June 13, 2018 at 10:46 pm #24769DanaParticipant
Yeah, that adds the Email and phone for staff to view.
Is there a way to do that without needing a child theme?
- June 14, 2018 at 6:13 am #24785WCFM ForumMember
Hi,
You may use such a plugin to add custom code to your site – https://wordpress.org/plugins/code-snippets/
Thank You
- AuthorPosts
- The topic ‘Shop staff can't see phone in address fields’ is closed to new replies.