bernhardweiler
Forum Replies Created
-
We’re using caldera forms at a lot of websites, but the missing wpml support makes it harder to work with on multilingual websites. A better compatibility between this great plugins would be awesome and a huge timesaver. +1 for caldera forms to contact the compatibility team 😉
Forum: Plugins
In reply to: [WooCommerce] Order Email Send on PayPal Cancellation@felixhelix an @jessepearson I’ve had the same problem at a woocommerce shop which uses paypal-plus and the germanized plugin.
This is the solution I’ve found after digging a bit deeper into it.// Reactivated E-Mail notifications for cancelled pending orders - customer wants it! // Removed by woo in this commit as bugfix: https://github.com/woocommerce/woocommerce/pull/15170/files function cancelled_send_an_email_notification( $order_id, $order ){ // Getting all WC_emails objects $email_notifications = WC()->mailer()->get_emails(); // Sending the email $email_notifications['WC_Email_Cancelled_Order']->trigger( $order_id ); } add_action('woocommerce_order_status_pending_to_cancelled', 'cancelled_send_an_email_notification', 10, 2 );It seems that at some point this specific mail trigger for the cancelled orders was removed,
so that it only sends emails if the order was in “processing” state before cancellation.
In the comment there is a link to the commit in the woocommerce repo where this trigger for “pending” orders was removed.Best regards,
Bernhard