• I am attempting to create an online marketplace and want to sell memberships that limit the number of products a vendor can publish according to the monthly membership plan they select. To do this I have installed the following:

    * WC Vendors Pro for marketplace functionality
    * WooCommerce for ecommerce
    * Paid Memberships Pro to create the membership levels and require payment
    * WPFront User Role Editor Business Pro to assign those memberships the same capabilities as Vendor
    * Bainternet Post Creation Limits placed in an mu-plugins folder in public_html as per the FAQs

    I then created a test vendor that should only be allowed to publish 2 products. I have also tried any/any, and product/any but am always able to publish a 3rd product when logged in as that vendor. Cleared the cache and reloaded the page, have flushed my dns as well.

    In my User panel, the primary role coincides with the membership level and then I assign secondary roles of “vendor” (for WC Vendors Pro to recognize the user as a vendor and not display the application form), and “customer” (in case they also want to purchase something). I have also tried it the other way around with Vendor primary and membership level secondary.

    Have also tried creating a Vendor rule for publish 0 products. When that didn’t work I tried removing the product capabilities from the role altogether. Still won’t prevent them from publishing that third product.

    The only thing I can think of is that I’ve seen a couple of forum posts regarding a front end shortcode and perhaps WC Vendors Pro gives vendors a front end interface. If that’s the case I can’t figure out where to put the shortcode I’ve seen mentioned here. I don’t have a “form” that I know of where I could put it.

    Am I overcomplicating it or missing a step? I know this can work…

  • The topic ‘What am I doing wrong?’ is closed to new replies.