Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Disabling Vendors Ability to Turn Off Reviews On a Product by Product Basis
Tagged: reviews
- This topic has 3 replies, 2 voices, and was last updated 5 years, 5 months ago by WCFM Forum.
- AuthorPosts
- July 17, 2019 at 9:47 am #72803Jonny H DOGParticipant
Hi there,
We recently setup WCFM and We are wondering how we would disable the vendors ability to turn off product reviews at the product creation screen. If anyone is unsure what I am talking about, I have attached a snip of the tick box we want to remove from the add product screen.
We have tried the following:
– Turning off vendors capability to manage reviews
We have looked in Settings > Review settings and its not there
We have looked at the module itself as an admin and that looks like a list of reviews and not much more.We have a child theme so are happy to try any custom code.
On an unrelated note, how do we submit support tickets to WCLovers? all I can find is this forum.
Attachments:
You must be logged in to view attached files. - July 17, 2019 at 10:05 am #72805WCFM ForumMember
HI,
Please add this code to disable “Enable Review” option form Product Manager –
add_filter( 'wcfm_product_manage_fields_advanced', function( $advance_fields, $product_id ) { $advance_fields = wcfm_hide_field( 'enable_reviews', $advance_fields ); return $advance_fields; }, 50, 2 );
Don’t worry, this will be by default enable for all products.
Thank You
- July 18, 2019 at 10:10 am #72930Jonny H DOGParticipant
Thank you so much! it worked exactly as expected.
- July 18, 2019 at 12:39 pm #72959WCFM ForumMember
You are welcome 🙂
Let me know if there’s anything else we can help you with.
Can we ask for a favor John? Would you mind taking a few minutes to review our plugin at WordPress and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter @wcfmmp for more exciting news, important updates, and irresistible offers.
- AuthorPosts
- You must be logged in to reply to this topic.