When running a multi-vendor marketplace with Dokan, vendors often need to add their bank account details for withdrawals. By default, Dokan requires vendors to enter their Routing Number, which is a necessary field for countries like the USA.
However, in many countries, the Routing Number is not used at all. For vendors in those regions, this required field can cause confusion and unnecessary friction during store setup.
In this blog post, I’ll show you how to remove the Routing Number field completely or make it optional instead of required.
Why Remove the Routing Number Field?
Here are some common scenarios where you might want to hide or make this field optional:
- Your vendors are located in countries where routing numbers don’t exist.
- You want to simplify the vendor onboarding process by reducing required fields.
- Vendors are repeatedly asking why they need to fill a field that doesn’t apply to their bank accounts.
Method 1: Make the Routing Number Field Optional
If you still want to keep the field visible but not required, Please add the below-mentioned code to your child theme’s functions.php file. You can use plugins like https://wordpress.org/plugins/code-snippets/ this one if you do not have a child theme.
#-- Remove Bank Payment Required Fields --#
function remove_bank_required_fields( $fields ){
unset( $fields['routing_number'] );
return $fields;
}
add_filter( 'dokan_bank_payment_required_fields', 'remove_bank_required_fields' );
Method 1: Hide the Routing Number Field
Please use the below-mentioned CSS on your WordPress admin panel’s Appearance > Customize > Additional CSS screen.
.dokan-bank-settings-template .dokan-form-group:nth-child(4){ display: none; }
Which Method Should You Use?
- Make it optional if some vendors may need it, but you don’t want to force everyone to enter it.
- Hide the field if your vendors never need to provide a routing number.
Final Thoughts
Dokan is a powerful plugin that makes running a multi-vendor marketplace easy. But since every marketplace has different regional requirements, sometimes small tweaks are needed to match local banking standards.
By applying one of the snippets above, you can make your vendor onboarding process smoother and less confusing.
Do you often customize Dokan for vendor usability? Let me know in the comments below — I’d love to hear what other tweaks you’d like guides on!

