PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Filter by Dokan vendor

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi, I have seen a couple of threads on the subject.  Apparently vendor = author, however this is not the case on my installation. Author field only shows the listed administrators as options and not vendors.   I am using the free version of BEAR editor.  Please advise how to filter products linked to a Dokan vendor?  If possible?

Hello

Try in file - wp-content\plugins\woocommerce-bulk-editor\classes\helper.php - please  delete  this  code - https://share.stackovergo.com/image/i20210810101612.png

and  do  a test

Thank you

That worked to show all roles stored in Wordpress and the filtering products against the role works.
Is there a way to refine the code to just show the role of Dokan “vendor”
Regards

Try  this  code  - https://share.stackovergo.com/image/i20210810130406.png

Thank you, for some reason this snippet does not return any records in the author dropdown?  See screenshot of what happens.

https://www.dropbox.com/s/8gsi941wf8y9iy5/Screenshot%202021-08-10%20at%2012.51.06.png?dl=0

Hello

Then contact the support of the third-party plugin and ask for the key of the vendor  role

Thank you, they gave me a difficult to understand answer.

"Currently, WOOBE- WooCommerce Bulk editor plugin is unavailable in dokan compatible plugin list. You can check dokan compatible plugin list here: https://wedevs.com/dokan/compatible-plugins

Dokan vendor role key works as a "Vendor" but Usually, this information properly shareable by the plugin author. In that case, only WOOBE plugin author share the accurate information"

BTW, I am testing your WOOF product.  It has a filter for author sub-level "Vendor" and it works well.  Perhaps someone else on PluginUs.net team has the term somewhere?  See screenshots.

https://www.dropbox.com/s/wmic32oumj0jlqs/Screenshot%202021-08-16%20at%2021.20.30.png?dl=0

https://www.dropbox.com/s/wmic32oumj0jlqs/Screenshot%202021-08-16%20at%2021.20.30.png?dl=0

 

 

Hello

I also think the answer is very strange

I looked for information on their forum

Please  change  code ( https://share.stackovergo.com/image/i20210817120554.png  to https://share.stackovergo.com/image/i20210817120700.png ) :

$user_arg = apply_filters('woobe_user_args', array('fields' => array('ID', 'display_name'), 'who' =>'authors'));
$users = get_users($user_arg);

add  to functions.php :

add_filter('woobe_user_args', function($args){

unset($args['who']);

$args['role__in'] = array('seller', 'dc_vendor', 'wcfm_vendor');

return $args;

});

 

Thank you, this screen shot is blank for some reason https://share.stackovergo.com/image/i20210817120554.png%C2%A0

try  it  please - https://share.stackovergo.com/image/i20210817120554.png

Hi, Apologies having looked at your instruction I realised I am a little unsure of what to change.

To confirm - this section is how plugin used to be before any edits https://share.stackovergo.com/image/i20210817120554.png

Please advise how this extra below section should be added to existing?

$user_arg = apply_filters('woobe_user_args', array('fields' => array('ID', 'display_name'), 'who' =>'authors'));
$users = get_users($user_arg);

add  to functions.php :

add_filter('woobe_user_args', function($args){

unset($args['who']);

$args['role__in'] = array('seller', 'dc_vendor', 'wcfm_vendor');

return $args;

});

 

 

Hello

In  file - wp-content\plugins\woocommerce-bulk-editor\classes\helper.php

Please  delete  this  code  - https://share.stackovergo.com/image/i20210817120554.png

add  this  code - https://share.stackovergo.com/image/i20210817120700.png

$user_arg = apply_filters('woobe_user_args', array('fields' => array('ID', 'display_name'), 'who' =>'authors'));
$users = get_users($user_arg);

And  in  file  functions.php  add   this  code:

add_filter('woobe_user_args', function($args){

unset($args['who']);

$args['role__in'] = array('seller', 'dc_vendor', 'wcfm_vendor');

return $args;

});

 

Thank you, that worked great

Hello

Welcome;)