Vendor Dashboard | Setting | Payment.

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 3 reply threads
  • Author
    Posts
    • #33214
      wwsAdmin
      Participant

      Hi team,

      In vendor account settings swift code,IBAN,Routing Number should not be shown

      Coz my vendors are from India so, via CSS will be good to handle ?

      Thanks

    • #33282
      WCFM Forum
      Member

      Hi,

      Please don’t use CSS, add this code –

      function wcfm_marketplace_settings_fields_0410_billing_bank( $bank_fields, $vendor_id ) {
      	if( isset( $bank_fields['routing_number'] ) ) {
      		$bank_fields['routing_number']['class'] = 'wcfm_custom_hide';
      		$bank_fields['routing_number']['label_class'] = 'wcfm_custom_hide';
      	}
      	if( isset( $bank_fields['iban'] ) ) {
      		$bank_fields['iban']['class'] = 'wcfm_custom_hide';
      		$bank_fields['iban']['label_class'] = 'wcfm_custom_hide';
      	}
      	if( isset( $bank_fields['swift'] ) ) {
      		$bank_fields['swift']['class'] = 'wcfm_custom_hide';
      		$bank_fields['swift']['label_class'] = 'wcfm_custom_hide';
      	}
      	return $bank_fields;
      }
      add_filter('wcfm_marketplace_settings_fields_billing_bank', 'wcfm_marketplace_settings_fields_0410_billing_bank', 50, 2 );

      Thank You

    • #33297
      wwsAdmin
      Participant

      Hi,
      Thanks for snippet 🙂

      it worked 🙂

    • #33381
      WCFM Forum
      Member

      You are welcome 🙂

Viewing 3 reply threads
  • The topic ‘Vendor Dashboard | Setting | Payment.’ is closed to new replies.