Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Feature Request › Removing Settings Tabs on Vendor's Dashboard
Tagged: Settings
- This topic has 12 replies, 5 voices, and was last updated 4 years, 5 months ago by Ramamurthy Krishnan.
- AuthorPosts
- August 12, 2019 at 4:53 pm #76282puppycirclesParticipant
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. - August 13, 2019 at 5:56 am #76362WCFM ForumMember
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
- March 14, 2020 at 8:48 am #111556SheilaParticipant
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 - March 16, 2020 at 2:59 pm #111816Sarmistha ChakrabortyMember
Hello,
Can you share the images again. Your attached images were not uploaded.
Thanks.
- March 26, 2020 at 11:35 pm #113376
- April 2, 2020 at 10:26 pm #114835WCFM ForumMember
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
- April 2, 2020 at 11:39 pm #114855SheilaParticipant
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
- April 10, 2020 at 9:18 am #117537
- April 10, 2020 at 5:57 pm #117680Ramamurthy KrishnanKeymaster
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,
- April 10, 2020 at 11:15 pm #117775SheilaParticipant
Thank you so much, is perfect!
- April 10, 2020 at 11:54 pm #117792Ramamurthy KrishnanKeymaster
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. - April 11, 2020 at 1:10 am #117804SheilaParticipant
Done! 🙂
- May 29, 2020 at 2:34 pm #136483Ramamurthy KrishnanKeymaster
Thanks a lot. 🙂
- AuthorPosts
- You must be logged in to reply to this topic.