Hello,
I want to remove vendor details from the customer and vice versa. I have added multiple codes snippets to do this but to no avail. Kindly have a look at the codes that I have added:
//MVX remove order/customer billing address from vendor
add_filter(‘show_cust_billing_address_field’, ‘__return_false’);
add_filter(‘show_cust_shipping_address_field’, ‘__return_false’);
add_filter( ‘is_vendor_can_see_order_billing_address’, ‘__return_false’ );
add_filter( ‘is_vendor_can_see_order_shipping_address’, ‘__return_false’ );
//MVX remove vendor name from order
add_action(‘init’, ‘wc_hide_vendor_details_order_page’);
function wc_hide_vendor_details_order_page() {
global $WCMp;
remove_action(‘woocommerce_order_details_after_order_table’, array($WCMp->frontend, ‘display_vendor_msg_in_thank_you_page’), 100);
}
//MultivendorX Remove Vendor Name
add_filter( ‘woocommerce_display_item_meta’,’wcmp_hide_sold_by_from_emails’,10,3);
…