Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Vendor Dashboard | Setting | Payment.
- This topic has 3 replies, 2 voices, and was last updated 6 years, 1 month ago by WCFM Forum.
Viewing 3 reply threads
- AuthorPosts
- October 3, 2018 at 5:31 pm #33214wwsAdminParticipant
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
- October 4, 2018 at 3:28 pm #33282WCFM ForumMember
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
- October 4, 2018 at 6:36 pm #33297wwsAdminParticipant
Hi,
Thanks for snippet 🙂it worked 🙂
- October 6, 2018 at 5:23 am #33381WCFM ForumMember
You are welcome 🙂
- AuthorPosts
Viewing 3 reply threads
- The topic ‘Vendor Dashboard | Setting | Payment.’ is closed to new replies.