Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Customise Store Setup
- This topic has 6 replies, 2 voices, and was last updated 5 years, 11 months ago by WCFM Forum.
- AuthorPosts
- December 18, 2018 at 5:03 pm #40316andreasenglowskiParticipant
Hi,
i like to customise the store setup as follows:
1. Remove fields from StoreSetup->Payment->Bank info (see Screen1):
– Bank account number
- Name of bank
– Address of bank
– Routing number
- IFSC Code2. Polic Setup (see Screen2):
- Put default values to fields so vendor don’t has to write something but can edit if he wants
– Gray out first field “Reiterbeschriftung” so you can see the default value but not change itHope you can help =)
Many thanks in advance,
AndiAttachments:
You must be logged in to view attached files. - December 19, 2018 at 8:01 am #40357WCFM ForumMember
Hi,
1. Remove fields from StoreSetup->Payment->Bank info (see Screen1):
– Bank account number
- Name of bank
– Address of bank
– Routing number
- IFSC Code
– Do you want to remove these fields or want to keep these?2. Polic Setup (see Screen2):
- Put default values to fields so vendor don’t has to write something but can edit if he wants
– Do you have setup policies as Admin?Thank You
- December 19, 2018 at 9:09 am #40366andreasenglowskiParticipant
Hi,
thanks for your fast reply. Sorry for not being clear…
1. i want to remove these fields
2. No not yet if i do so will they appear?
Thanks
- December 20, 2018 at 9:24 am #40437WCFM ForumMember
Hi,
1. i want to remove these fields
– OK, I will give you code for this,2. No not yet if i do so will they appear?
– Off course.Thank You
- December 21, 2018 at 3:58 am #40524WCFM ForumMember
Hi,
Please add this code to your child theme’s functions.php
add_filter( 'wcfm_marketplace_settings_fields_billing_bank', function( $bank_fields, $user_id ) { if( isset( $bank_fields['bank_name'] ) ) { $bank_fields['bank_name']['class'] = 'wcfm_custom_hide'; $bank_fields['bank_name']['label_class'] = 'wcfm_custom_hide'; } if( isset( $bank_fields['bank_addr'] ) ) { $bank_fields['bank_addr']['class'] = 'wcfm_custom_hide'; $bank_fields['bank_addr']['label_class'] = 'wcfm_custom_hide'; } 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['ifsc'] ) ) { $bank_fields['ifsc']['class'] = 'wcfm_custom_hide'; $bank_fields['ifsc']['label_class'] = 'wcfm_custom_hide'; } return $bank_fields; }, 50, 2 );
Thank You
- January 5, 2019 at 9:25 am #42289andreasenglowskiParticipant
Thanks your very much! Sorry for late reply, been on vacation! Its working but the bank account number is still in there which i want to remove, too.
Oh and is there a way to remove the support step from the store setup and from dashboard -> settings?
Thanks and happy new year!
- January 5, 2019 at 9:55 am #42296WCFM ForumMember
Hi,
Happy new year and have a great year ahead 🙂
Here is your revised code –
add_filter( 'wcfm_marketplace_settings_fields_billing_bank', function( $bank_fields, $user_id ) { if( isset( $bank_fields['ac_number'] ) ) { $bank_fields['ac_number']['class'] = 'wcfm_custom_hide'; $bank_fields['ac_number']['label_class'] = 'wcfm_custom_hide'; } if( isset( $bank_fields['bank_name'] ) ) { $bank_fields['bank_name']['class'] = 'wcfm_custom_hide'; $bank_fields['bank_name']['label_class'] = 'wcfm_custom_hide'; } if( isset( $bank_fields['bank_addr'] ) ) { $bank_fields['bank_addr']['class'] = 'wcfm_custom_hide'; $bank_fields['bank_addr']['label_class'] = 'wcfm_custom_hide'; } 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['ifsc'] ) ) { $bank_fields['ifsc']['class'] = 'wcfm_custom_hide'; $bank_fields['ifsc']['label_class'] = 'wcfm_custom_hide'; } return $bank_fields; }, 50, 2 );
Set OFF “customer support” from Capability setting – https://ibb.co/CPC7tfg
Thank You
- AuthorPosts
- The topic ‘Customise Store Setup’ is closed to new replies.