Filter by Dokan vendor
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf 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.
Quote from Jean-Philippe on August 9, 2021, 20:32Hi, 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?
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?
Quote from Pablo Borysenco on August 10, 2021, 09:16Hello
Try in file - wp-content\plugins\woocommerce-bulk-editor\classes\helper.php - please delete this code - https://share.pluginus.net/image/i20210810101612.png
and do a test
Hello
Try in file - wp-content\plugins\woocommerce-bulk-editor\classes\helper.php - please delete this code - https://share.pluginus.net/image/i20210810101612.png
and do a test
Quote from Jean-Philippe on August 10, 2021, 10:08Thank 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
Thank you
Quote from Pablo Borysenco on August 10, 2021, 12:05Try this code - https://share.pluginus.net/image/i20210810130406.png
Try this code - https://share.pluginus.net/image/i20210810130406.png
Quote from Jean-Philippe on August 10, 2021, 12:54Thank 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
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
Quote from Pablo Borysenco on August 11, 2021, 09:25Hello
Then contact the support of the third-party plugin and ask for the key of the vendor role
Hello
Then contact the support of the third-party plugin and ask for the key of the vendor role
Quote from Jean-Philippe on August 16, 2021, 21:22Thank 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
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
Quote from Pablo Borysenco on August 17, 2021, 11:07Hello
I also think the answer is very strange
I looked for information on their forum
Please change code ( https://share.pluginus.net/image/i20210817120554.png to https://share.pluginus.net/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;
});
Hello
I also think the answer is very strange
I looked for information on their forum
Please change code ( https://share.pluginus.net/image/i20210817120554.png to https://share.pluginus.net/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;
});
Quote from Jean-Philippe on August 17, 2021, 11:11Thank you, this screen shot is blank for some reason https://share.pluginus.net/image/i20210817120554.png
Thank you, this screen shot is blank for some reason https://share.pluginus.net/image/i20210817120554.png
Quote from Pablo Borysenco on August 17, 2021, 13:28try it please - https://share.pluginus.net/image/i20210817120554.png
try it please - https://share.pluginus.net/image/i20210817120554.png
Quote from Jean-Philippe on August 17, 2021, 15:03Hi, 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.pluginus.net/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;
});
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.pluginus.net/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;
});
Quote from Pablo Borysenco on August 18, 2021, 09:50Hello
In file - wp-content\plugins\woocommerce-bulk-editor\classes\helper.php
Please delete this code - https://share.pluginus.net/image/i20210817120554.png
add this code - https://share.pluginus.net/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;
});
Hello
In file - wp-content\plugins\woocommerce-bulk-editor\classes\helper.php
Please delete this code - https://share.pluginus.net/image/i20210817120554.png
add this code - https://share.pluginus.net/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;
});
Quote from Jean-Philippe on August 18, 2021, 12:21Thank you, that worked great
Thank you, that worked great
Quote from Pablo Borysenco on August 19, 2021, 09:24Hello
Welcome;)
Hello
Welcome;)
