Unlike other emails, the Low Stock email in WooCommerce does not have configuration options to change the content, the subject, or the recipient.
This might be fine, but as you try to optimize your workflow and make it more efficient, you might want to have more information straight in the subject of the email to quickly know what product is low on stock without having to read the email.
Let’s find out how to do it!
Open your functions.php file in wp-content/plugins/your-child-theme-name/ and add this code at the end of the file:
In this example, I replace the word “Product” in the default subject with the actual product name. You can do more and maybe add the current stock:
You can get creative here and add as many information as you want. Remember thought that this is just the subject of the email, don’t write an essay in it!
Would you like to change also the content of your emails? Check out how to add text to the email body!
Contribute to Improving This Blog
Did you enjoy this article? Was it helpful? Contribute to help me writing more articles! The funds collected from this blog are reinvested directly into improving my skills or the blog so that I can provide more and better content!
Make a one-time donation
Make a monthly donation
Make a yearly donation
Choose an amount
Or enter a custom amount
Your contribution is appreciated.
Your contribution is appreciated.
Your contribution is appreciated.
DonateDonate monthlyDonate yearlyDo you prefer using cryptocurrency? I’ve got you covered! You can donate at the following wallets:
- BTC: bc1q87nxpdpqw323ccmerrzyeffs72wnxpw93x7pzk / 17Gtc5e8yoh2LZzokoyK8P5DWbToBwztok
- ETH: 0xA5C89Be1df2896C3942DBEf751cCeacC7929388b
Leave a Reply