Hide Gross Sales Column From Vendors

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 Hide Gross Sales Column From Vendors

Viewing 8 reply threads
  • Author
    Posts
    • #62239
      mshafiqtahir.macit
      Participant

      Hi,

      I didn’t like to show Gross Sales to our vendors. I have seen this solution https://wclovers.com/forums/topic/show-net-sales-only/ but this does not work for me because this can remove from reports only.

    • #62308
      Maru
      Guest

      Hi, I am creating a rental marketplace and I would like to eliminate Gross Sales from the vendor dashboard. I have seen this solution https://wclovers.com/forums/topic/show-net-sales-only/ but this does not work for me because this can remove from reports only.

    • #62481
      WCFM Forum
      Keymaster
    • #80653
      pongaloenhvblog
      Participant

      Hi! Video is down, how can I hide gross Sales from vendor dashboard and order details?

    • #80794
      WCFM Forum
      Keymaster
    • #80877
      pongaloenhvblog
      Participant

      Thanks!!
      But still appearing gross price in order detail. Is there any way to hide only to vendors? Thanks!

    • #81620
      WCFM Forum
      Keymaster

      Hi,

      Please add this code to your site –

      add_filter( 'wcfm_is_allow_gross_total', function( $is_allow ) {
      	if( function_exists( 'wcfm_is_vendor' )  && wcfm_is_vendor() ) $is_allow = false;
      	return $is_allow;
      });

      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

    • #81801
      pongaloenhvblog
      Participant

      Thanks but doesn’t worked for me using code snippets.

      Here is an screenshot.

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

      HI,

      Well, you asked me to hide “Gross Total”.

      These are not Gross Total! Certainly there is no filter to hide this. You may try using CSS.

      Thank You

Viewing 8 reply threads
  • The topic ‘Hide Gross Sales Column From Vendors’ is closed to new replies.