Hi @shenkwen
WooCommerce doesn’t have a built-in feature to insert dynamic tags like {order_id} directly into the payment instruction field, but you can achieve this by using a plugin or custom code. To get started, follow these steps:
1. Install and activate a plugin called Say What?, which allows you to change text strings in your WooCommerce store without editing any code.
2. Once the plugin is installed and activated, navigate to “Tools” > “Text changes” in your WordPress dashboard.
3. Click “Add New” to create a new text change.
4. Fill in the following fields:
- Original string: Enter the default payment instruction text that you’d like to modify. For example, “Please make your check payable to XYZ and include your order number in the check’s memo.”
- Text domain: Enter “woocommerce” (without quotes).
- Replacement string: Enter the updated payment instruction text with the dynamic tag {order_id}. For example, “Please make your check payable to XYZ and include your order number {order_id} in the check’s memo.”
5. Save your changes.
By following these steps, the {order_id} tag will be replaced with the actual order number when the payment instructions are displayed to your customers during the checkout process. This will allow them to easily include their order number in the check’s memo as you’ve requested.
Remember that this solution requires a third-party plugin, and I can’t assure its functionality or compatibility with your specific setup. If you’d like a more tailored solution or run into any problems, I suggest hiring a WooCommerce Expert Developer for additional help.
Thanks!