Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Vendor Shop | Banner
- This topic has 2 replies, 2 voices, and was last updated 6 years, 1 month ago by wwsAdmin.
Viewing 2 reply threads
- AuthorPosts
- October 3, 2018 at 5:33 pm #33215wwsAdminParticipant
Hi team,
In vendor account store settings,store banner type should be fixed to static.
I tried but no setting is there ?
can u help me
thanks - October 4, 2018 at 3:25 pm #33281WCFM ForumMember
HI,
Hope you want to restrict this to “Static Image”, right?
There is no setting for restrict this, add this code for disabling that option –
function wcfm_marketplace_settings_fields_0410_general( $general_fields, $vendor_id ) { if( isset( $general_fields['banner_type'] ) ) { $general_fields['banner_type']['options'] = array( 'single_img' => 'single_img' ); $general_fields['banner_type']['value'] = 'single_img'; $general_fields['banner_type']['class'] = 'wcfm_custom_hide'; $general_fields['banner_type']['label_class'] = 'wcfm_custom_hide'; } return $general_fields; } add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_0410_general', 50, 2 );
Thank You
- October 4, 2018 at 6:39 pm #33298wwsAdminParticipant
Hi yes
You got it right thankssssss
🙂
- AuthorPosts
Viewing 2 reply threads
- The topic ‘Vendor Shop | Banner’ is closed to new replies.