Sold by still showing via order email
-
Hi,
Thanks for the amazing plugin.
I added the following code given in your support. But the “Sold by vendor name” comes up in the order emails to the admin and customer.
Below is the code we used.
____________________________
/* Remove sold by in product loops */
remove_action( ‘woocommerce_after_shop_loop_item’, array(‘WCV_Vendor_Shop’, ‘template_loop_sold_by’), 9, 2);/* Remove sold by in cart view */
remove_filter( ‘woocommerce_get_item_data’, array( ‘WCV_Vendor_Cart’, ‘sold_by’ ), 10, 2 );/* Remove sold by on single product pages */
remove_action( ‘woocommerce_product_meta_start’, array( ‘WCV_Vendor_Cart’, ‘sold_by_meta’ ), 10, 2 );/* Remove sold by in emails */
remove_filter( ‘woocommerce_order_product_title’, array( ‘WCV_Emails’, ‘show_vendor_in_email’ ), 10, 2 );/* Remove the entire seller info tab */
remove_filter( ‘woocommerce_product_tabs’, array( ‘WCV_Vendor_Shop’, ‘seller_info_tab’ ) );____________________________________________
- The topic ‘Sold by still showing via order email’ is closed to new replies.