- Status
- Resolved
- Reported for
- WPML Multilingual & Multicurrency for WooCommerce 5.3.2
- Resolved in
- WCML 5.3.3
- Related plugin/theme
- WooCommerce Bookings
- Topic tags
- Compatibility, WCML
Overview of the issue
When using WooCommerce Bookings with WPML, a synchronization issue arises if a booking confirmation is done in a different language than the order language. This issue causes discrepancies in booking statuses across different languages.
Workaround
Please, make sure of having a full backup of your site before proceeding.
- Open …/wp-content/plugins/woocommerce-multilingual/compatibility/WcBookings/class-wcml-bookings.php.
- Look for line 1011.
- Change:
public function get_translated_bookings( $booking_id, $actual_translations_only = true ) { - For:
public function get_translated_bookings( $booking_id, $actual_translations_only = false ) {