Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › want to hide some data
- This topic has 11 replies, 2 voices, and was last updated 4 years, 8 months ago by Sarmistha Chakraborty.
- AuthorPosts
- March 5, 2020 at 7:01 pm #110111MarsMarsParticipant
Hi,
#1
I want to hide the following fields from vendors and staff
Store Manager / Settings / Store
- Store Banner Type
- Store Banner
- Mobile Banner
- Store List Banner Type
- Store List Banner
- Store Visibility Setup
- Store Name Position
- Products per page
- Hide Map from Store
- Hide About from Store
Store Manager / Settings / SEO
- – Facebook Setup
- – Facebook Title
- – Facebook Description
- – Facebook Image
- – Twitter Setup
- – Twitter TitleTwitter Title
- – Twitter DescriptionTwitter Description
- – Twitter ImageTwitter Image
#2
also I want to hide the button add product#3
moreover, I want to change the lable for (add to my store button)#4
in the store manager dashboard I want to remove these from the store stats- 0 products – awaiting fulfillment
- 0 products – low in stock
- 0 products – out of stock
#5
in the product edit , I want to hide the following
<- li>Categories
- Brand
- Tags
- Catalog visibility:
#6
in the reports, I want to hide these two reports 1. Low in stock 2. Out of stock#7
I want to change the lable for (Store Description, Store Phone, Store Name)Regards,
in the store
- March 5, 2020 at 7:29 pm #110118MarsMarsParticipant
also in edit product
I want to disallow them from adding images and changing the title - March 5, 2020 at 8:37 pm #110126MarsMarsParticipant
for #1, #5, #8 I used the following it worked with me,, I could not edit my original post or delete
add_filter( 'wcfm_is_allow_store_banner', '__return_false' ); add_filter( 'wcfm_is_allow_store_visibility', '__return_false' ); add_filter( 'wcfm_is_allow_vendor_seo_facebook', '__return_false' ); add_filter( 'wcfm_is_allow_vendor_seo_twitter', '__return_false' ); add_filter( 'wcfm_is_allow_custom_taxonomy', '__return_false' ); add_filter('wcfm_is_allow_tags','__return_false'); add_filter( 'wcfm_is_allow_products_manage_visibility', '__return_false' ); add_filter( 'wcfm_is_allow_product_category', '__return_false' ); add_filter( 'wcfm_is_allow_featured', '__return_false' ); add_filter( 'wcfm_is_allow_gallery', '__return_false' );
- March 5, 2020 at 9:14 pm #110129MarsMarsParticipant
I just need answer for 2 ,4 and 6
many thanks for your support and this amazing plugin that always makes my happy - March 6, 2020 at 2:06 pm #110234Sarmistha ChakrabortyMember
Hello,
#2
also I want to hide the button add product
>> Regarding this, off the capability “Add Products” (PFA)#4
in the store manager dashboard I want to remove these from the store stats
0 products – awaiting fulfillment
0 products – low in stock
0 products – out of stock
#6
in the reports, I want to hide these two reports 1. Low in stock 2. Out of stock
>>Regarding 4&6,.wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .on-hold-orders,.wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .low-in-stock,.wcfm_dashboard_more_stats #wcfm_dashboard_wc_status_expander .out-of-stock { display: none; } ul.wcfm_reports_menus > li.wcfm_reports_menu_item:nth-last-of-type(-n+2) { display: none; }
Add this css to your child theme’s style.css
Thanks.
- March 8, 2020 at 11:27 am #110550MarsMarsParticipant
thanks a lot
regarding #2, I noticed that when this capability (add product) is disabled .. and at the same time I have ( add to my store ) enabled .. the add to my store is not working unless (add product) is working.also, I want to hide these
in the product page: https://prnt.sc/rd8kuo
in the add to my store page: https://prnt.sc/rd8l42regards
- March 8, 2020 at 3:22 pm #110565MarsMarsParticipant
also this how to hide it in the stores list page
https://prnt.sc/rda5oc - March 10, 2020 at 4:11 pm #110925Sarmistha ChakrabortyMember
Hello,
hide the button add product
>> Add this code to your child theme’s functions.php
add_filter( 'wcfm_add_new_product_sub_menu','__return_false');
and enable the capability “Add Products”in the product page: https://prnt.sc/rd8kuo
in the add to my store page: https://prnt.sc/rd8l42
>> Add this code to your child theme’s functions.phpadd_filter( 'body_class', function( $classes ) { $userid = get_current_user_id(); if(wcfm_is_vendor($userid)) { $classes = array_merge( $classes, array( 'vendor-dashboard' ) ); } return $classes; });
And
Add this css to your child theme’s style.css.vendor-dashboard .wcfm_products_filter_wrap,.vendor-dashboard .wcfm_sell_items_catalog_filter_wrap { display: none; }
hide it in the stores list page https://prnt.sc/rda5oc
>>Add this code to your child theme’s functions.phpadd_filter('wcfmmp_stores_args',function($args, $attr, $search_data){ $args['search'] = false; $args['filter'] = false; return $args; },10,3);
Thanks.
- March 10, 2020 at 4:33 pm #110931MarsMarsParticipant
thanks a lot .. it worked
how can I hide this create appointable
https://prnt.sc/re5rel- March 10, 2020 at 5:38 pm #110946Sarmistha ChakrabortyMember
Hi,
For this please override your “wcfmu-view-wcappointments-dashboard.php” template in your theme
<your theme folder>/wcfm/wc_appointments/wcfmu-view-wcappointments-dashboard.php
and remove the “Create Appointable” section.Thanks.
- March 10, 2020 at 8:55 pm #110985MarsMarsParticipant
Thanks a lot .. it is much appreciated
- March 11, 2020 at 11:56 am #111131Sarmistha ChakrabortyMember
You are always 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.
- AuthorPosts
- The topic ‘want to hide some data’ is closed to new replies.