June 19, 2014 at 3:53 pm 22191
|Aaron M||Hi, Im trying to integrate the seller name and last name in the email templates when an order is made. So I have put admin-new-order.php in wp-content/themes/dokan/woocommerce/emails/ to override the default woocommerce template but or it doesent send, or it doesnt work. I tried with : 1- (Dokan Variable) 2 -seller_first_name . ' ' . $order->seller_last_name ); ?> (Woocommerce variable?) 3 - (Dokan Variable) 4 - (Dokan Variable) Anybody could help me with that, I'm stuck here Thanks in Advance!|
June 19, 2014 at 8:12 pm 22202
Just a quick thought but double check you’re using the actual Dokan theme and not a child theme? If you’re not using a child theme I’d suggest you do that so you don’t overwrite these emails when you update the theme.
June 19, 2014 at 9:50 pm 22207
Hi Will, Im using the child theme Thank you for the light 🙂
June 19, 2014 at 9:53 pm 22208
If you’re using the child theme then you should be putting it in wp-content/themes/dokan-child/woocommerce/emails/ I believe – not in the Dokan theme.
June 19, 2014 at 10:02 pm 22210
Yes done. It’s safer this way. Still looking how to include the variable ^^
June 22, 2014 at 1:23 pm 22292
you could use the fowlling hook to send mail.
To write email template please check dokan default templates from
July 23, 2014 at 1:57 pm 24011
hi Rubens, you could add the seller info to emails?
July 23, 2014 at 5:03 pm 24016
>> Sk_Shaikat: Thank you but what I just need is the variables to show the seller First and Last name into the emails.
August 3, 2014 at 6:07 pm 24436
write this function in
and this add action in
August 30, 2014 at 2:23 pm 26068
Hi, thanks for this function. Is there a way to change the parameter to show the shop name instead of the Seller Name? The shop name is more meaningful for the buyer than the seller name. Thanks in advance for any tips.
August 31, 2014 at 12:35 pm 26112
Thank you 🙂
September 1, 2014 at 1:34 am 26125
works perfect, thanks sk_shaikat