Hello,
I’m trying to add a PHP hook in my custom email.
Is there a way to do it? I need to add:
do_action( ‘woocommerce_email_footer’, $email );
I’ve tried adding it into the HTML code of the custom email, but after I’ve saved the changes it changed it back. I’Ve put:
<?php do_action( ‘woocommerce_email_footer’, $email ); ?>
Thanks for any help¨
Boza
Hello,
Is it possible to send a different email depending on the language ?
If the customer is spanish, then send email type 1
If the customer is french, then send email type 2
…
Thanks
]]>Are there any plans to maintain it?
]]>I have the custom emails set up depending on the product. However, when I purchase the product I do not receive the email information. I do receive the invoice.
]]>Hello could you update the plugin, its already un-update on 3 major release.
Fatal error: Uncaught Error: Call to a member function get_id() on boolean in /home/u5449355/public_html/wp-content/plugins/woo-custom-emails/admin/class-wcemails-admin.php:573 Stack trace: #0 /home/u5449355/public_html/wp-includes/class-wp-hook.php(290): WCEmails_Admin->do_email_actions(367712, Object(WP_Post)) #1 /home/u5449355/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/u5449355/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/u5449355/public_html/wp-includes/post.php(4120): do_action(‘save_post’, 367712, Object(WP_Post), false) #4 /home/u5449355/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php(52): wp_insert_post(Array) #5 /home/u5449355/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_wpPostStore.php(21): ActionScheduler_wpPostStore->save_post_array(Array) #6 /home/u5449355/public_html/wp-content/plugins/woocommerce/incl in /home/u5449355/public_html/wp-content/plugins/woo-custom-emails/admin/class-wcemails-admin.php on line 573
There has been a critical error on your website. Please check your site admin email i
Hi there, this error message shows up when I try to send a custom email from the Order Details page:
Fatal error: Uncaught Error: Call to a member function trigger() on null in /home/example/public_html/wp-content/plugins/woo-custom-emails/admin/class-wcemails-admin.php:573 Stack trace: #0 /home/example/public_html/wp-includes/class-wp-hook.php(290): WCEmails_Admin->do_email_actions(16415, Object(WP_Post)) #1 /home/example/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /home/example/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/example/public_html/wp-includes/post.php(4119): do_action(‘save_post’, 16415, Object(WP_Post), true) #4 /home/example/public_html/wp-includes/post.php(4196): wp_insert_post(Array, false) #5 /home/example/public_html/wp-admin/includes/post.php(407): wp_update_post(Array) #6 /home/example/public_html/wp-admin/post.php(219): edit_post() #7 {main} thrown in /home/example/public_html/wp-content/plugins/woo-custom-emails/admin/class-wcemails-admin.php on line 573
The custom email is not sent.
How could I resolve this? Thanks!
]]>I was wondering if I was able to include a customer’s shipment tracking information for our eCommerce website. We process all our online orders through ShipStation, and once the details are entered, ShipStation provides us with the tracking number from that carrier. Is there a way to have that tracking information included in the automated emails sent out by this plugin?
]]>Hi, I have the following problem: I installed “Elementor Pro”, “Woocommerce”, “Woo Custom Emails”, the latter allows sending mail once the user has clicked on “Place order” (to be exact , in this way he is sent an email with the details to make a bank transfer).
The problem is that in the email, as content, appears the first page of the site that is built with Elementor Pro.
Can someone tell me if it ever happened to him? or, can you direct me to another plugin that sends emails with the details for a wire transfer? thank you so much.
]]>All generic variables
↑ Back to top
Variable code Variable description
{item_names} The explicit name(s) of the purchased items the email was triggered for as a link back to the item
{customer_username} Displays the username of your customer
{customer_first_name} Displays the first name of your customer
{customer_last_name} Displays the last name of your customer
{customer_name} Displays the concatenated first and last name of your customer
{customer_email} Displays your customer’s email address
{order_number} Outputs the order number for the order
{order_date} Outputs the date of the order
{order_datetime} Outputs the date and time of the order
{order_subtotal} Outputs the order total minus the tax and shipping amounts
{order_tax} Outputs the tax amount of the order
{order_pay_method} Outputs the payment gateway or payment method used
{order_pay_url} URL for customer to pay their (unpaid – pending) order
{order_billing_address} Outputs the billing address for the specified order
{order_shipping_address} Outputs the shipping address for the specified order
{coupon_code} Outputs the dynamically generated coupon code for the customer. * must be using the “after coupon used trigger“
{coupon_code_used} Outputs the coupon code used by the customer for the order. * must be using the “after coupon used trigger“
{coupon_amount} Outputs the value of the coupon generated/used. * must be using the “after coupon used trigger“
{dollars_spent_order} Outputs the amount that the customer spent for the order
{store_url} Outputs your store’s URL/web address without https
{store_url_secure} Displays your store’s URL/web address with https
{store_url=path} Displays a URL appended to your domain allowing for tracking of the link. For example, you can use {store_url=/my-account} to send your customer to their account page
{store_name} Displays the name of your store
{unsubscribe_url} Displays a dynamically generated URL that the customer can click to unsubscribe from emails
{post_id=xx} Displays an excerpt of a selected blog post where “xx” = the post ID
{download_url} Displays the URL to the downloadable file when available
{download_filename} Displays the filename of the downloadable file that is available to the customer
{order_billing_phone} Displays the billing phone number of the customer
{order_shipping_phone} Displays the shipping phone number for the customer
{webversion_url} Displays the raw URL to visit a webversion of the email – requires being wrapped in a custom link in the email body
{webversion_link} Generates a direct link to the webversion of the email with the text “View in browser”
is it possible to put these variables in email? Because only the displayed ones work…. i tried them but don work… maybe someone can help me..
thank you and kind regards.
Hi,
It′s possible to set a email recipient as {order_billing_phone}@mydomain.com ?
Thanks in advance.
Carlos
Hi guys!
Thanks for really good plugin.
It was working really good but around september something weird started to happen.
When customer make order and the payment is set to cash on delivery then system sends custom email regarding the new order with homepage html in it.
In the system it is set that every time when order is changed to “In progress” ( which happens automatically while order is “payment on delivery”) – then custom email should be sent.
What’s more – when I will manually resend this order e-mail – it is correct.
Any ideas how to solve this?
Thanks in advance.
]]>Hello,
The plugin is giving me the the following compatibility information 4.9–4.9.5, so I’m just checking all plugins compatibility before upgrading to WP 5.
So kindly advise if it is compatible or when the compatibility will be added for WP 5, for me to schedule the upgrade.
Thanks
]]>I am successful, in getting an email generated when a new order is processed.
The same email goes to both the Site Owner and the Customer so far (not a problem).
The problem is, after adding the email fields shown in the example, with commas or on their own rows, or even on their own row wrapped in an h4 tag, still nothing shows in the body of the email.
The subject of the email is picking up the order number and date, etc.
But in the body of the emails there is no data showing from any of the tags.
What am I doing wrong, or is there a setting I need to tweak some place???
Thanks, encouraging results so far.
]]>Hi, I translate the plugin in French, you can download my po/mo files here:
https://megastock.free.fr/divers/woo-custom-emails-fr_FR.zip
Regards.
Jean
Hi, I would like to spend the order comments in the email template. What is the tag for the “order_comments”
]]>I know you have already commented on this in other issues but I can not make it work. Maybe you should place an explanation for not so advanced users. Excuse me.
Where should I place the code?
What is the reference to the Postal Code?
Could you please place the sample code?
Infinite thanks!
]]>Hi, I want to Take payments in person via BACS. More commonly known as direct bank/wire transfer. I want people to get an email with instructions when they use this method. Is this covered by Woo Custom Emails?
]]>The plugin works perferctly except one thing:
{email_order_items_table} and {email_order_total_footer} produce ugly tables covering 100% of the horizontal space. Thez also change the design of the rest of the email. This is probably cause by them generating a table inside of a table.
See screenshot: https://prntscr.com/krzf9b
]]>Hello,
i wanted to have custom on this plugin, how can i add this on my child theme?
What steps do i need to do.
thank you so much for the help.
]]>Hello.
I did a test run on a purchase with my daughter. I ended up receiving the after purchase email instead of her. She didn’t receive an email at all.I am using Woo custom emails.
I am guessing I have something selected wrong somewhere.
Please help. Thank you so much.
]]>Hey.
Great Plugin, tnx. But I have one big issue – I would like to send email, when new order is made.
Status from “None” to “Pending payment”. I tried with settings from “Pending payment” to “Pending payment” but no go.
Please for help.
Tnx
Hi there,
this plugin looks very good, because I have to create a new mail type in WooCommerce: An automatic notification fur customers 24 hours before their course starts, so they don’t forget.
For this I need a mail with a different content but the same visual style than the already-existing Woo mails.
So, If I install this plugin and create a new mail type…how do I actually SEND this mail? At the moment my test mails are being sent by wp_mail(). How do I trigger the new mail type created by this plugin?
Thanks!
]]>Hello is your plugin Woo Custom Emails compatible with WooCommerce 3.4.3?
Thank you
Hi, does anyone know how to add custom tags? I would like to display billing address and billing company in the email.
]]>I have checked “Send Only To Customer?” and left “Recipients” empty. The plugin is sending to the customer but also the default WordPress e-mail as BCC.
I’m using this plugin for a vacation message, so I don’t wan’t my inbox to be flooded with irrelevant vacation messages to me as BCC. Only the customers need it.
It should be a feature to select only customers and no one else.
]]>Hello, here my request: in Product > Custom Email I’ve set “Content Location > Before Order Table”.
But at the top of email I still see “… Your order details are shown below for your reference:” before custom content. Is it possible move also this text line after custom content?
Thanks
]]>Hello,
your plugin is great. Unfortunately i have a crazy tag replacement behaviour.
So i have created a custom tag “{gallery_access_code}” for replacement:
function convert_template() {
…
$order = wc_get_order( $this->object );
$gallerycode = strval(get_post_meta( $order->id, ‘_gallerycode_field’, true ));
$this->placeholders[‘{gallery_access_code}’] = $gallerycode;
….
So now if the customer gets the custom generated email, he normally finds the right gallerycode in his mail.
For example:
“Die Zugangskarten mit dem Zugangscode 2388238 für Deine pers?nliche Eventgalerie sind bereits erstellt.”
But if the gallerycode contains the number 1 or 0 i for example 1234560, the customer gets the following:
“Die Zugangskarten mit dem Zugangscode {billing_first_name}23456{formatted_billing_address} für Deine pers?nliche Eventgalerie sind bereits erstellt.”
Do you have an idea, how i can solve it?
Thank you in advance!
BR,
Artjom
Hi there,
I have installed this plugin into the latest version of WP and Woocommerce, and I am getting this error.
Fatal error: Call to a member function get_id() on boolean in /wp-content/plugins/woo-custom-emails/admin/class-wcemails-admin.php on line 573
Any idea?
Thanks
John
With recipients set to one address and Send to Customer Only not checked, the plugin is sending the New Order alert to the customer’s email address, as well as the email set in recipients.
It’s also sending the default New Order alert email, even though it’s disabled.
]]>Using a currency switcher plugin, the system is sending the default Woocommerce email. With the base store currency, custom emails send fine.
]]>