Make Bank Transfer fill out payment during Store Setup required fields.

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!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Make Bank Transfer fill out payment during Store Setup required fields.

Viewing 1 reply thread
  • Author
    Posts
    • #60612
      slipksizz
      Participant

      Hello everyone,

      How to make Bank Transfer fill out payment during Store Setup required fields?

      Thanks.

    • #60740
      WCFM Forum
      Member

      HI,

      Well, it’s not possible to set any field require at Store Setup widget right.

      You may use this code snippet, this will restrict Bank Fields required under store setting –

      add_filter( 'wcfm_marketplace_settings_fields_billing_bank', function( $bank_fields, $user_id ) {
      	foreach( $bank_fields as $field_key => $bank_field ) {
      		$bank_field['custom_attributes'] = array( 'required' => true );
      		$bank_fields[$field_key]  = $bank_field; 
      	}
      	return $bank_fields;
      }, 50, 2 );

      Thank You

Viewing 1 reply thread
  • The topic ‘Make Bank Transfer fill out payment during Store Setup required fields.’ is closed to new replies.