Skip to content

Vendor Products Tab

BuddyVendor adds a Products tab to a vendor’s BuddyPress or BuddyBoss profile. Anyone visiting that vendor’s profile sees the products the vendor sells, and a button to visit the vendor’s full storefront.

  • A profile tab (labelled Products by default) on the profiles of members who are vendors.
  • Inside the tab, a paginated grid of that vendor’s products, rendered with the standard WooCommerce product loop (10 products per page by default).
  • A View Store button above the product grid that links to the vendor’s marketplace store page.
  • A “No products found for this vendor” message when the vendor has no products.

The tab only appears on profiles of members who are actually vendors in the active marketplace. BuddyVendor checks vendor status per marketplace:

  • Dokan uses dokan_is_seller_enabled().
  • WCFM uses wcfm_is_vendor().
  • WC Vendors uses WCV_Vendors::is_vendor().
  • WooCommerce Product Vendors uses WC_Product_Vendors_Utils::is_vendor().

The tab also respects two switches: the site-wide Vendor Products toggle in the admin settings, and the member’s own Enable Products Tab preference. Both must be on for the tab to show.

The tab renders the WooCommerce [products] shortcode. BuddyVendor filters that shortcode’s query so that, when the current profile action matches the Products tab slug, it only returns products authored by the displayed member. This means the grid shows the products that member owns as a vendor.

The tab label, URL slug, and menu position are all configurable in WB Plugins > BuddyVendor > Vendor Products. Slugs with spaces are normalized to hyphenated slugs automatically. See Configure Settings.

Developers can override the label, slug, and position per marketplace with filters. See Hooks and Filters.

The View Store button resolves the store URL differently per marketplace:

  • Dokan uses the vendor’s shop URL from dokan()->vendor->get()->get_shop_url().
  • WCFM uses wcfmmp_get_store_url().
  • WC Vendors uses WCV_Vendors::get_vendor_shop_page().
  • WooCommerce Product Vendors currently does not resolve to a public store page (see the note in Troubleshooting).