List products by vendor membership or group

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 – Groups & Staffs List products by vendor membership or group

Viewing 1 reply thread
  • Author
    Posts
    • #22760
      kristin.rutten
      Participant

      I am looking for a way to display products according to vendor membership level and/or group. In other words, I need a way to show products created by all vendors with membership (or group) “A” in one section, membership “B” products in another, and so on. Suggestions?

    • #22831
      WCFM Forum
      Member

      Hi,

      There is nothing like that. You may use this line of code to get vendors for a membership plan –

      $membership_users = get_post_meta( MEMBERSHIP_ID, 'membership_users', true );

      Now, you have to fetch products for these vendors.

      Thank You

Viewing 1 reply thread
  • The topic ‘List products by vendor membership or group’ is closed to new replies.