About

Hey there! We're WC Vendors, the team behind the best WooCommerce multi vendor marketplace plugin.

You can find lots of code snippets on our profile here at WP Code that will enhance your marketplace with some of the less commonly asked for features we have generated installable code snippets for.

If you find a bug in one of these snippets please let us know via the support form on our site :)

And visit us if you're looking for a great multi vendor plugin for WooCommerce!

91 Snippets
10+ Favourites
20+ Downloads

Allow WooCommerce Shop Managers to manage vendors

/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…

Change Add Product button URL

Change Add Product button URL

Resetting the Vendor & Pending Vendor Roles

add_filter('woocommerce_login_redirect', 'redo_roles', 10, 2); function redo_roles() { remove_role( 'pending_vendor' ); add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors'…

Add Custom Taxonomy - Multiple Vendor Taxonomy

Allows the vendor to select multiple taxonomies

Disable Product delete for published products only

/** * This will disable delete only for published products, leaving drafts to be able to…

change the name of the Commission column

if ( ! function_exists( 'wcv_change_commission_table_columns_name' ) ) { /** * Change the name of the commission…

Custom fields to vendor settings page

add_action('wcvendors_settings_after_paypal', 'pv_add_custom_merchant_id_field'); function pv_add_custom_merchant_id_field() { ?>

exclude meta key from duplicating products

exclude meta key from duplicating products

Opening booking resources editor in new tab

This snippet will open the booking resources editor in a new tab instead of opening it…

Add Vendor Ratings / Feedback to Product Page

add_action('woocommerce_before_add_to_cart_form','vendor_feedback_product_page'); function vendor_feedback_product_page() { $vendor_id = get_the_author_meta('ID'); $vendor_shop = urldecode( get_query_var( 'vendor_shop' ) ); if (…

Allow "Mark received" for Digital Product

if ( ! function_exists( 'wcv_allow_mark_received_for_digital_product' ) ) { /** * Allow vendors to mark received for…

1 2 3 4 8