Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM › Customers not pulling through to WCFM
- This topic has 11 replies, 2 voices, and was last updated 7 years, 10 months ago by
WCFM Forum.
- AuthorPosts
- October 21, 2018 at 9:02 pm #34543
jadenew
GuestHi there,
I have the following setup:
Wyzi directory theme (using WC Marketplace)
WCFMNow when a customer places an order, I – as a vendor – would expect to see this customer in WCFM’s tab “CUSTOMERS”. However I don’t. Is that intentional and am I only able to see customers I have manually added – or – is that a bug and vendors should automatically see all customers that have ever placed an order with them?
Thanks
- October 24, 2018 at 3:48 pm #34770
WCFM Forum
MemberHI,
Thanks for get in touch with us.
Can you please know me one thing, that user placed the order what is user role for that user?
If that user’s role is “customer” then it will be definitely under customer dashboard.
Thank You
- October 24, 2018 at 9:03 pm #34823
jadenew
GuestIt is a Wyzi custom role called “Client”.
Thing is I have vendors who don’t have a “Customer” user role and vendors can also place orders. That would mean that they would not show up in the list. If I add additional role to all users to be “Customer”, would that work?
Thank you
- October 25, 2018 at 3:40 am #34870
WCFM Forum
MemberHi,
Can you please add this line of code to your site –
add_filter( 'wcfm_customer_user_role', function( $customer_roles ) { return 'customer, client'; });Thank You
- November 4, 2018 at 10:28 am #35686
jadenew
GuestHi and thank you for the snippet but it didn’t work unfortunately. I have put it in child’s theme functions.php and also tried adding it via a PHP snippet WP plugin.
- November 4, 2018 at 2:39 pm #35702
WCFM Forum
MemberHi,
Please be sure your custom user role “client”?
Thank You
- November 9, 2018 at 11:12 am #36230
jadenew
GuestHi there,
yes it is. That’s how I tested it.
Thanks
- November 11, 2018 at 6:52 am #36311
WCFM Forum
MemberHi,
I understand this problem, will resolve in next update.
Between, that custom code no more required.
Thank You
- November 12, 2018 at 5:52 pm #36530
jadenew
GuestHi, when will be the next update please? What you mean code is not required? Thank you
- November 12, 2018 at 6:22 pm #36533
WCFM Forum
MemberHI,
I have give you this code –
add_filter( ‘wcfm_customer_user_role’, function( $customer_roles ) {
return ‘customer, client’;
});It’s no more required.
Between, next update will be there in 2-3 days.
Thank You
- November 14, 2018 at 12:56 pm #36681
jadenew
GuestExcellen,t thank you so much! 🙂
- November 17, 2018 at 4:50 am #36886
WCFM Forum
MemberHI,
WCFM new update already released.
Kindly update yours and take a look.
Thank You
- AuthorPosts
- The topic ‘Customers not pulling through to WCFM’ is closed to new replies.