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!
Membership Details Table Override
Hides certain information from the free plans while keeping table formatting
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']…
WC Vendors Activate All Inactive Vendors
Activates all inactive Vendor Stores in a WC Vendors Marketplace. NOTE: To be ran once.
Add a document file upload
// Add the document field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_doc_uploader'); function wcv_doc_uploader( ){ if…
Enable product images in vendor order email notifications
add_filter( 'wcvendors_vendor_order_items_args', 'wcv_enable_product_image_vendor_order_email' ); function wcv_enable_product_image_vendor_order_email( $order_item_args ){ $order_item_args['show_image'] = true; return $order_item_args; }
Adds a username field to WC Vendors Signup and uses it when creating the user.
This feature adds a Username field to the WC Vendors signup form, allowing vendors to choose…
Use Billing Address in Order Exports
add_filter( 'wcv_export_orders_use_shipping_address', 'wcv_order_export_use_shipping_address' ); function wcv_order_export_use_shipping_address( ){ return false;
The commission is only log when the order status is completed
log commission when the order status is completed.
Force "Become a Vendor" to always go to /my-account/become-a-vendor/
/** * Force "Become a Vendor" to always go to * /my-account/become-a-vendor/ * * Applies to…