Best Multi Vendor Marketplace Plugin for WordPress › Forums › WC Marketplace › How to deactivate the supplier data in the product list.
- This topic has 2 replies, 2 voices, and was last updated 5 years ago by
Lepsin.
Viewing 2 reply threads
- AuthorPosts
- May 30, 2020 at 9:30 pm #136777
- June 1, 2020 at 12:10 pm #137197
Sarmistha Chakraborty
MemberHello,
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
- June 7, 2020 at 1:07 am #139171
Lepsin
ParticipantThank you
- AuthorPosts
Viewing 2 reply threads
- You must be logged in to reply to this topic.