• Resolved pitz37

    (@pitz37)


    Hi, I am using Woocommerce Frontend manager with WCFM Marketplace, I need to add UK bank account details for the vendors withdrawals. But only iban and swift codes etc. In the UK we normally use, Name and Surname / Bank name / sort code / account number. But only have these options here

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author WC Lovers

    (@wclovers)

    HI,

    Please add this code to your site –

    add_filter( 'wcfm_marketplace_settings_fields_billing_bank', function( $bank_fields, $vendor_id ) {
    	if( !current_user_can( 'administrator' ) && !wcfm_is_vendor() ) {
    		$bank_fields = wcfm_hide_field( 'ac_name', $bank_fields );
    		$bank_fields = wcfm_hide_field( 'bank_addr', $bank_fields );
    		$bank_fields = wcfm_hide_field( 'routing_number', $bank_fields );
    		$bank_fields = wcfm_hide_field( 'iban', $bank_fields );
    		$bank_fields = wcfm_hide_field( 'ifsc', $bank_fields );
    	}
    	return $bank_fields;
    }, 50, 2 );

    Add this code to your child theme’s functions.php
    In case you do not have child theme then add code using this plugin –?https://www.ads-software.com/plugins/code-snippets/

Viewing 1 replies (of 1 total)
  • The topic ‘UK bank details’ is closed to new replies.