Hide in Store Manager

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 4 reply threads
  • Author
    Posts
    • #122877
      contact8732
      Participant

      Hi,

      In Store Manager, Store Settings, how hide the following three please?

      * Store Banner Type
      * Store List Banner Type
      * Store List Banner

      Thank you

    • #122882

      Hello,

      add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_general_custom1804', 50, 2 );
      function wcfm_marketplace_settings_fields_general_custom1804($general_fields,$vendor_id) {	
      		unset($general_fields['banner_type']);	
      		unset($general_fields['list_banner_type']);
      		unset($general_fields['list_banner']);
      	
      	return $general_fields;
      }

      Add this code to your child theme’s functions.php

      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thanks.

    • #122883
      contact8732
      Participant

      Thank you – it almost worked, but it still shows Video Banner and Slider and Store List video banner

      Attachments:
      You must be logged in to view attached files.
    • #122888

      Hi,

      Modify the code,

      add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_general_custom1804', 50, 2 );
      function wcfm_marketplace_settings_fields_general_custom1804($general_fields,$vendor_id) {	
      		unset($general_fields['banner_type']);	
      		unset($general_fields['banner_slider']);
      		unset($general_fields['banner_video']);
      		unset($general_fields['list_banner_type']);
      		unset($general_fields['list_banner']);
      		unset($general_fields['list_banner_video']);
      	
      	return $general_fields;
      }

      Thanks.

    • #122892
      contact8732
      Participant

      thank you 🙂

Viewing 4 reply threads
  • You must be logged in to reply to this topic.