I use Dokan Wordpress plugin in my site that allows users to sell their product.
I would like to put some limitation for vendors for adding new product.
My questions are:
- How we can add a limit for total products of each vendor. for example each vendor can only post 10 products in my site (I don't want to use Dokan Subscription plugin because there isn't any subscription plan. we only need a global limit for vendors).
- And how we can add a limit for each product category. (i.e. vendors can only post 1 product for each category and when they try to post more, the system don't allow theme to do that).
Is there any code that I can use?
Any help is appreciated.