- סטטוס
- נפתר
- דווח עבור
- WPML Multilingual & Multicurrency for WooCommerce 5.3.2
- נפתר בגרסה
- WCML 5.3.3
- תוסף/ערכת עיצוב קשורים
- WooCommerce Bookings
- תגיות נושא
- Compatibility, WCML
סקירה כללית של התקלה
בעת שימוש ב־WooCommerce Bookings עם WPML, נוצרת בעיית סנכרון אם אישור הזמנה מתבצע בשפה שונה משפת ההזמנה. בעיה זו גורמת לאי־התאמות בסטטוסי הזמנות בין שפות שונות.
פתרון עוקף
אנא ודא שיש ברשותך גיבוי מלא של האתר לפני שתמשיך.
- פתח את …/wp-content/plugins/woocommerce-multilingual/compatibility/WcBookings/class-wcml-bookings.php.
- חפש את שורה 1011.
- שנה את:
public function get_translated_bookings( $booking_id, $actual_translations_only = true ) { - לכך:
public function get_translated_bookings( $booking_id, $actual_translations_only = false ) {