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!
Add CSS classes to apply for vendor label
/** * Add CSS class to apply for vendor label in a registration * * @param…

Hide “Everywhere Else” on the countries dropdown
if ( ! function_exists( 'wcv_hide_everywhere_else' ) ) { /** * Hide the "Everywhere else" option in…

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

Including product tax to commission calculation
add_filter( 'wcvendors_commission_rate', 'wcv_calculate_commission_include_product_tax', 10, 5 ); function wcv_calculate_commission_include_product_tax( $commission, $product_id, $product_price, $order, $qty ) { $product…

Add TikTok to the social tab of settings
This will show the setting and it should be saved when saving the form.

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.

Change the action's string in the refund section - "View Details"
Change the action's string in the refund section - "View Details"

The commission is only log when the order status is completed
log commission when the order status is completed.

Add vendor id and name to CSV commissions export
Add vendor id and name to CSV commissions export

Set the Payment fields in the Sign Up form as required
Set the Payment fields in the Sign Up form as required - you can remove any…

Reorder dashboard navigation
Bring the order page to the front of the product page

Move "Ships From" under the Product Meta, in the single product page template
Move "Ships From" under the Product Meta, in the single product page template by using 'product_ships_from'…
