Open
Reported for: WooCommerce Multilingual & Multicurrency 5.3.5
Overview of the issue
When using WooCommerce Bookings and its Check this box if the booking requires admin approval/confirmation. Payment will not be taken during checkout option, a single booking can trigger several order confirmation emails for each active language on the site.
Workaround
Please, make sure of having a full backup of your site before proceeding.
- Open …/wp-content/plugins/woocommerce-multilingual/compatibility/WcBookings/Emails.php file.
- Look for line 63.
- Just below, add this code:
add_action( 'woocommerce_booking_pending-confirmation', $this->handle( [ WC_Email_Booking_Pending_Confirmation::class, ] ), self::PRIORITY_BEFORE_EMAIL_TRIGGER );