Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124

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.
Here are some common scenarios where you might want to hide or make this field optional:
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; }
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!