Removing Settings Tabs on Vendor's Dashboard

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 – Feature Request Removing Settings Tabs on Vendor's Dashboard

Tagged: 

Viewing 12 reply threads
  • Author
    Posts
    • #76282
      puppycircles
      Participant

      Is there a way to remove the “payment” and “store policies” tabs from the Store Settings for all vendors’ dashboard settings. Vendors will only use my site to display a catalog of products. I do not want them to be able to set payments on my site. See attached screen shot

      Thanks!

      Attachments:
      You must be logged in to view attached files.
    • #76362
      WCFM Forum
      Keymaster

      Hi,

      Sure, please set this OFF from capability setting. https://ibb.co/MP7KzxC

      Well, hope you have WCFM Ultimate, otherwise you will not see these capability options.

      Thank You

    • #111556
      Sheila
      Participant

      Hi! I hope you’re okay. I’d like to make an inquiry on the same subject.

      I just want it to look paid for.
      I don’t want the store tab to show.

      But when I leave only payments active you also see the store settings. And I don’t want to show that.

      Try to only activate payments and not store settings, and that hides them both.

      Could you please help me?
      Thank you

    • #111816

      Hello,

      Can you share the images again. Your attached images were not uploaded.

      Thanks.

    • #113376
      Sheila
      Participant

      Hi! thank you for your response, i have attached in pdf the images of my request for help.

      Thank you

      Attachments:
      You must be logged in to view attached files.
    • #114835
      WCFM Forum
      Keymaster

      Hi,

      Add this code snippet to your site –

      add_filter( 'wcfm_setting_default_tab', function( $default_tab ) {
      	if( wcfm_is_vendor() ) {
      		$default_tab = 'wcfm_settings_form_payment_head';
      	}
      	return $default_tab;
      }, 50 );
      add_action( 'after_wcfm_marketplace_settings', function( $user_id ) {
      	if( wcfm_is_vendor() ) {
      		?>
      		<style>
      		#wcfm_settings_dashboard_head{display:none}
      		</style>
      		<script>
      		jQuery(document).ready(function($) {
      			$('#wcfm_settings_dashboard_head').remove();
      		});
      		</script>
      		<?php
      	}
      }, 50 );

      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/

      Thank You

    • #114855
      Sheila
      Participant

      Thank you for your support. I have placed it in code snippets, but I still can’t see the result because since I activate the WPML language plugin the marketplace stopped working the menu links, everything goes to the control panel, they don’t leave there and nothing can be done.

      I’m waiting for the support help (that I gave them administrative access to the wordpress to help me with the correct configuration) to make the marketplace work again.

      As soon as I can see the result of the code you have given me, I will write to you again.

      Thanks

    • #117537
      Sheila
      Participant

      It worked perfectly, thank you!

      If you don’t mind 😛

      Could you please help me with a snippet code to hide the option to translate from the sellers panel? It causes a lot of problems.

      Thank you!

      Attachments:
      You must be logged in to view attached files.
    • #117680
      Molay Das
      Keymaster

      Hi,

      Please add the below given css code to your child theme’s style.css file.

      .product_translations, #wcfm_product_translations {
        display: none !important;
      }

      Thanks,

    • #117775
      Sheila
      Participant

      Thank you so much, is perfect!

    • #117792
      Molay Das
      Keymaster

      You’re most welcome. 🙂
      Let me know if there’s anything else we can help you with.
      Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

    • #117804
      Sheila
      Participant

      Done! 🙂

    • #136483
      Molay Das
      Keymaster

      Thanks a lot. 🙂

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