Problem: The client reported an issue where the checkout page on their WordPress site using the Woodmart theme was initially displaying in the correct language (Bulgarian or English) but then switched to another version of English after 1-2 seconds. Solution: We investigated the issue and found that it might have been related to caching or object caching. No major changes were made on our side, but the problem resolved itself, indicating that it could have been a temporary caching issue. If you're experiencing this, we recommend clearing your site's cache and checking if the issue persists. Additionally, ensure that your caching settings are correctly configured to work with WPML.
Please note that this solution might be outdated or not applicable to your specific case. If the problem continues, 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 needed, do not hesitate to open a new support ticket for further assistance at WPML support forum.
בעיה: לאחר עדכון פלאגינים, הוריאציות של מוצרים אינן מופיעות במוצרים ששוכפלו לשפה אחרת. פתרון: אם אתם חווים בעיה דומה שבה הוריאציות של מוצרים אינן מופיעות במוצרים משוכפלים לאחר עדכון, ייתכן שהבעיה קשורה להגדרות הזיכרון של האתר. אנו ממליצים לבדוק את הגדרת WP Memory Limit בקובץ wp-config.php שלכם. הנה השורות שצריך להוסיף:
אם הפתרון הזה אינו רלוונטי לבעיה שלכם, מכיוון שהוא עשוי להיות מיושן או לא מתאים למקרה שלכם, אנו ממליצים לפתוח כרטיס תמיכה חדש. כמו כן, מומלץ לבדוק את הבעיות הידועות בדף הבעיות הידועות שלנו ולוודא שהתקנתם את הגרסאות העדכניות ביותר של התמות והפלאגינים.
Problem: The client needed to update the URL base for Category links in the header from 'products' to 'product-category' and was unsure where to find the header definition in their layout. Solution: 1. We recommended updating the product's slug in the WordPress settings by navigating to Settings -> Permalinks. 2. After updating the slug, the next step involved translating it via WPML by going to WPML -> String Translation. 3. Additionally, to address the header strings and URLs, we advised navigating to String Translation and translating the necessary header strings and URLs.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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. Additionally, please feel free to open a new support ticket for further assistance at WPML support forum.
Problem: After switching from classic translation to advanced translation in WPML, all products with variations required manual updating to display correctly. Solution: 1. Ensure you back up your site for safety. 2. Navigate to WooCommerce >> WooCommerce Multilingual >> Settings tab >> Troubleshooting link (bottom right) and select the following options: - Sync products variations - Fix translated variations relationships - Update Products Count - Sync product categories - Sync product stock quantity and status Then, click the 'Start' button. 3. If the issue persists, proceed to WPML >> Support >> Troubleshooting page and press the following buttons: - Clear the cache in WPML - Synchronize posts taxonomies - Synchronize local job ids with ATE jobs - Synchronize translators and translation managers with ATE - Assign translation status to duplicated content - Set language information 4. If none of the above steps resolve the issue, try re-saving one of the problematic products in both the default and secondary languages.
If this solution does not resolve your issue or seems outdated, we 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. Should the problem persist, please open a new support ticket at WPML support forum.
Problem:
PHP Fatal error: Uncaught TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given in ...m/wp-includes/blocks.php:1409 When enabling "Scellius for WooCommerce" plugin with PHP 8
Solution:
The error was happening due to the settings being corrupted.
To fix this, We went to the site database wp_options table and searched for the option name "woocommerce_scelliusstd_settings" and renamed it to "woocommerce_scelliusstd_settings_old", this stored the plugin settings.
Problem: If you're experiencing an issue where your shop page is displaying products from all languages, this might be due to the translation settings applied to your products. This issue typically arises when products are not set as translations of each other and the translation preference is set to 'Translatable - use translation if available or fallback to default language', which displays products in the default language if translations are not available. Solution: We recommend you follow these steps to resolve the issue: 1. Change the translation preference for the post type Products to 'Translatable - only show translated items' in the WPML > Settings > Post types translation. 2. Ensure that each product in your shop is connected as a translation to its counterparts in other languages. You can find guidance on how to link translated products here.
If this solution does not apply to your case, or if it 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. Should you need further assistance, please do not hesitate to open a new support ticket here.
Problème : Vous souhaitez savoir si vous pouvez réutiliser la même traduction pour des descriptions de produits similaires sans utiliser de nouveaux crédits et comment configurer l'outil pour qu'il détecte automatiquement les textes identiques. Solution : Utilisez l'éditeur de traduction avancé (ATE) qui intègre une mémoire de traduction. Cette mémoire enregistre les traductions complétées et publiées, permettant ainsi de réutiliser des segments de texte identiques sans consommer de nouveaux crédits. Pour optimiser l'utilisation des crédits : - Assurez-vous que les traductions sont enregistrées dans la mémoire de traduction avant d'envoyer d'autres produits similaires. - Traduisez les catégories de produits en premier pour éviter des traductions redondantes.
Si cette solution ne semble pas pertinente ou si elle est obsolète, nous vous recommandons de vérifier les problèmes connus sur https://wpml.org/known-issues/, de vérifier la version du correctif permanent et de vous assurer que vous avez installé les dernières versions des thèmes et plugins. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support sur notre forum de support.
Problem: If you're experiencing issues with the video function in your product not working, we have identified a solution. Solution: We recommend adding the following code into the
add_filter('get_post_metadata', 'wpml_compsupp7477_filter_woodmart_wc_video_gallery', 10, 4);
add_filter('woodmart_single_product_image_thumbnail_id', 'wpml_compsupp7477_translate_attachment_id', 10, 2);
function wpml_compsupp7477_filter_woodmart_wc_video_gallery($null, $object_id, $meta_key, $single) {
// Target the specific meta key
if ($meta_key !== 'woodmart_wc_video_gallery') {
return $null;
}
// Prevent recursion by temporarily removing the filter
remove_filter('get_post_metadata', 'wpml_compsupp7477_filter_woodmart_wc_video_gallery', 10);
// Fetch the original meta value
$video_gallery = get_post_meta($object_id, $meta_key, false);
// Re-add the filter
add_filter('get_post_metadata', 'wpml_compsupp7477_filter_woodmart_wc_video_gallery', 10, 4);
// Check if we actually got an array
if (isset($video_gallery[0]) && is_array($video_gallery[0])) {
foreach ($video_gallery[0] as $key => $value) {
// Apply the WPML filter to each item (video settings array key)
$translated_key = apply_filters('wpml_object_id', $key, 'post', true);
$video_gallery[0][$translated_key] = $value;
}
}
return $video_gallery;
}
function wpml_compsupp7477_translate_attachment_id($attachment_id, $product) {
return apply_filters('wpml_object_id', $attachment_id, get_post_type($attachment_id), true);
}
Please ensure to backup your database before implementing this code.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, 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 further assistance is needed, please open a new support ticket at WPML support forum.
Problem: You are developing a site and attempting to translate it from German to English using auto-translate. However, the form fields on the WooCommerce checkout page remain in English in the frontend, despite translating the strings. Solution: We have identified this as a known issue. We recommend applying the workaround from the following errata page: https://wpml.org/errata/l10n-php-performant-default-translated-strings-not-displaying-correctly/. A permanent fix is scheduled for the next WPML version.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. 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 issue persists, please open a new support ticket at WPML support forum.
Problem: The client needed a way to ensure that European customers only see prices in Euros and UK customers only see prices in GBP, without the ability to manually change the currency. Additionally, they inquired about hiding the currency switcher on the product template. Solution: We advised setting the currency based on the client's location using WooCommerce Multilingual's Multi-Currency settings. For more details, see the documentation here: https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#currencies-per-location To prevent users from changing the currency manually, we suggested hiding the currency switcher on the frontend. This can be done from the WooCommerce Multilingual settings under the MultiCurrency tab, specifically in the Product page Currency Switcher section.
If this solution does not fully address your issue, or if it seems outdated, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum at https://wpml.org/forums/forum/english-support/.