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!
Change label of CSV header, and removing others(Export Totals to CSV)
This snippet will change the label of CSV header, and remove the others(Export Totals to CSV)
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Change the "Commission" header for the Recent Orders table
Change the "Commission" header for the Recent Orders table using the "wcvendors_recent_order_table_columns" filter hook.
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Add order status to commissions table
/** * Add order status to commissions table * * @param Array $columns array stored column…
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Make Paypal as default payment gateway
This snippet will remove all other vendor payment commision methods. Only allowing Paypal, it also makes…
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Change the sold by link label to vendor's name
Change the sold by link label to vendor's name
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Allow HTML in the product description
function wcv_wpkses_post_html_tags( $tags, $context ) { if ( 'post' === $context ) { $tags['iframe'] = array(…
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Add custom page to the vendor dashboard - custom menu link
add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' ); function custom_menu_link( $pages ) { $pages[ 'custom_link' ] = array( 'slug' =>…
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Min-Max Product Price (with decimal support)
Add minimum/maximum validation to your product's price - with decimal support
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Custom Tab Order For Dashboard
// Add this to your themes functions.php to change the order, rearrage the lines. First line…
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Change the action's string in the refund section - "View Details"
Change the action's string in the refund section - "View Details"
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Add order status to the commissions table export
/** * Add order status to the commissions table export */ function wcv_commission_export_columns( $columns ){ $columns['order_status']…
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)
Add extra shipping providers for vendor tracking numbers
$shipping_providers = array( 'Australia' => array( 'Australia Post' => 'https://auspost.com.au/mypost/track/#/details/%1$s', 'FedEx' => 'https://www.fedex.com/apps/fedextrack/?tracknumbers=%1$s&cntry_code=au', 'Fastway Couriers' =>…
![](https://library.wpcode.com/wp-content/uploads/wpc_avatar/2023/07/3e6a04b1b98cf64cc00851f55ff22f78.png)