Hi,
After setting the membership plan in YITH Plugins -> Membership (see screenshot), you should see the “Allow access to” box in the post (page and product) edit page (see screenshot). Through it, you can assign the post (page or product) to the membership plan.
Best Regards
YIThemes
Thread Starter
yasko
(@yasko)
Thank you very much @yithemes…
Have a nice day !
Thread Starter
yasko
(@yasko)
Please publish a new plugin for to limit vendors in woocommerce.
Admin enter a value , for example 50.
Vendors can not publish much more 50 product in woocommerce.
You can see https://wordpress.org/plugins/bainternet-posts-creation-limits/
But it no Update anymore.
Also you can edit this codes for me. Really I need it very much. It no work for products.
Thank you so much ! Have a nice day ! I wait your reply …
add_action(“load-post-new.php”,”limit_user_by_post_count”);
function limit_user_by_post_count(){
$user = get_current_user_id();
if (!current_user_can( ‘manage_options’)) {
//not an admin – so impose the limit
$user_post_count = count_user_posts($user);
if($user_post_count>=10)
header(“Location: /wp-admin/edit.php”);
}
}
-
This reply was modified 7 years, 4 months ago by yasko.
Hi,
you are welcome!
About limiting products for Vendors, this feature is already available in the premium version of YITH WooCommerce Multi Vendor plugin. To get further information about it, please write us at yithemes.com
If you like the plugin and our support, please, support us with a 5-star review. It takes just a minute. Thank you!
Best Regards
YITH Support
Thread Starter
yasko
(@yasko)
Thank you. I will give 5 stars.
Hi,
and thanks for reviewing our plugin.
We’re very happy to read that you like the plugin, we always try to do our best to have fully functional products!
Enjoy it! 😉 Thanks
Best Regards
YITH Support