Problema: Estás intentando traducir variaciones de productos de WooCommerce usando el editor viejo en WPML y te encuentras con que los atributos siguen bloqueados a pesar de haber desbloqueado ciertos atributos específicos. Solución: 1. Los atributos de productos no se pueden traducir manualmente usando el editor de WordPress. Para traducir los atributos, sigue los pasos en esta guía: Documentación de traducción de taxonomías. 2. Incrementa el límite de memoria de WordPress a un mínimo de 128Mb para mejorar el rendimiento. Puedes hacerlo añadiendo el siguiente código en tu archivo wp-config.php:
Asegúrate de añadirlo encima de la línea /* That's all, stop editing! Happy blogging. */. 3. Si los atributos fueron creados directamente en la pantalla de edición del producto, estos no serán globales y solo aplicables al producto específico. Para que sean globales y traducibles, debes crearlos en Productos -> Atributos.
Si esta solución no resuelve tu problema o si la información proporcionada se ha vuelto obsoleta, te recomendamos abrir un nuevo ticket de soporte. También te sugerimos revisar los problemas conocidos y confirmar que tienes instaladas las últimas versiones de los temas y plugins. Para más asistencia, visita nuestro foro de soporte.
Problem: The client's website, which is multilingual, encountered an issue where product URLs in the French version were incorrect, leading to 404 errors. Solution: First, we suggested that the client tests the issue on a staging site using the default WordPress theme and only WPML and WooCommerce plugins enabled, ensuring all other plugins were disabled. This step was to isolate the problem and confirm it was not caused by a theme or another plugin. Upon further investigation, we discovered that the translation of the custom product base in French was incorrect. We corrected the base to match the other languages, which resolved the issue and the URLs began working correctly.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your 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.
Problem: The client was unable to translate product attributes using WPML as the save icon kept loading indefinitely. Additionally, they needed guidance on translating WooCommerce emails and had issues with the contact forms.
Solution: For the attribute translation issue, we recommended checking the browser console for errors and disabling all plugins except WooCommerce, Elementor, WPML, and its addons to identify any conflicts. If the problem persisted, we suggested switching to a default theme like Twenty Twenty-One and reactivating plugins one by one to pinpoint the issue.
To resolve the attribute loading issue, we set the translation preference for product attributes to "Translatable" in WPML > Settings > Taxonomies Translation, corrected the translation preference for the "product_type" taxonomy in WooCommerce > WooCommerce Multilingual > Troubleshooting, and refreshed each attribute in Products > Attributes.
For translating WooCommerce emails, we advised checking the email templates and filling out the necessary fields, then following the guide on how to translate WooCommerce emails.
If these solutions do not resolve your issues or if they seem 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.
Problem: The client is experiencing issues with the currency switcher on their website. The currency switcher does not work on the homepage and behaves unpredictably when changing languages or navigating different pages like cart, checkout, about, and home, especially when a performance plugin with cache is enabled. Solution: 1. Verify that the website is accessible and loading correctly. If not, check with the hosting provider. 2. Flush the cache memory and temporarily deactivate the cache plugin to see if the issue with the currency switcher persists. 3. Ensure that the WordPress memory limit is sufficient. It is recommended to set it to at least 128M. This can be done by adding the following line to the wp-config.php file:
Place it above the line /* That's all, stop editing! Happy blogging. */. 4. If the issue disappears when the Breeze cache plugin is disabled, consider switching to a cache plugin that is compatible with WPML, such as LiteSpeed Cache.
If these steps do not resolve the issue or if the solution 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 the problem persists, please open a new support ticket.
Проблема: Клиент столкнулся с проблемой, что при настройке атрибутов в WooCommerce на русском языке, к названиям атрибутов добавляется слово 'Product'. Это происходит из-за особенностей работы WooCommerce, который добавляет 'Product' к множественному числу атрибутов. Решение: Мы рекомендуем делать переводы атрибутов с английского языка, чтобы они корректно отображались на сайте. Также возможно изменить вывод хлебных крошек так, чтобы значение бралось в единственном числе, что поможет избежать добавления 'Product' к атрибутам.
Если данное решение окажется неактуальным или не поможет в вашем случае, мы настоятельно рекомендуем проверить известные проблемы, убедиться в актуальности версии исправления и подтвердить, что у вас установлены последние версии тем и плагинов. Если проблема сохранится, пожалуйста, откройте новый тикет поддержки.
Problem: Клиент столкнулся с необходимостью программно создать копии товаров для другого языка, сохраняя при этом синхронизацию цен и категорий, и возможность независимого редактирования товара на новом языке. Solution: Мы рекомендуем использовать хуки WPML для создания дубликатов при создании товара на языке оригинала: wpml_make_post_duplicates и wpml_admin_make_post_duplicates. Для массового дублирования существующих товаров можно воспользоваться функцией в WPML → Translation Management, подробная инструкция доступна здесь: как дублировать страницы и посты массово. Также, Вы можете отображать на другом языке товары, которые еще не переведены, без необходимости дублирования, используя настройки по умолчанию для непереведенного контента: использование языка по умолчанию как запасного для непереведенного контента.
Если данное решение окажется неактуальным или не подойдет в вашем случае, мы настоятельно рекомендуем проверить известные проблемы, убедиться в актуальности версии исправления и подтвердить, что у вас установлены последние версии тем и плагинов. В случае дополнительных вопросов, пожалуйста, откройте новый тикет поддержки.
Проблема: Клиент столкнулся с проблемой, что при программном сохранении товара в WooCommerce цена не обновляется в другой языковой версии товара. Также возник вопрос о функции копирования мета полей в настройках WPML и о том, как программно создать копию товара для другого языка. Решение: 1. Для синхронизации цен и других параметров между языковыми версиями товара, необходимо убедиться, что настройки копирования мета полей в WPML установлены корректно. Если вы выберете опцию 'Copy' для мета полей, то при каждом сохранении товара эти поля будут автоматически обновляться. 2. Если поля не синхронизируются должным образом, вам нужно будет перейти в перевод и завершить его.
Если данное решение оказалось неактуальным или не решает вашу проблему, рекомендуем открыть новый тикет поддержки. Также настоятельно рекомендуем проверить известные проблемы, верифицировать версию постоянного исправления и подтвердить, что у вас установлены последние версии тем и плагинов.