If your store has customer emails enabled in the WooCommerce settings, when Robot Ninja makes a test purchase, any emails enabled will be sent just like when a regular customer makes a purchase.
To disable these emails from sending when Robot Ninja makes a test purchase edit the
wp-config.php on your store using the following values:
Disable the Customer Processing Order Email:
define( 'RN_SEND_CUSTOMER_PROCESSING_ORDER_EMAIL', false );
Disable the Customer Completed Order Email:
define( 'RN_SEND_CUSTOMER_COMPLETED_ORDER_EMAIL', false );
Disable the Customer Refunded Order Email
define( 'RN_SEND_CUSTOMER_REFUNDED_ORDER_EMAIL', false );
Disable the Customer New Account Email
define( 'RN_SEND_CUSTOMER_NEW_ACCOUNT_EMAIL', false );
If you need assistance editing your
wp-config.php file, the Editing wp-config.php article on the WordPress Codex is a good place to find help, or if you have any other questions/issues, don't hesitate to contact us.
- How to disable admin order emails for Robot Ninja test orders?
- How to disable Print Invoices & Packing Lists emails for Robot Ninja test orders?
Are regular customer's emails still sent?Yes, of course! 😄
Setting these options in your WP config file will only disable the emails that are related to Robot Ninja tests. We make sure of this by confirming the order details belong to our test customer before stopping the delivery.
Why am I still receiving the test order emails after editing the WP config file?
Check you have the latest version of the helper plugin installed. The support for these options were added in version 1.10.0.
How can I disable other emails not listed here?
Reach out to us and we'd be happy to add the option for you to disable them.