Home Forums WC Vendors Pro Support Allow Vendors to only sell Downloadable/Virtual items

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 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #56188
    Chase Monroe
    Participant

    Is there a way to make it so that vendors can only list products that are Downloadable and Virtual? This would mean they are unable to sell physical items.

    #56224
    WC Vendors Support
    Participant

    Sure, that’s pretty easy. Follow this:

    https://gist.github.com/digitalchild/cb49e3dfd04b67450d2c

    Voila! Now you’ve forced all vendors to sell virtual downloadable products only.

    #56360
    Chase Monroe
    Participant

    @ben would I set this into the site data or make it as a child theme?

    #56363
    WC Vendors Support
    Participant

    Neither!

    Read line #2. If line #2 doesnt make sense, read the last few paragraphs of the WC Vendors Pro Setup Guide. 😉

    #56374
    Chase Monroe
    Participant

    Having trouble finding product-edit.php, where exactly can i find it?

    #56375
    WC Vendors Support
    Participant

    Read line #2. If line #2 doesnt make sense, read the last few paragraphs of the WC Vendors Pro Setup Guide. ? 🙂 🙂 🙂 🙂 🙂 seriously, it’s all in there. There’s a whole section on templates. Did you try to look? Maybe there’s a “templates” folder somewhere. It must be hidden (it’s not, it’s in the main directory)! 🙂

    #56378
    Chase Monroe
    Participant

    I hate to harass you, but I’ve read what you told me to and both the product-edit.php and anything related to “templates” is not to be found anywhere in the main directory. These bad boys seem to have hidden themselves well

    #56379
    WC Vendors Support
    Participant
    #56391
    Chase Monroe
    Participant

    I figured it out! I was editing on WordPress instead of my Cpanel

    #56400
    Anna
    Member

    Chase,
    I highly recommend you read this article on modifying templates: https://www.wcvendors.com/kb/changing-vendor-templates/
    You’ll be modifying the product-edit.php template, which is found in your wc vendors pro plugin files at this location: wp-content/plugins/wcvendors-pro/templates/dashboard/product-edit.php

    But you will want to move it to your theme/child theme first, so read the article so you know how to do this properly.

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