Problem: You are trying to ensure that product images are consistent across all language versions of your site, but the images have disappeared in the Russian version. Solution: First, we recommend checking if the WooCommerce Multilingual & Multicurrency plugin is installed, as it is essential for the correct functioning of a multilingual store. You can learn more about this plugin here: https://wpml.org/documentation/related-projects/woocommerce-multilingual/ Additionally, try enabling the Media Translation option by navigating to WPML → Settings and clicking the Start button in the Media Translation section. Before proceeding, ensure to back up your database.
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. If the problem persists, please open a new support ticket at WPML support forum.
You are trying to make the product ranking on the English page consistent with the product ranking on the Chinese page. The sorting is consistent on the homepage but varies when selecting a category to view products.
Solution:
To achieve consistent product order across languages, we recommend defining a secondary sorting condition. If sorting by SKU is your preferred method, you can add a custom code snippet to your theme's
functions.php
file. Here is the code you need:
function custom_modify_shop_query($query) {
// Only modify the shop order if an order has not been specified
//if ( !isset($_GET['orderby']) && !is_admin() && $query->is_main_query() && is_shop()) {
if (
!is_admin() &&
$query->is_main_query() &&
(is_shop() || is_product_category() || is_product_tag())
) {
// Set meta_key so SKU ordering works
$query->set('meta_key', '_sku');
// Set orderby to array: first by date, then by SKU
$query->set('orderby', array(
'date' => 'DESC',
'meta_value' => 'ASC',
));
}
}
This code ensures that products are first sorted by date and then by SKU, applying across shop, category, and tag pages. Please check your staging site to confirm the sorting behaves as expected.
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 further assistance is needed, please open a new support ticket at WPML support forum.
Проблема: Вы столкнулись с критической ошибкой при попытке перевода на вашем сайте. Ошибка: Uncaught Error: Call to a member function get_source_language_code() on bool. Решение: Мы рекомендуем проверить, что у вас установлена последняя версия плагина WPML. Также убедитесь, что мастер настройки WooCommerce Multilingual был полностью завершён для корректной работы плагина. Подробнее о данной ошибке и её решении можно прочитать здесь: https://wpml.org/errata/woocommerce-multilingual-fatal-error-uncaught-error-call-to-a-member-function-get_source_language_code-on-bool/
Если данное решение не помогло или оно кажется неактуальным, мы настоятельно рекомендуем проверить известные проблемы, подтвердить версию исправления и убедиться, что у вас установлены последние версии тем и плагинов. Если проблема сохраняется, пожалуйста, откройте новый тикет поддержки.
Problem: The client noticed that the categories are scattered and not in chronological order in the English language. Solution: If you're experiencing scattered categories in a non-chronological order, we recommend you try synchronizing your categories. Here are the steps: 1. Go to WPML → Taxonomy Translation 2. Select the categories 3. And Sync
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: You are experiencing a 404 error when switching from Lithuanian to English on your website, specifically on translated products. Solution: If you are using an Apache server, we recommend trying the following workaround: First, ensure that you back up your database. Then, implement the changes suggested in the WPML documentation on handling .htaccess issues when WPML overwrites it with the language folder. You can find detailed instructions here: WPML .htaccess overwrite issue.
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. If the issue persists, please open a new support ticket with us for further assistance at WPML support forum.
Problem: You are trying to make products visible on the frontsite after selecting a language using WPML. Products are visible in the original language but only on the backsite, not on the frontsite, after WPML language selection. Solution: We recommend checking the translation of the product category base. The issue might be due to the original product URL containing '/product-category/', while the translated versions use '/product-categorie/', which could be incorrect or inconsistent. Please go to WPML → String Translation and consider deleting the translation for 'product-category'. Ensure you back up your database before making any changes.
If this solution does not resolve your issue or seems irrelevant due to being 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 problem persists, please open a new support ticket at WPML support forum for further assistance.
Problem: Sie arbeiten an einer Website in Entwicklung und verwenden WPML WooCommerce Multilingual & Multicurrency zusammen mit WP Rocket. Sie haben festgestellt, dass WPML WooCommerce Multilingual & Multicurrency für jede Seite eine eigene Cache-Version für jede Währung erstellt, was zu vielen unnötigen Cache misses führt. Sie möchten dieses Verhalten deaktivieren. Solution: Das von Ihnen beschriebene Verhalten, nur eine „Unique Version“ für alle Währungen zu verwenden, entspricht nicht der erwarteten Funktionsweise von WPML WooCommerce Multilingual & Multicurrency. Eine mögliche Lösung wäre, die WCML-Integration in WP Rocket testweise auszukommentieren. Sie können die Datei woocommerce-multilingual.php auf GitHub finden. Bitte führen Sie diesen Test ausschließlich auf einer separaten Staging-Umgebung durch und beachten Sie, dass dies auf eigenes Risiko geschieht.
Falls diese Lösung veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu öffnen. Wir empfehlen auch, die Seite mit bekannten Problemen zu überprüfen, die Version der dauerhaften Lösung zu verifizieren und zu bestätigen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Für weitere Unterstützung besuchen Sie bitte unser Support-Forum.
Problem: The client reported that the review count displayed beside the rating mark on product pages is incorrect across different languages. Specifically, although there are two customer reviews, only one is shown. Solution: We explained that by default, reviews are displayed and counted separately for the original product and its translations. To address this, we recommended the following steps: 1. Navigate to WooCommerce > WooCommerce Multilingual & Multicurrency > Settings > Product reviews. 2. Enable the option "By default, show reviews in all languages". This setting should synchronize the review counts across all languages for the products.
Further, there was no issue with the review count display on single product pages, but it was not replicable when creating and translating new products. Adding new reviews to existing products solved this issue.
If this solution does not resolve the issue or seems outdated, or if it does not apply to your specific case, we highly recommend checking the related 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.