1. Home
  2. WC Vendors Pro
  3. Code Snippets
  4. Removing “Sold By” on Your Site

Removing “Sold By” on Your Site

To remove the sold by on your site that runs WC Vendors Pro you will need to add the following code to your themes functions.php.

remove_action( 'woocommerce_after_shop_loop_item',  array( $wcvendors_pro->wcvendors_pro_store_controller, 'loop_sold_by'), 8 );
remove_action( 'woocommerce_product_meta_start',  array( $wcvendors_pro->wcvendors_pro_store_controller, 'product_sold_by'), 8);
remove_filter( 'woocommerce_get_item_data',  		array( $wcvendors_pro->wcvendors_pro_store_controller, 'cart_sold_by' ), 8, 2 );



Updated on October 17, 2016

Was this article helpful?