email-notifications

WooCommerce send new order email to customer

梦想与她 提交于 2019-11-29 12:35:27
I have a problem and it sounds stupid, but I'm really stucked. I need to send "new order" email also to customer. I tried adding function to functions.php file, and it sends email, but doesn't show most of variables. I inserted the same code into sample php file, added as page in wordpress and it works really well. I really don't know what is going on. Any solutions? Maybe there is more simple way, like adding recipent to "new order"email in woocommerce? I checked class-wc-email-new-order.php file, but I was not able to change anything in there, I don't understand how it works. screen: code

Custom subject for New Order Email notification in Woocommmerce

扶醉桌前 提交于 2019-11-29 12:13:15
In Woocommerce I would like to set the product purchased in the "new order" email subject line, something like this: New Order - [{product_name}] ({order_number}) - {order_date} I understand that product_name cant be used probably due to multiple products is there a way I can still do this by filtering product ordered or just allowing multiple products as not many multi orders go through. Very new to modifying theme code but any help would be greatly appreciated. The Email settings for "New Order" the subject need to be (as in your question): New Order - [{product_name}] ({order_number}) -

Style orders details table in Woocommerce email notifications

不羁岁月 提交于 2019-11-29 00:45:32
I am using WordPress 4.8.1 and using bridge theme. I am facing some problem regarding removing price from new order template email. I want to remove price column ,however I removed total and subtotal , but not getting anything to remove price column with products as going through files. I have found this is coming from this code: <?php echo wc_get_email_order_items( $order, array( 'show_sku' => $sent_to_admin, 'show_image' => false, 'image_size' => array( 32, 32 ), 'plain_text' => $plain_text, 'sent_to_admin' => $sent_to_admin, ) ); ?> In email-order-details.php template which I have copied to

WooCommerce email notifications: different email recipient for different cities

风流意气都作罢 提交于 2019-11-28 12:42:50
I using Woocommerce and actually I receive order notifications only to one email. I would like to receive notifications about orders in 2 different emails depending on customer location: For customer from zone 1 (Germany) I would like to receive the email notifications at Mail #1 (mail1@mail.com) , For all other zones like zone 2 (Mexico) I would like to receive the email notifications at Mail #2 (mail2@mail.com) . I looking for some functions on net, but I was find only funtcions to send to two email adresses, but without any If condition. What I will need is something like that: if ($user-

Adding custom emails to BCC for specific Woocommerce email notifications

依然范特西╮ 提交于 2019-11-28 11:29:22
问题 In Woocommerce, I have a custom email template (id = 'wc_course_order') that sends when a specific product (an online course) is purchased. Below I use a hooked function that adds recipients based on order metadata from custom fields (i.e. "Student Email"). It's based on this thread answer. How can I add these recipients as BCC and grab their "First Name" field and add that to the body of the email, especially given that two quantities of the course product may be purchased together with two

Send an Email notification to the admin for pending order status in WooCommerce

╄→гoц情女王★ 提交于 2019-11-28 07:03:54
In WooCommerce, when a customer goes to checkout from cart and submit the order, if the payment is not processed, the order is set to "pending" payment. The Admin doesn't received any email about. I would like to send an email to Admin for this kind of orders. How can I do it? UPDATE 2 (Change from woocommerce_new_order to woocommerce_checkout_order_processed thanks to Céline Garel) This code will be fired in all possible cases when a new order get a pending status and will trigger automatically a "New Order" email notification: // New order notification only for "Pending" Order status add

WooCommerce send new order email to customer

心不动则不痛 提交于 2019-11-28 06:33:42
问题 I have a problem and it sounds stupid, but I'm really stucked. I need to send "new order" email also to customer. I tried adding function to functions.php file, and it sends email, but doesn't show most of variables. I inserted the same code into sample php file, added as page in wordpress and it works really well. I really don't know what is going on. Any solutions? Maybe there is more simple way, like adding recipent to "new order"email in woocommerce? I checked class-wc-email-new-order.php

Custom subject for New Order Email notification in Woocommmerce

一笑奈何 提交于 2019-11-28 05:05:43
问题 In Woocommerce I would like to set the product purchased in the "new order" email subject line, something like this: New Order - [{product_name}] ({order_number}) - {order_date} I understand that product_name cant be used probably due to multiple products is there a way I can still do this by filtering product ordered or just allowing multiple products as not many multi orders go through. Very new to modifying theme code but any help would be greatly appreciated. 回答1: The Email settings for

Style orders details table in Woocommerce email notifications

好久不见. 提交于 2019-11-27 21:04:45
问题 I am using WordPress 4.8.1 and using bridge theme. I am facing some problem regarding removing price from new order template email. I want to remove price column ,however I removed total and subtotal , but not getting anything to remove price column with products as going through files. I have found this is coming from this code: <?php echo wc_get_email_order_items( $order, array( 'show_sku' => $sent_to_admin, 'show_image' => false, 'image_size' => array( 32, 32 ), 'plain_text' => $plain_text

WooCommerce email notifications: different email recipient for different cities

北城余情 提交于 2019-11-27 07:14:56
问题 I using Woocommerce and actually I receive order notifications only to one email. I would like to receive notifications about orders in 2 different emails depending on customer location: For customer from zone 1 (Germany) I would like to receive the email notifications at Mail #1 (mail1@mail.com) , For all other zones like zone 2 (Mexico) I would like to receive the email notifications at Mail #2 (mail2@mail.com) . I looking for some functions on net, but I was find only funtcions to send to