Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards

Deactivate Customer Questions

MultivendorX

Resolved
Viewing 3 reply threads
  • Author
    Posts
    • #214034
      Picflick
      Participant

      Hi,
      I’d like to deactivate Customer Questions functionality please. Both on the vendor dashboard (https://ibb.co/Ct6q7Gr) and the public website /product page (https://ibb.co/5jfXfs5).
      Thanks

    • #214053

      Hi @Picflick
      Kindly add the below code in the functions.php file of your current active theme to remove the customer questions tab from the single product page –

      
      add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 99 );
      function woo_remove_product_tabs( $tabs ){
      	unset( $tabs['mvx_customer_qna'] ); // Questions & Answers
      	return $tabs;
      }
      
      Copy

      And to remove the customer questions submenu from the vendor dashboard add the below code in the functions.php file in your current active theme –

      
      add_filter('mvx_vendor_dashboard_nav', 'callback_mvx_vendor_dashboard_nav', 99);
      function callback_mvx_vendor_dashboard_nav($vendor_nav){
      	unset($vendor_nav['store-settings']['submenu']['products-qna']);
      	return $vendor_nav;
      }
      
      Copy
    • #214185
      Picflick
      Participant

      Thank you 🙂

    • #214187

      You are welcome.

Viewing 3 reply threads

The topic ‘Deactivate Customer Questions’ is closed to new replies.