Sorry, your requirement not very clear to me.
otherwise payments are not processed.
– Which payment not processing?
Bank Transfer payout is a manual process.
Thanks for your quick reply.
Actually the vendors in UK need to put in sort code when they fill the payment form during registration. But there’s no such field in the form yet. My question is same as https://ww.wp.xz.cn/support/topic/change-to-uk-bank-details/
But the solution provided is not working.
Bank fields can be change. What do you want to change for this?
Sir I need a ‘Sort code’ field as well.
Sorry, I don’t understand your requirement.
What do you mean by “sort code” field? How it looks, show me a screenshot please.
Sir, A SORT Code is a number code, which is used by British and Irish banks. These codes have six digits, and they are divided into three different pairs, such as 12-34-56. These codes, like many other bank codes, are used to identify the location of the bank where the account is held. I need this field.
OK, understand.
Are existing all bank fields required for you?
It’s possible to change any existing field into “sort code” field, new field can not be added there.
I would like to replace IBAN with Sort Code
Add this snippet to your site –
add_filter( 'wcfm_marketplace_settings_fields_billing_bank', function( $bank_fields, $vendor_id ) {
$ifsc_field = '';
if( isset( $bank_fields['iban'] ) ) {
$ifsc_field = $bank_fields['iban'];
$ifsc_field['label'] = 'Sort Code';
$ifsc_field['placeholder'] = 'Sort Code';
unset( $bank_fields['iban'] );
$bank_fields = array_slice($bank_fields, 0, 2, true) +
array(
"iban" => $ifsc_field
) +
array_slice($bank_fields, 2, count($bank_fields) - 1, true) ;
}
return $bank_fields;
}, 50, 2 );
Add custom code(s) to your child theme’s functions.php
In case you do not have child theme then add those using this plugin – https://ww.wp.xz.cn/plugins/code-snippets/