隐藏WooCommerce电子邮件已完成订单通知中的付款说明

在我的woocommerce商店中,我已激活付款说明,并在所有电子邮件通知中显示。我有以下代码(取自另一个答案),删除了"COD"付款方式的付款说明: add_action( 'woocommerce_email_before_order_table',... 阅读全文

php wordpress woocommerce email-notifications payment-method

如何在Woocommerce电子邮件模板中避免风格注射

模板中有一些HTML元素,例如,41 table#template_container上的templates/emails/email-header.php,没有内联样式: <table border="0" cellpadding="0" cellsp... 阅读全文

php wordpress templates woocommerce email-notifications

如何在自定义电子邮件内容中获取WooCommerce订单项目详细信息

问题的第一部分是这里。 我需要从$ message_body =内部收到状态“已发货”或“ readyTocollect”的子订单中获取一个项目列表。 为此,建议我在foreach循环中使用$order-> get_items(),如这里所述。 问题是:... 阅读全文

php woocommerce orders status email-notifications