Hello @loopforever ,
1. The permalink is coming from the template & there is no hook available to remove that without template overriding.
To remove the product type use this code in your theme’s functions.php file:
add_filter( 'dokan_product_types', 'remove_product_types', 99 );
function remove_product_types( $product_types ){
unset( $product_types['external']);
return $product_types;
}
2. The WooCommerce order object does not hold the vendor emails directly. It holds the vendor user ID & the product’s meta has the vendor information attached to it. You can either retrieve the vendor information from the product on that order.
You can learn more on retrieving order information here: https://www.businessbloomer.com/woocommerce-easily-get-order-info-total-items-etc-from-order-object/
I will recommend taking help from a Woo expert to make it work as per your need.
Thank you ??