Pular a navegação

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

Deixar uma Resposta

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

Você pode usar estas tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>