show net sales only

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 15 reply threads
  • Author
    Posts
    • #24852
      Clemens Philipps
      Guest

      Hi,
      i am looking for a way to hide the gross sales in the report… i want to see only total earnings in the frontend reports. is this possible ?

    • #24854
      WCFM Forum
      Keymaster

      Hi,

      Thanks for get in touch with us and it’s very much possible to achieve.

      Kindly add this line of code to your site for the purpose –

      add_filter( 'wcfm_sales_report_is_allow_gross_sales', '__return_false' );

      Please know me is this resolve your purpose or not!

      Thank You

    • #24858
      Clemens Philipps
      Guest

      Hey,
      thank you so much for this swift rply and solution… this def helped to remove the gross sales , nice..

      But i think i did not explained very well…. i still see the net sales… but what i really want to show is “total earnings” only..
      So somehow i have to get rid of:
      -net sales in this period
      -average daily sales

      Do you think you can help me again?

    • #24865
      WCFM Forum
      Keymaster

      Hi,

      Well, may be I am not getting your query properly.

      I have given a code but that works for Vendor’s dashboard and not for Admin’s.

      Do you want to hide these things from Admin’s reports?

      One more important thing, which multi-vendor plugin you are using in?

      Thank You

    • #24872
      Clemens Philipps
      Guest

      no no no…. you did everything perfect.
      The code you send me to remove the gross works perfect and was what i was looking for… but i have to remove more from the vondor dashboard.. please check this screenshot: https://preview.ibb.co/euHqEd/getridof.png

      I want to remove the “net sales” and “average daily sales” …

    • #24873
      WCFM Forum
      Keymaster

      Ahh … that’s great. Then we are on right track.

      Can you please know me your multi-vendor plugin’s name?

      Which one you are using – Dokan/WC Vendors/WCMarketplace ?

      Thank You

    • #24876
      Clemens Philipps
      Guest

      I am using Woocommerce Product Vendors V 2.1.6

    • #24877
      WCFM Forum
      Keymaster

      Hi,

      Thanks for the info.

      Here is code for other sections –

      add_filter( 'wcfm_sales_report_is_allow_net_sales', '__return_false' );
      add_filter( 'wcfm_sales_report_is_allow_avg_sales', '__return_false' );

      But, these code will work for you only after WCFM next update as I have just added this filters now.

      Don’t worry, WCfM next version will be there by tomorrow.

      Thank YOU

    • #24884
      Clemens Philipps
      Guest

      Oh amazing, thank yo so much !

    • #24885
      WCFM Forum
      Keymaster

      You are welcome 🙂

    • #24888
      Clemens Philipps
      Guest

      Sorry for bothering you again, i have one more question.. and i swear this is my last one 🙂

      At the vendor Dashboard the vondor can click on the “products stats” which take em to https://domainname.com/wc-frontend/products/ , but i dont want em to be ablt to tweak around in the products, even if a change has to be confirmedn by a admin first but it changes the product status from “released” to “pending / awaiting approval” if someone play´s around there.

      So it would be cool… if they simply would not be able to visit this page.

    • #24895
      WCFM Forum
      Keymaster

      Hi,

      As I understand, you want to block your vendors from accessing this page – https://domainname.com/wc-frontend/products/

      But it’s also there in left menu – “Product” – do you want to disable that as well?

      If so, then go to WCfM Capability settings and “Manage Products” set OFF.

      Between, just feel free to ask anything 🙂

      Thank You

    • #24905
      Clemens Philipps
      Guest

      Yes, exactly… i want to block the vendors from accessing this page – https://domainname.com/wc-frontend/products/

      From the menue i already have removed the tab. But there is still this product stats thing showing on the dashboard which takes em to this page – https://domainname.com/wc-frontend/products/

    • #24916
      WCFM Forum
      Keymaster

      Hi,

      How you have removed this from menu?

      Did you do this yet – “then go to WCfM Capability settings and “Manage Products” set OFF.”

      If not, then please do this.

      Thank You

    • #24936
      Clemens Philipps
      Guest

      Hey Guys,
      everything worked like a charm. Wooow… your support was just amazing, thank you soooo much !

    • #24937
      WCFM Forum
      Keymaster

      You are welcome 🙂

      If you ever get a chance please leave a review for me – https://wordpress.org/support/plugin/wc-frontend-manager/reviews/

      Please know me if you require any other assistance.

      Thank You

Viewing 15 reply threads
  • The topic ‘show net sales only’ is closed to new replies.