A deal you can't resist! Get upto 35% Off on this entire cyber week.

01Day 23Hr 26Min 34Sec

How get Vendor status and how trigger to change this status in plugin

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Marketplace (WooCommerce Multivendor Marketplace) How get Vendor status and how trigger to change this status in plugin


Viewing 1 reply thread
  • Author
    • #99818


      I would like check status vendor by user ID but i dont know how can i get all data with WCFM extra data.
      I am using this $wcfm_all_vendors = $WCFM->wcfm_vendor_support->wcfm_get_vendor_list( true, '', '', '' );
      But this is only list of approved vendors. Is any function to search Vendor by user ID and see status ?

      And after i will go on Approve vendors i have vendor details like vendor summary: Vendor Application
      on bottom i have button to update and check status Radio button
      approve with id = wcfm_vendor_approval_response_status_approve
      reject with id = wcfm_vendor_approval_response_status_reject
      Both input with name = wcfm_vendor_approval_response_status
      and update button with id = wcfm_vendor_approval_response_button

      How can i update vendor status to approve from plugin ?

      I am trying to do :
      1. get vendor by id
      2. Check is active or not
      3. if not – make activate

      but i am stuck 🙁

    • #102504
      Molay Das

      You have to navigate to store-manager->Vendors and then click on “Pending Store Vendors” button on the header area, you will get the vendor list with pending approval and then you can approve them whoever you want.
      If you want to approve all vendors by default then you can skip the approval process by unchecking the “Required Approval” option under Settings->Vendor Registration.


Viewing 1 reply thread
  • You must be logged in to reply to this topic.