wcfm-santa

Making Christmas merrier with our special gift! Enjoy upto 25% off on all WCFM Addons.

CLAIM OFFER
01Day 18Hr 26Min 59Sec

want to hide some data

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 10 reply threads
  • Author
    Posts
    • #110111
      MarsMars
      Participant

      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

    • #110118
      MarsMars
      Participant

      also in edit product
      I want to disallow them from adding images and changing the title

    • #110126
      MarsMars
      Participant

      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' );
    • #110129
      MarsMars
      Participant

      I just need answer for 2 ,4 and 6
      many thanks for your support and this amazing plugin that always makes my happy

    • #110234

      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.

    • #110550
      MarsMars
      Participant

      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/rd8l42

      regards

    • #110565
      MarsMars
      Participant

      also this how to hide it in the stores list page
      https://prnt.sc/rda5oc

    • #110925

      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.php

      add_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.php

      add_filter('wcfmmp_stores_args',function($args, $attr, $search_data){
      	$args['search'] = false;
      	$args['filter'] = false;	
      	return $args;
      },10,3);

      Thanks.

    • #110931
      MarsMars
      Participant

      thanks a lot .. it worked

      how can I hide this create appointable
      https://prnt.sc/re5rel

      • #110946

        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.

    • #110985
      MarsMars
      Participant

      Thanks a lot .. it is much appreciated

    • #111131

      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.

Viewing 10 reply threads
  • The topic ‘want to hide some data’ is closed to new replies.