Problem: The client is experiencing issues with their multilingual product catalog not functioning correctly after catalog synchronization. Specifically, when switching the language to French, Turkish, or Spanish, the product catalog redirects to a 'page not found' error. Solution: We recommend checking the configuration settings for each language in the WPML settings. Ensure that the URL format and language switcher options are correctly set up. It's also important to verify that all translations are published and synchronized correctly across all languages. If these settings are correct and the issue persists, we suggest clearing any cache on the website and re-saving the permalinks settings by going to Settings > Permalinks in the WordPress dashboard and simply clicking 'Save Changes'.
If this solution does not resolve the issue or seems outdated, or if it does not apply to your case, please visit our known issues page at https://wpml.org/known-issues/ to check for related issues. We also recommend confirming that you have installed the latest versions of themes and plugins. If the problem continues, do not hesitate to open a new support ticket with us for further assistance at WPML support forum.
Problem: Вы заметили, что некоторые переводы категорий на вашем сайте не совпадают со своим языком. В таблицах wp_terms и wp_icl_translations не совпадают term_id и element_id для некоторых пар переводов. Синхронизация таксономий в WCML не помогает. Solution: Мы рекомендуем перепривязать переводы вручную через интерфейс WPML: 1. Зайдите в WPML → Таксономии → Категории товаров (или нужная таксономия). 2. Для каждой проблемной категории: • Убедитесь, что у неё только один оригинал. • Удалите неверный перевод (если привязка явно не к тому оригиналу). • Создайте новый правильный перевод. Это обновит таблицы wp_terms и wp_icl_translations без риска повредить связи. Для написания запроса в MySQL для получения названий всех переводов категории по element_id оригинала, используйте следующий запрос:
SELECT t.element_id, t.language_code, tr.name FROM wp_icl_translations t JOIN wp_terms tr ON t.element_id = tr.term_id WHERE t.trid = (SELECT trid FROM wp_icl_translations WHERE element_id = YOUR_ORIGINAL_TERM_ID AND element_type = 'tax_product_cat') AND t.element_type = 'tax_product_cat';
Замените YOUR_ORIGINAL_TERM_ID на term_id оригинала категории. Для большей информации о таблицах базы данных WPML, посетите WPML’s Database Tables.
Если данное решение не актуально или не подходит вашему случаю, мы настоятельно рекомендуем проверить список известных проблем, убедиться в версии исправления и подтвердить, что у вас установлены последние версии тем и плагинов. Если проблема сохраняется, пожалуйста, откройте новый тикет поддержки.
Probleem: U probeert uw website, die met behulp van WPML naar het Duits is vertaald, te beheren omdat Duits de hoofdtaal van de website wordt. Niet alle EAN-codes zijn overgezet van de Nederlandse vertalingen naar de Duitse producten, wat betekent dat sommige Duitse producten de verwachte EAN-codes missen. Oplossing: We raden u aan de volgende stappen in WooCommerce te volgen om dit probleem op te lossen: 1. Ga naar WooCommerce → WooCommerce Multilingual & Multicurrency → Status → Probleemoplossing. 2. Voer de volgende acties uit: - Update products count - Sync products variations Deze stappen hebben het probleem opgelost voor een vergelijkbaar geval. Als deze oplossing niet relevant lijkt voor uw situatie, of als het probleem zich blijft voordoen, raden we u aan om een nieuw support ticket te openen. We raden ook aan om gerelateerde bekende problemen te controleren op https://wpml.org/known-issues/, de versie van de permanente oplossing te verifiëren en te bevestigen dat u de nieuwste versies van thema's en plugins hebt geïnstalleerd.
Als u verdere assistentie nodig heeft, kunt u contact opnemen met ons supportteam via het WPML support forum.
Problem: The client was facing an issue where the available stock was not showing in alternative languages on their product page. Solution: We recommended the following steps to resolve the issue: 1. Navigate to WPML >> Settings. 2. Scroll down to the “Custom Fields Translation” section. 3. Click on “Show system fields”. 4. Search for the “Stock” field. 5. Set the following fields to “Copy”: -
_manage_stock
-
_order_stock_reduced
-
_stock_status
6. Open the default language product in edit mode and click “Update” to apply the settings to its translations. For other existing products, simply re-save them, and the stock should sync without issues.
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. If further assistance is needed, please open a new support ticket at WPML support forum.
If this solution does not apply to your case, or if it seems outdated, please check the 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. We highly recommend opening a new support ticket if further assistance is needed. You can do so by visiting the WPML support forum.
Проблема: Фильтр по атрибутам товаров не отображается на языках, отличных от основного, несмотря на перевод и синхронизацию таксономии. Решение: Мы рекомендуем выполнить следующие шаги в WooCommerce → Статус → Инструменты: 1. В разделе Product lookup tables нажмите Regenerate, чтобы запустить процесс обновления таблиц поиска товаров. 2. В разделе Regenerate the product attributes lookup table также нажмите Regenerate, чтобы обновить таблицу атрибутов товаров. Если проблема сохраняется, пожалуйста, предоставьте скриншоты или ссылки на страницы, где проявляется данная проблема. Это поможет нам точнее диагностировать и предложить дальнейшие шаги. Не забудьте сделать резервную копию вашей базы данных перед выполнением указанных действий.
Если предложенное решение не актуально или не помогло, рекомендуем проверить известные проблемы, убедиться в актуальности версии исправления и установленных последних версиях тем и плагинов. В случае дальнейших вопросов, пожалуйста, откройте новый тикет поддержки.
Проблема: Вы пытаетесь массово обновить атрибуты товаров на языках перевода в WooCommerce, но изменения не отображаются на языках перевода, и фильтр по атрибуту не работает для всех продуктов. Решение: Мы рекомендуем запустить опцию «Synchronize attributes and update product variations» в WPML → Перевод таксономий. Это должно помочь синхронизировать данные между оригиналами и переводами.
Если данное решение окажется неактуальным или не поможет в вашем случае, мы настоятельно рекомендуем проверить известные проблемы, убедиться в актуальности версии исправления и подтвердить, что у вас установлены последние версии тем и плагинов. Если проблема сохранится, пожалуйста, откройте новый тикет поддержки.
Problem: Если вы сталкиваетесь с существенным замедлением работы вашего сайта, мы рекомендуем следующие шаги для улучшения производительности. Solution: 1. Убедитесь, что ваш сервер соответствует минимальным требованиям WPML, особенно для крупных сайтов, таких как интернет-магазины, которым требуется больше оперативной памяти и ресурсов процессора. 2. Обновите PHP до версии 8.0 или 8.1 для повышения производительности, избегая версий 8.2–8.3 из-за возможных несовместимостей. 3. Включите кэширование страниц и объектное кэширование, используя такие инструменты, как WP‑Rocket, W3TC, Wp Super Cache, а также Redis с плагином Redis Cache. 4. Настройте HTTPS напрямую через безопасную замену базы данных, используя инструменты типа Better Search Replace или wp-cli, избегая тяжелых SSL-плагинов. 5. Оптимизируйте индексы таблиц с помощью плагина Index WP MySQL For Speed. 6. Минимизируйте количество плагинов и инструментов отладки, отключив такие инструменты, как Query Monitor и Xdebug в продакшене. 7. Сожмите JS/CSS, изображения, используйте lazy loading и CDN. 8. В настройках WPML отключите опции, которые могут замедлять работу, такие как 'показывать даже без перевода' и 'Adjust IDs for multilingual functionality'. 9. В разделе WPML → Support → Troubleshooting используйте функции для очистки и оптимизации баз данных.
Если предложенные решения не помогут или кажутся неактуальными, мы настоятельно рекомендуем проверить известные проблемы, подтвердить версию исправления и убедиться, что у вас установлены последние версии тем и плагинов. В случае дальнейших вопросов, пожалуйста, откройте новый тикет поддержки.
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.