Home Forums WC Vendors Pro Support Product count

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24082
    Arjun
    Participant

    Hi Ben,

    How do we restrict number of products per vendor.

    I need to allown 5, 25, 100 products per vendor depending on the plan.

    Please suggest.

    Thanks
    Arjun

    #24084
    WC Vendors Support
    Participant

    There’s no “easy” way. But there’s a somewhat easy way we can get you started on.

    The add/edit product form is simply a PHP template. You can copy it to your theme folder, and then edit it. When you edit it, wrap the entire form into a PHP if statement that only shows the add/edit product form if they have less than 5, 25, or 100 products depending on how you check for what plan the vendor has. It’s not terribly complex to write, but it’s up to you since it’s custom coding and only you know how to check your vendors accounts to see what limits you have imposed upon them.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.