| 开发者 | etbsjp |
|---|---|
| 更新时间 | 2026年10月4日 06:39 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
ormm_tags filter.{customer_name} - billing name{order_number} - order number{order_date} - order date{order_total} - order total, with the currency symbol{payment_method} - payment method{shipping_method} - shipping method{site_name} - site name/wp-content/plugins/, or install it from the Plugins screen in WordPress.Under WooCommerce in the admin menu. Each template has a title and a body. The "Order" field sets the display order.
On the order edit screen, above the "Add note" field. If no template is registered, nothing is shown there.
Yes. WooCommerce emails every "Note to customer" as it is. Check the inserted text before you click "Add note".
No. The body is saved as plain text, and HTML tags are removed when you save.
Use the ormm_tags filter. The keys include the curly braces.
add_filter( 'ormm_tags', function ( $tags, $order ) { $tags['{tracking_number}'] = (string) $order->get_meta( '_tracking_number' ); return $tags; }, 10, 2 );
No. Your templates are kept in the database when you delete the plugin, so they are still there if you install it again.
The two plugins cannot be active at the same time. Deactivate "ETBS OrderMemo" first, then activate this plugin. Your templates are shared, so they carry over as they are. Only deactivate the old plugin. If you want to delete it, first update it to version 1.0.3 or later. Earlier versions delete all of your templates when the plugin is deleted.