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 Vendor Product Fields for HTS and Export Classification Number
Vendor Product Editor Backend Preview: https://snipboard.io/KszCjU.jpg Vendor Product Page Frontend Preview: https://snipboard.io/FNGhHt.jpg
Add Custom Taxonomy - Single Vendor Taxonomy
It'll only allow the vendor to select one custom taxonomy term at a time
Redirecting Vendors to Vendor Dashboard on Login
Snippet To Redirect Vendors to their Dashboard on login
Allow WooCommerce Shop Managers to manage vendors
/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…
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…
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…
Add Custom Taxonomy - Multiple Vendor Taxonomy
Allows the vendor to select multiple taxonomies