How to deactivate the supplier data in the product list.

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 WC Marketplace How to deactivate the supplier data in the product list.

Viewing 2 reply threads
  • Author
    Posts
    • #136777
      Lepsin
      Participant

      How could I deactivate the supplier details in the product list? I just want to disable them on the product list but not on the product detail page.

      Attachments:
      You must be logged in to view attached files.
    • #137197

      Hello,

      add_action('init',function(){
      	global $WCFM, $WCFMmp;
      
      	remove_action('woocommerce_after_shop_loop_item_title', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 9 );
      	remove_action('woocommerce_after_shop_loop_item_title', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 50 );
      	
      });

      /try this code to your child theme’s functions.php

      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thanks

    • #139171
      Lepsin
      Participant

      Thank you

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