nextsmarter
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Now we use below code to get email. Share here if anyone need for reference:
$product_id = $item->get_product_id(); $seller_id = get_post_field( 'post_author', $product_id ); $recipient = dokan()->vendor->get( $seller_id )->get_email();Thank you @roshni07 🙂
Thank you for your reply. I understood.
Thanks Nazmul for your quick & great support.
>> Now, if it is required to send an email to the vendor too then you may need to modify the WooCommerce email template
As you said, maybe the quickest ways is hook WooCommerce email template.
Which is quick method to get vendor email for a specified order id inside a hook?Thanks Nazmul again.
Viewing 4 replies - 1 through 4 (of 4 total)