Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Hide store tabs
- This topic has 8 replies, 3 voices, and was last updated 5 years, 2 months ago by WCFM Forum.
- AuthorPosts
- April 26, 2019 at 8:43 pm #59586gusslouParticipant
Hi,
I would like your help to do 3 things.
1. How do I hide some vendor store tabs? there are 4 defaults tabs on vendor store page. I would like to hide “About” tab and “Followers” tab.
2. How do I reduce store name font size?
3. How do I add total earnings tile on ledger to page to vendor dashboard?
Thanks.
- April 27, 2019 at 10:28 am #59652WCFM ForumMember
Hi,
1. How do I hide some vendor store tabs? there are 4 defaults tabs on vendor store page. I would like to hide “About” tab and “Followers” tab.
– Please disable “Followers” module from WCFM Admin Setting -> Modules
About – each vendor setting has this option. If you want to hide this globally then I have to give you a code snippet for this.2. How do I reduce store name font size?
– Best way to add CSS at child theme’s style.css for this. Give me a store URL from your site, I will help you in this.
3. How do I add total earnings tile on ledger to page to vendor dashboard?
– Vendor dashboard already has “total earning”. But it show last moth earning, do you want to change this for lifetime ?
Thank You
- April 27, 2019 at 8:51 pm #59719gusslouParticipantThis reply has been marked as private.
- April 27, 2019 at 9:01 pm #59724gusslouParticipant
I am referring to vendor account dashboard from the vendor’s point of view in point 3 not admin view of vendor.
- April 29, 2019 at 6:54 am #59827WCFM ForumMember
HI,
1. The method you suggested disables the followers module completely. I do not want this. I want follow module to remain active but I want to hide only followers tab and about tab from vendor store globally. I would be grateful if you can share code snippet I can add to my child theme to help me do this. images included below.
– Please use this code snippet –
add_filter( 'wcfmmp_store_tabs', function( $store_tabs, $store_id ) { if( isset( $store_tabs['about'] ) ) unset( $store_tabs['about'] ); if( isset( $store_tabs['followers'] ) ) unset( $store_tabs['followers'] ); return $store_tabs; }, 50, 2 );
3. Please use this to hide no. of sold item –
add_filter( 'wcfm_is_allow_stats_block_sold_item', '__return_false' );
But this will work after next update.
Well, Admin Fee and Earning is actually same. As you have setup commission mode “For Admin” so it’s showing ass Admin Fee. If you set this “For Vendor” then it will show you “Earning”
Thank You
- April 30, 2019 at 11:50 am #60078gusslouParticipant
Thank you for your reply.
The snippets you sent me worked perfectly.
I however did not receive the css code snippet to reduce size of store name font size to 30px. Kindly send me that as well.
Thank you.
- May 1, 2019 at 3:48 pm #60237WCFM ForumMember
HI,
Please use this CSS –
#wcfmmp-store .banner_text h1 { font-size: 30px !important; }
Thank You
- August 27, 2019 at 7:05 am #78462jorsenmejiaParticipant
how to hide description tab?
- August 30, 2019 at 4:50 am #79113WCFM ForumMember
Hi,
Please use this code for the purpose –
add_filter( 'wcfmmp_store_tabs', function( $store_tabs, $store_id ) { if( isset( $store_tabs['about'] ) ) unset( $store_tabs['about'] ); return $store_tabs; }, 50, 2 );
Thank You
- AuthorPosts
- The topic ‘Hide store tabs’ is closed to new replies.