ليس لدى هذا المستخدم أي مواضيع مفضلة.
مواضيع المنتدى المفضلة
مواضيع المنتدى التي تم إنشاؤها
| الحالة |
الموضوع
|
داعم | الأصوات | المشاركات | الحداثة |
|---|---|---|---|---|---|
|
I get wrong variant_id from order json (APIRest)
1
2
بدأه: javierR-7
في: English Support
Problem: prepare method in the file: wp-content/plugins/woocommerce-multilingual/classes/Rest/Wrapper/Orders/Languages.php. Replace the existing method with the following code: public function prepare( $response, $object, $request ) {
$language = get_query_var( 'lang' ) ?: $request->get_param( 'lang' );
$orderLanguage = \WCML_Orders::getLanguage( $this->get_id( $object ) );
if ( $orderLanguage !== $language ) {
$lineItems = Obj::propOr( [], 'line_items', $response->data );
foreach ( $lineItems as $k => $item ) {
$translatedProductId = wpml_object_id_filter( $item['product_id'], 'product', false, $language );
$translatedVariationId = ( $item['variation_id'] == 0 ) ? 0 : wpml_object_id_filter( $item['variation_id'], 'product_variation', false, $language );
if ( $translatedProductId ) {
$response->data['line_items'][ $k ]['product_id'] = $translatedProductId;
$translatedProduct = get_post( $translatedProductId );
$postName = $translatedProduct->post_title;
if ( $translatedVariationId ) {
$response->data['line_items'][ $k ]['variation_id'] = $translatedVariationId;
$translatedVariation = get_post( $translatedVariationId );
$postName = $translatedVariation->post_title;
}
$response->data['line_items'][ $k ]['name'] = $postName;
}
}
}
return $response;
}This workaround ensures that the API response reflects the default language, not the language in which the order was made. If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum. |
|
0 | 23 | قبل 3 أشهر، 3 أسابيع | |
|
Las variantes de productos entre idiomas no coinciden
1
2
3
بدأه: javierR-7 في: Soporte en español |
|
0 | 42 | قبل 5 أشهر، 1 أسبوع | |
|
Con una cadena que no encuentro para traducir
بدأه: javierR-7
في: Soporte en español
Problem: Si esta solución no es relevante porque podría estar desactualizada o no aplicar a tu caso, te sugerimos abrir un nuevo ticket de soporte. También te recomendamos revisar los problemas conocidos y verificar que tienes instaladas las últimas versiones de los temas y plugins. Para más asistencia, visita nuestro foro de soporte. |
|
0 | 4 | قبل 8 أشهر، 3 أسابيع | |
|
Tengo varias partes de la página que no consigo traducir.
بدأه: javierR-7 في: Chat Support |
|
1 | 2 | قبل 9 أشهر، 1 أسبوع | |
|
Cadena de texto traducida, pero en la web sigue sin aparecer traducida.
بدأه: javierR-7 في: Chat Support |
|
0 | 2 | قبل 9 أشهر، 1 أسبوع | |
|
Object Cache Pro
بدأه: javierR-7 في: Chat Support |
|
1 | 2 |
قبل 1 سنة، 4 أشهر
|
|
|
WPML chat support ticket by javierR-7 – 1718008726
بدأه: javierR-7 في: Chat Support |
|
1 | 2 |
قبل 1 سنة، 9 أشهر
|
|
|
WPML chat support ticket by javierR-7 – 1715620463
بدأه: javierR-7 في: Chat Support |
|
1 | 2 |
قبل 1 سنة، 10 أشهر
|
|
|
La web va muy lenta
بدأه: javierR-7
في: Soporte en español
Problema: Solución: Si el problema persiste, desactiva todos los plugins, incluyendo los de WPML, y activa un tema por defecto de WordPress. Luego, activa solo los plugins de WPML. Si el problema se resuelve, reactiva el tema y los demás plugins uno por uno hasta identificar cuál está causando la lentitud. Es importante destacar que si el problema ocurre en el idioma original del sitio, donde WPML no realiza cambios, es poco probable que WPML sea la causa de la lentitud. Si estos pasos no resuelven tu problema o si la información proporcionada se ha vuelto obsoleta o no se aplica a tu caso, te recomendamos abrir un nuevo ticket de soporte. Te sugerimos revisar los problemas conocidos relacionados, verificar la versión de la solución permanente y confirmar que tienes instaladas las últimas versiones de los temas y plugins. Para obtener asistencia adicional, por favor, visita nuestro foro de soporte. |
|
2 | 2 | قبل 1 سنة، 11 شهر | |
|
Traducción automática de categorías woocommerce
بدأه: javierR-7 في: Soporte en español |
|
2 | 6 | قبل سنتين | |
|
WPML chat support ticket by javierR-7 – 1709734160
بدأه: javierR-7 في: Soporte en español |
1 | 1 |
قبل سنتين
|
||
|
Error traducción Xstore. Texto oferta
بدأه: javierR-7 في: Soporte en español |
|
2 | 12 | قبل سنتين، 1 شهر | |
|
Problemas menú: No guarda items que añado
بدأه: javierR-7 في: Soporte en español |
|
2 | 3 | قبل سنتين، شهرين | |
|
WPML chat support ticket by javierR-7 – 1705917121
بدأه: javierR-7 في: Chat Support |
|
1 | 2 |
قبل سنتين، شهرين
|
|
|
Traducción ACF en categorías de productos
1
2
بدأه: javierR-7 في: Soporte en español |
|
3 | 20 | قبل سنتين، شهرين |