Disabling Vendors Ability to Turn Off Reviews On a Product by Product Basis

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 – Marketplace (WooCommerce Multivendor Marketplace) Disabling Vendors Ability to Turn Off Reviews On a Product by Product Basis

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #72803
      Jonny H DOG
      Participant

      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.
    • #72805
      WCFM Forum
      Member

      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

    • #72930
      Jonny H DOG
      Participant

      Thank you so much! it worked exactly as expected.

    • #72959
      WCFM Forum
      Member

      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.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.