• Resolved misstest

    (@misstest)


    Is it posible to allow VENDORS see all the clients? Not just the ones he (The vendor) created.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Lovers

    (@wclovers)

    HI,

    Well, vendors are allow to see clients which are created by them and those who placed orders for their products.

    Do you want to remove all conditions and show all clients as Admin ?

    Thank You

    Thread Starter misstest

    (@misstest)

    Hello,
    Yes and when they Create orders manually to be able to select any customer, not only the ones this vendor created.

    Example:
    Vendor1 creates Customer1
    Vendor2 goes to Create Orders Manually > Select Customer1

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Please add this code to your child theme’s functions.php –

    add_filter( 'wcfm_get_customers_args', function( $args ) {
    	if( isset( $args['include'] ) ) unset( $args['include'] );	
    	return $args;
    }, 30 );

    Thank You

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Allow Vendors to see ALL clients’ is closed to new replies.