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!

90 Snippets
<10 Favourites
10+ Downloads

Add a video field to the sign-up form

// Add the video field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_video_uploader'); function wcv_video_uploader( ){ //…

Force product type for all products

// Disable the product type drop down. add_filter('wcv_disable_product_type', function() { return true; } ); /** *…

Product Expiry For Woo

Supports the Expiry for Woocommerce plugin - WC Vendor

Reorder dashboard navigation

Bring the order page to the front of the product page

Remove Method label

add_filter( 'woocommerce_cart_shipping_method_full_label', 'remove_shipping_method_title', 10, 2 ); function remove_shipping_method_title( $label, $method ){ $new_label = ''; if (…

Make All Users Vendors

/** * Make all new user registrations Vendors. */ add_filter( 'woocommerce_new_customer_data', 'wcv_woocommerce_new_user_data' ); function wcv_woocommerce_new_user_data( $data…

Set a minimum, and maximum price for products

Set a minimum, and maximum price for products

Add the fields to the user edit screen

// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…

Add CSS classes to apply for vendor label

/** * Add CSS class to apply for vendor label in a registration * * @param…

Single Vendor Purchase

Limits the customers purchase to a single vendor

Add menu item to vendor dashboard

// Add this to your themes functions.php function add_menu_item( $pages ){ $pages[] = array( 'label' =>…

1 5 6 7 8