跳过导航

Open

Reported for: WooCommerce Multilingual & Multicurrency 5.3.5

Topic Tags: Compatibility

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 );
    

留下回复

紧扣主题并尊重他人。如果您需要帮助解决与本帖无关的问题,请使用我们的 Support Forum 开始聊天或提交票据。

您可以使用这些标签:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>