621 questions
0
votes
0
answers
44
views
Woocommerce custom order status with customized email notification Turn off translation
I found a good code here to create a unique order status with the option to send an email. It works well, the only problem is that my website is bilingual (ro,hu) and all unique status emails are sent ...
2
votes
1
answer
56
views
How to display order total in WooCommerce email notifications
In the context of making a B2B platform only based on a wordpress ecommerce website, I need to change the email sent to customers after placing an order by removing the list of items ordered as this ...
1
vote
1
answer
49
views
How to perform an action after a hangfire background job fails and exhaust its max number of retries
I have an operation being performed as Hangfire background job like this:
var jobId = BackgroundJob.Enqueue(() => PerformActionA(param1, param2));
If the job with jobId gets failed and made max ...
2
votes
1
answer
127
views
Getting 'unknown sender' notification when creating google calendar event via service account
Getting 'unknown sender' notification when creating google calendar event via service account
const auth = new GoogleAuth({
scopes: [
'https://www.googleapis.com/auth/calendar',
'https://www....
0
votes
1
answer
65
views
Use WooCommerce account name and email instead of billing name and email for invoices and email notifications
I want to use the WordPress account User Name on the customer emails and admin order notifications instead of the Billing Name.
Our use case is that employees are enrolling for an online course. They ...
1
vote
1
answer
104
views
Send an email notification for orders with pending payments
I use the following code to send an admin email when the order status changes from pending to cancelled.
add_action('woocommerce_order_status_pending_to_cancelled', '...
0
votes
0
answers
47
views
Display the user role in WooCommerce admin new order email notification
With the following, I'm trying to display the user role to the admin new order email notification (code added to my theme's functions.php file):
add_filter( 'woocommerce_email_order_details', '...
0
votes
0
answers
57
views
sending custom email to customers after a configured time from the order procced time
I'm attempting to configure a plugin that sends an email to the customer after they place or complete an order. The plugin should send a custom email after a specified time, but for some reason, the ...
1
vote
1
answer
49
views
Add attendees emails as CC for WooCommerce processing and completed email notifications
I'm currently trying to add emails from my custom checkout field to the list of cc recipients for processing and completed order emails.
I have used this code for creating repeating sets of custom ...
2
votes
1
answer
118
views
Add a column to show order item price excl. tax in Woocommerce email notifications
I have been trying to find a way to add the price excluding taxes for each item in an additional column on the new order email notification.
This is what is currently shown:
and this is what I'm ...
-1
votes
1
answer
82
views
Hide "Backordered" item metadata from customer Orders and Email notifications in WooCommerce
Currently, have the WooCommerce Backorder feature enabled, but would like to remove form notifications 'Backordered: 1' from the WooCommerce Orders Panel, all email notifications, receipts, delivery ...
1
vote
1
answer
65
views
Change CSS Only for WooCommerce New Order Notification sent to Admins
I want to change the header table design on new order notifications only for my admins. Customer emails should be unaffected. The code I have is below but it does not seem to want to work. Any help ...
1
vote
2
answers
88
views
Add order item price per kilo in WooCommerce New Order notification
I want to add the price per kilogram of an item to the admin-new-order.php template. I've managed to get the weight and quantity and to echo it (see "104" in screenshot) in the admin-new-...
1
vote
1
answer
234
views
Display the Remaining Stock Quantity for each order item only in WooCommerce new order email notification
I'm having a small issue with a code snippet that is displaying the remaining product stock quantity for each order item in Admin New Order email notification.
This is my code:
// Add action to ...
2
votes
1
answer
87
views
Display custom checkout field value in WooCommerce orders and email notifications
I have the following code which adds a custom field to checkout for a specific product, adds it to the new order page and send's it in the new order email.
add_action( '...
0
votes
2
answers
94
views
Email notifying a new order sent to related product authors in WooCommerce
I don't use a vendor plugin, but use the wordpress user authorization feature to allow a custom user "chu_xe" to post and manage the products they publish.
I want when there is an order ...
1
vote
1
answer
42
views
Customize WooCommerce Low Stock Email Content Based on Product Variation custom field
I have customized my WooCommerce store to assign priority levels (1-4) to product variants, which helps us manage our inventory more effectively. These priority levels are saved as post meta for each ...
1
vote
1
answer
137
views
How to remove a hooked function from woocommerce_email_order_meta hook
I need to include custom data in an email for a WooCommerce site, namely, delivery date and time.
I have tried to override the existing hook "woocommerce_email_order_meta" using this code, I'...
0
votes
1
answer
37
views
How to prohibit Jenkins to send emails to irrelevant Git users
I have a Jenkins job that uses Extended E-mail Notification plugin to send info after build done. I set $BUILD_USER_EMAIL as recipient and it basically works. But... When resulting build page looks ...
1
vote
1
answer
193
views
Remove Product SKU from order details in WooCommerce email notifications
I've been trying to remove the product SKU located after the product title in WooCommerce email notifications.
I have tried the following:
function sv_remove_product_page_skus( $enabled ) {
if ( ! ...
1
vote
1
answer
45
views
Replace WooCommerce New order email address based on purchased products
I have this function that sends an additional email to different email adresses based on which product that is purchased. It works well but it still sends an New order email to the default adress ...
1
vote
1
answer
248
views
Change programmatically the email for new order, cancelled order and failed order WooCommerce notifications
when you go to WooCommerce->Settings->Emails you can set which email address you want for new orders, failed orders, cancelled orders and so on.
I'm trying to see how I can change all of them ...
0
votes
0
answers
117
views
How to Receive Email Notifications for Alerting State Alerts in Grafana
Hello Stack Overflow Community,
I am working on setting up alerting in Grafana and would like to ensure that my team receives email notifications for any alerts that enter the alerting state. Although ...
1
vote
1
answer
294
views
Attendees Custom Checkout Fields per Cart item Quantity in WooCommerce
I found this code that does exactly what I need it to, except it doesn't add the information to the email, or the order details.
So for context, we are selling tickets and want to collect information ...
0
votes
0
answers
38
views
Woocommerce Order Completed Email with prepaid value using Germanized plugin
I am using Woocommerce with the Germanized Pro Plugin. After successfull payment my customer gets the email "order completed". The regular mail from woocommerce with the order details.
The ...
3
votes
1
answer
72
views
Disable Woocommerce order completed email when order items have specific product tags
I'm using the following code, but it's not working, WooCommerce is still sending emails when the order changes from processing to completed for those two product tags.
add_filter( '...
1
vote
1
answer
173
views
Invalid email headers using WordPress wp_mail()
I get an invalid header when I try to send an email using WP Mail SMTP, the test emails work fine. It has been working perfectly for months but from 25.01. it is not working.
My code:
$headers = &...
1
vote
1
answer
121
views
Can't send customer note email notification in WooCommerce
I have the following code to try to send an order notification email to the customer in WooCommerce.
I have some other code that already made the custom order status "reminder". I can also ...
-1
votes
1
answer
57
views
Security team has blocked sending out emails from pipeline jobs
I'm using Azure DevOps for running my test automation tests and I intend to sendout the report at the end of test run. However, I cant do that since Helpdesk team has blocked accessing SMTP server ...
-1
votes
1
answer
499
views
Woocommerce custom order status with customized email notification
I am using some custom order statuses that I have successfully added to WooCommerce. I have been able to customize the emails to be sent to the customer when certain types of products are ordered. ...
1
vote
1
answer
211
views
How to send all Woocommerce emails to an additional email address?
I am looking to send all emails to another email in order to parse them (using Sendgrid inbound parse).
This is what I currently have:
function custom_add_email_address_to_emails( $headers, $object ) {...
1
vote
2
answers
666
views
Woocommerce - Change order status automatically and send email to a selected address
I'm customizing woocommerce to create a food reservation system. I've successfully removed all unnecessary checkout fields and I've disabled the payments gateway because I just need to register the ...
1
vote
1
answer
90
views
WooCommerce add custom email content based on payment method, shipping method and shipping country
I would like to have a custom text e-mail sent to the customer according to the shipping they choose. we use shipping zones.
Estonia - "Local pickup" - "custom_text_1" on order ...
1
vote
1
answer
226
views
Add product short description after product title in WooCommerce order completed notification
I would like to add product short description after product title in woocommerce order completed email. What would be the correct snippet?
I tryid snippet here WooCommerce - Add product Short ...
2
votes
1
answer
479
views
Send daily email of Azure DevOps work items updated in the last 24 hours (Bulk)
I'd like to create a daily notification email, consisting of all of the work items which have received either a new comment in the discussion section, had their status changed, were assigned to ...
2
votes
1
answer
119
views
Display multiple grouped custom fields in WooCommerce email notifications
I have created some custom checkout fields based on whether a customer buys 1 or 2 items. The fields are called: 'Voorletters', 'Roepnaam', 'Achternaam' and 'Geboortedatum'.
The code works since the ...
1
vote
1
answer
279
views
Add a button to WooCommerce admin orders that send a custom email notification
I'm currently working on a project that involves implementing a notification button to alert our drivers via email when an order is ready for pickup. However, I've encountered a puzzling issue that ...
1
vote
2
answers
199
views
How to get WooCommerce order items details in custom email content?
The first part of the question is HERE.
I need to get a list of items from a suborder that have received the status 'shipped' or 'readytocollect' inside $message_body = .
To do this, I was advised to ...
2
votes
1
answer
78
views
Add selected Delivery Point from Apaczka plugin on WooCommercel email notifications
On our WooCommerce shop pewne.eu, to cover shipments, we are using Apaczka plugin that handle different shipping methods available for our customers - parcel machines included - using Apaczka provider'...
1
vote
1
answer
113
views
Send email notification on custom order statuses only for Woocommerce sub orders [closed]
I'm using the code below, to add a custom order satus "readytocollect" and "shipped". When the order status changes, an email is sent to the buyer notifying that his order is being ...
0
votes
1
answer
82
views
Define item thumbnail background color as white in WooCommerce email notifications
I would like to change the background color of the product thumbnails that the customer receives via WooCommerce email.
Is it possible to add a css to do this without modifying the original PNGs of ...
1
vote
1
answer
253
views
Display Product GTIN in Woocommerce Email Order
I just installed this plugin WooCommerce UPC, EAN, and ISBN and activate it to have the GTIN field on my single product page.
Everything is working fine, I have the field with the displayed value ...
1
vote
1
answer
178
views
Custom code in Woocommerce causes site crash when updating order status
If I try and update an order, ie: When looking at an order in backend, Order Actions > Choose and Action > Resend order notification as an example, it gives me a critical error as below.
This ...
2
votes
1
answer
223
views
Hide shipping address in WooCommerce email notifications for local pickup delivery
Is it possible to hide the WooCommerce shipping address of clients when they choose a local pickup delivery from email notifications?
I just hide the shipping address of my checkout page when local ...
1
vote
1
answer
355
views
Display a custom text based on product category in WooCommerce cart, thankyou and emails
As the title suggests, I would like to show a custom text in WooCommerce cart, based on the product category added by the customer
Here is the code:
// Add a function to show custom text on the cart ...
-3
votes
1
answer
30
views
Do u know any good wordpress plugings for email alerts that has filters over the email types u want to recive
I m building a websit for a custommer on wordpress, and he wants a page with functions similar to this one, where you may choose categories and receive alerts based on ur choice after receiving first ...
1
vote
2
answers
205
views
Add BCC recipient to Completed Renewal Order notification in WooCommerce Subscriptions
I am trying to add a BCC recipient to a specific type of mail sent by WooCommerce. This concerns the customers that receive a renewal mail. The type of the mail is 'Completed Renewal Order'.
I am ...
1
vote
1
answer
90
views
Trigger an email notification to a specific email based off order processing and shipping method id
I am trying to send an additional email notification to one of our locations for delivery, based off the shipping method ID. I found this answer code, but I am not able to change it in the correct way,...
1
vote
1
answer
227
views
Add product name(s) in WooCommerce New Order Email notification subject
I'm looking to change the subject line for the email that goes to shop owner to have product name in.
I saw this code that puts customer first name
how can I adjust this code to have product name
/*
*...