Possibly you have only 25 customers with “Customer” user role.
If you are getting this as vendor then definitely it will not show you all vendors.
the 25 customers are with resellers role I put the code that you guys give to me to update the customer’s role to other roles.
this code
add_filter( 'wcfm_customer_user_role', function( $customer_user_roles ) {
$customer_user_roles[] = 'reseller_customer';
$customer_user_roles[] = 'cd_customer';
return $customer_user_roles;
});
https://prnt.sc/213dott
there are no customers, they have resellers and store vendor role.
https://prnt.sc/213dpwn
is this possible to use?
add_filter( 'wcfm_customer_user_role', function( $customer_user_roles ) {
$customer_user_roles[] = 'reseller_customer';
$customer_user_roles[] = 'cd_customer';
$customer_user_roles[] = 'wcfm_vendor';
return $customer_user_roles;
});
but it shows only 25 data how to fix it?
https://prnt.sc/213fhnv
i use this code
add_filter( 'wcfm_customer_user_role', function( $customer_user_roles ) {
$customer_user_roles[] = 'reseller_customer';
$customer_user_roles[] = 'cd_customer';
$customer_user_roles[] = 'wcfm_vendor';
return $customer_user_roles;
});
it shows 25 only! those users have reseller_customer role and wcfm vendor role
https://prnt.sc/213fipq
DO you have more customers with orders for this vendor?
What are you getting as Admin?
I removed all the codes and start FRESH! its still the same it shows only 25 customers
I got 2 pages in admin dashboard
https://prnt.sc/213gqu0
https://prnt.sc/213gqu0
Great, so there has no issues. Vendors are not allowed to see all customers, they only allowed to see those customers who already ordered from their store.