Disable emails
-
Hi,
According to this page from JigoShop:
https://www.jigoshop.com/documentation/disable-automatic-emails-order-status-updates/It says I can disable certain emails by adding lines to the functions.php file in my theme.
I tried with the following lines:
remove_action(‘order_status_pending_to_processing’, ‘jigoshop_new_order_notification’);
remove_action(‘order_status_pending_to_completed’, ‘jigoshop_new_order_notification’);
remove_action(‘order_status_pending_to_on-hold’, ‘jigoshop_new_order_notification’);
remove_action(‘order_status_pending_to_processing’, ‘jigoshop_processing_order_customer_notification’);
remove_action(‘order_status_pending_to_on-hold’, ‘jigoshop_processing_order_customer_notification’);
remove_action(‘order_status_waiting-for-payment_to_processing’, ‘jigoshop_new_order_notification’);
remove_action(‘order_status_waiting-for-payment_to_processing’, ‘jigoshop_processing_order_customer_notification’);
remove_action(‘order_status_completed’, ‘jigoshop_completed_order_customer_notification’);This does not work for me, as I still get all the usual emails when adjusting an order. Is there some trick to this? Does it only work for new orders or something? I’m using Jigoshop v1.17.7
I want to disable emails particularly when going from waiting-for-payment to processing and the admin notification when an order goes to processing.
Thanks and regards
The topic ‘Disable emails’ is closed to new replies.