Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Disable "Store Stats" in [Store Manager]
- May 29, 2019 at 1:16 am #64189christineGuest
I want to disable “Store Stats” in [Store Manager] – [Home].
I don’t want my vendors to see it.
But it seems there is no option for disabling it in [Capability] settings.
Could you give me a code for this?
Thanks in advance!
- May 29, 2019 at 7:32 pm #64864
Please add this line to your site –
add_filter( 'wcfm_is_pref_stats_box', '__return_false' );
- May 30, 2019 at 4:40 am #64926ChristineGuest
I added this code using the Snippet plugin, but “Store Stats” still appears.
Nothing seems wrong with this code, I don’t know why it is still showing 🙁
- May 31, 2019 at 8:02 pm #65276
Which multi-vendor you are using ?
Is there any caching plugin? If so, then please clear caches and check.
- June 7, 2019 at 2:28 am #66338
The multi-vendor plugin I’m using in is “WooCommerce Multivendor Marketplace”!
And I’m not using any caching plugin.
Any further suggestions?
- June 10, 2019 at 8:49 pm #66839
What is your WC Frontend Manager plugin version?
Do you have any template override?
- June 11, 2019 at 3:44 am #66904
I was using Version 6.1.4,
and I upgraded it to 6.1.5 today but it isn’t still working..
- June 11, 2019 at 5:47 pm #67045
May be I misunderstood your requirement.
Can you please show me screenshot, what exactly you want to disable form vendor’s dashboard ?
- June 12, 2019 at 2:00 am #67109
- June 12, 2019 at 5:49 am #67123
- July 16, 2019 at 2:45 pm #72663vanilladev89Participant
I have a suggestion to make off the back of this thread. It could be a good idea to attach the filters for some capabilities to the capabilities. What I mean by this is take shipping for example. If the store admin disables shipping capability, there should not be any shipping stats in home page or options in the interface anymore and for some admins that use some shipping, maybe you make these options capability options as well. To Further my example, I noticed that in Store Policies, even though shipping is turned off, there is still section to write a shipping policy. Options like this should just be disabled if shipping is disabled per vendor capability.
Just a thought.
- July 17, 2019 at 6:04 am #72761
Well, there is no such “shipping” capability.
There is only one capability related to shipping, but that is only for whether vendors allowed to setup shipping cost or not!
Now, only depending upon this disable all shipping related information form vendor dashboard will not right.
- You must be logged in to reply to this topic.