Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › show net sales only
- This topic has 15 replies, 2 voices, and was last updated 5 years, 10 months ago by WCFM Forum.
- AuthorPosts
- June 15, 2018 at 4:18 am #24852Clemens PhilippsGuest
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 ? - June 15, 2018 at 6:45 am #24854WCFM ForumKeymaster
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
- June 15, 2018 at 12:55 pm #24858Clemens PhilippsGuest
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 salesDo you think you can help me again?
- June 15, 2018 at 2:38 pm #24865WCFM ForumKeymaster
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
- June 15, 2018 at 3:21 pm #24872Clemens PhilippsGuest
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.pngI want to remove the “net sales” and “average daily sales” …
- June 15, 2018 at 3:52 pm #24873WCFM ForumKeymaster
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
- June 15, 2018 at 4:27 pm #24876Clemens PhilippsGuest
I am using Woocommerce Product Vendors V 2.1.6
- June 15, 2018 at 5:58 pm #24877WCFM ForumKeymaster
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
- June 15, 2018 at 6:37 pm #24884Clemens PhilippsGuest
Oh amazing, thank yo so much !
- June 15, 2018 at 6:52 pm #24885WCFM ForumKeymaster
You are welcome 🙂
- June 15, 2018 at 8:18 pm #24888Clemens PhilippsGuest
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.
- June 16, 2018 at 5:40 am #24895WCFM ForumKeymaster
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
- June 16, 2018 at 12:38 pm #24905Clemens PhilippsGuest
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/
- June 16, 2018 at 4:51 pm #24916WCFM ForumKeymaster
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
- June 16, 2018 at 9:56 pm #24936Clemens PhilippsGuest
Hey Guys,
everything worked like a charm. Wooow… your support was just amazing, thank you soooo much ! - June 16, 2018 at 10:00 pm #24937WCFM ForumKeymaster
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
- AuthorPosts
- The topic ‘show net sales only’ is closed to new replies.