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!
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'…
Change "Bank Routing Number" fields to "Sort Code"
Use this code snippet to reformat the form to British banking details. Output: https://snipboard.io/mKSn9g.jpg Alternatively, you…
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…
Display Only Selected Countries on the Vendor Registration Form
Streamline your registration form by showing only selected countries or remove others from the registration form…