问题标签 [email-notifications]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - 根据项目自定义字段最高值在电子邮件上显示自定义通知
在 WooCommerce 上,我days_manufacture
为每个具有不同(整数)值的产品都有一个自定义字段。
我也有这段代码在购物车页面上显示一条消息,其中“制造天数”的值最高:
现在我想在电子邮件中显示此消息。
我怎样才能做到这一点?
谢谢
google-apps-script - 谷歌脚本编辑器:当单元格范围满足条件时发送电子邮件通知(当任何 A 列单元格达到 0 时)
我正在尝试在 Google 表格中创建一个通知脚本,当某个单元格范围内的值发生变化并满足条件时(即,当范围内的任何单元格变为 0 时)我希望它向我发送通知已与该行的内容一起更新为 0。如何在 Google 表格中执行此操作?
php - 当用户使用 Woocommerce Booking 进行预订时如何发送电子邮件
当用户在WooCommerce Bookings进行预订时, 我想通过电子邮件通知用户和管理员。现在它只向管理员发送邮件以确认预订。
谁能给我正确的方向,如何实现这一目标。谢谢。
php - Custom message on completed order status email notification only for customer user role
I would like to improve this code from this answer, to display a message on completed order status emails only for customers, but not for other user roles (as subscribers, etc...).
Here is that code:
How can I achieve it?
Thanks
php - 仅在某些电子邮件通知上显示自定义通知
我在 WooCommerce 上days_manufacture
为每个具有不同(整数)值的产品使用自定义字段。
我还使用此代码在电子邮件通知中显示“制造天数”值最高的消息:
此代码效果很好,但现在,我只想在电子邮件“新订单”、“订单处理”、“订单保留”和“订单失败”中显示此消息。
我怎样才能做到这一点?
谢谢
php - 根据产品属性添加自定义 woocommerce 电子邮件
我试图调整https://www.skyverge.com/blog/how-to-add-a-custom-woocommerce-email/上的自定义电子邮件插件
我的意图是,如果客户选择具有特定属性的产品(它是可变产品),则在客户下新订单时会发送一封自定义电子邮件(必须发送待处理或处理中的订单)。
我的属性 slug 是“csr-dates”。自定义插件由两个文件组成(参见上面的链接):woocommerce-csr-order-email.php 和(存储在“includes”文件夹中)class-wc-csr-order-email.php
我想问题出在类文件中,我在这里报告:
我想我为获取属性(步骤 1-2)和/或发送电子邮件的条件(步骤 3)而编写的代码中有问题。
有人可以帮我解决这个问题吗?谢谢
php - WooCommerce - 使用“save_post”挂钩更新订单时发送通知电子邮件
shop_order
当创建帖子类型的新订单时,WooCommerce 会创建一个新帖子。所以我想使用 wordpresssave_post
动作钩子发送订单的通知电子邮件。
我写了下面的代码:
但它不起作用。
如果我在下面使用而不检查帖子类型,它会起作用:
我不明白有什么问题。我需要使用函数参数$post
并$post_id
获取帖子链接。
有什么帮助吗?
谢谢