Support » Plugin: Groups » Programatically add Woocommerce Product to a group

  • Hey!

    Is there a way to assign a global group to products? The problem I am facing is, I am using WC Vendors plugin and Vendors is allowed to add and edit products, now When the product is assigned to a product the vendor can no longer view the product. So the solution I can think of is create a group call vendors and assign the vendors to this group also add all woo commerce product to this group…
    Now is there a function hook where I can automatically add “Vendor” the group is created? and bulk assign it to all the existing product?
    Or you have a better solution to this problem, thank you very much.


  • You must be logged in to reply to this topic.