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!
Custom Tab Order For Dashboard
The following code will allow you to change the order that the front end dashboard is…
Enable Full WP_Editor on Product Fields
add_filter( 'wcv_product_description_editor_settings', 'wcv_full_editor' ); add_filter( 'wcv_product_short_description_editor_settings', 'wcv_full_editor' ); function wcv_full_editor( $settings ){ $settings['teeny'] = false; return…
Paid Memberships Pro with WC Vendors
// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…
Add custom page to the vendor dashboard
// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
Custom WooCommerce Status
This is how to create a custom Woocommerce Status while being able to use the "Mark…
Use Full Store Address in Ships From
add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…
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' );…
Redirecting Vendors to Vendor Dashboard on Login
Snippet To Redirect Vendors to their Dashboard on login