Get more for your money each Wednesday with big savings on selected extensions. Shop this week's deals.
Product Icon

Advanced Notifications for WooCommerce

by Woo
Easily setup "new order" and stock email notifications for multiple recipients of your choosing.

missing sent_to_admin option ! (eg. coupon details)

On New order email (but it might be the case in others)
“$sent_to_admin” is not set to true , so a lot of informations, like coupons details, are not displayed in email, in these 3 hooks

do_action(‘woocommerce_email_after_order_table’, $order, $sent_to_admin, $plain_text, $email); do_action(‘woocommerce_email_order_meta’, $order, $sent_to_admin, $plain_text, $email); ?do_action(‘woocommerce_email_customer_details’, $order, $sent_to_admin, $plain_text, $email);

As notifications are not meant to be sent to customer, $sent_to_admin should be set to true , or at least it should be a parameter in setting up the notification so we have the choice.

Right now, the only workaround I have is to manually force the value of sent_to_admin in email template.
It works, but I would prefer to keep default template so it can be upgraded with plugin upgrade

thanks,

– Arnaud

Author

arnaud66ef00c376

Current Status

Open

Last updated: January 26, 2023

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.