Problem: The client was experiencing an issue where translated products were not displaying in their respective categories on a multilingual WordPress site using WPML. Only one non-translated product was visible in the translated category pages.
Solution: We advised the client to ensure that the WordPress memory limit was sufficient and provided instructions to increase it if necessary. We also recommended updating all outdated plugins and ensuring that the WPML settings were correctly configured for 'Product categories' to be 'Translatable - only show translated items'. The client was instructed to translate all untranslated product categories and synchronize the product categories assignment in content. After these adjustments, the client needed to flush the cache and verify if the issue was resolved.
If you're experiencing a similar issue, we recommend checking your WPML settings and ensuring that your site meets the minimum requirements for memory and plugin versions. For detailed guidance, please refer to the WPML documentation on providing debug information and minimum requirements.
Please note that this solution might be outdated or not applicable to your specific case. If the problem persists, 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 necessary, do not hesitate to open a new support ticket at WPML support forum for further assistance.
Problem: If you're experiencing a 404 error when changing the site language and adding a product to the cart, and your WooCommerce order confirmation emails are always sent in Spanish regardless of the purchase language, we can help. Solution: First, ensure your WordPress memory limit is at least 128MB. You can do this by adding the following code to your wp-config.php file:
Place it above the line /* That's all, stop editing! Happy blogging. */. Next, update your WPML plugins from your WordPress admin panel. If the issue persists, try the following steps: 1. Go to WPML -> Languages -> Language URL format and activate the 'Language name added as a parameter' option. Save the changes and then save the permalinks. 2. Deactivate all plugins except for Elementor, WooCommerce, WCML, and WPML. 3. Reactivate the plugins one by one to identify which one causes the issue to reappear. 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 needed, please open a new support ticket at WPML support forum for further assistance.
Problem: The client is using WPML with WooCommerce and encountered two issues: 1) A product created in Portuguese shows available stock, but its Spanish translation appears as 'out of stock'. 2) On translated product pages, the header menu appears underneath the product images, indicating a z-index issue. Solution: For the stock issue, we recommended the client to follow the troubleshooting steps for stock synchronization in WooCommerce under WooCommerce Multilingual & Multicurrency → Status → Troubleshooting. This guide can be found here: https://wpml.org/documentation/support/wpml-troubleshooting-options/#troubleshooting-woocommerce-multilingual-and-multicurrency. For the z-index issue, we requested a video to better understand the problem and asked for access credentials to further investigate the issue. We also advised the client to ensure all plugins and themes are updated and to create a full site backup before making changes.
If this solution does not resolve your issues 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 problems persist, please open a new support ticket at WPML support forum.
Problem: You have set up a WooCommerce store in two languages using WPML and noticed that while Arabic products are visible on the website, they are not showing in the WooCommerce Mobile App. Solution: We have identified that products and categories in secondary languages are not visible on the WooCommerce Mobile App. This behavior is expected as product translation is only available and visible within the WordPress dashboard. Unfortunately, this issue cannot be resolved from our side. However, you can still view translated products by accessing the WordPress admin through the mobile app. For more details, please refer to our erratum: https://wpml.org/errata/woocommerce-mobile-app-translated-products-and-categories-not-displayed/
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 at WPML support forum.
Problem: The client is experiencing an issue where the inventory quantity on the English version of a WooCommerce site is not synchronized with the Greek version. All Greek products incorrectly show only 1 item in inventory, despite attempts to synchronize product taxonomies. Solution: 1. Navigate to WPML -> Settings -> Custom fields and click on Show System Fields. Search for 'stock' to check if it is set as 'copy'. 2. Go to WooCommerce -> WooCommerce Multilingual and click on the Status tab. At the bottom of the page, click on the 'troubleshooting' link and run through the options on this page. Ensure you have a full backup of your site before proceeding. 3. Update your WPML plugin and add-ons to the latest version, 4.8, to ensure you have the latest bug fixes and improvements. You can find the latest versions under My Account -> Downloads. Remember to backup your database before updating. 4. After updating, check if the inventory issue persists. If it does, try disabling all plugins except WPML, WooCommerce Multilingual & Multicurrency, and WooCommerce to see if the problem still occurs.
If these steps do not resolve your 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.
Problem: You are managing product gallery translations in your WooCommerce store using WPML. In the original language (FR), products have a complete gallery. However, in the back-end product editor of the translated product, the product gallery field is empty and not dynamic, despite having enabled 'Duplicate featured image from original' and 'Duplicate image galleries from original'. Solution: If you're experiencing this issue, we recommend you try the following steps: 1. Navigate to WPML → Settings → Custom Fields Translation. 2. Activate the option "Show 'Multilingual Content Setup' meta box on post edit screen." and save your changes. 3. Edit the product in the original language, scroll to the bottom, and click on "Show system fields". 4. Set
_product_image_gallery
to Copy and save your changes. 5. Make a minor change to the original product, update it, and then complete the translation.
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: In WooCommerce, when admins process orders with their profile language set to English, it causes the product to switch to the English version, affecting product IDs and language in PDF orders. Solution: We recommend updating to the latest versions of WPML, String Translation, and WCML, which include fixes for this issue. Before updating, please ensure to take a full backup of your website and database. It is also advised to perform this update on a staging or development site first to avoid any disruptions to your live website.
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.
Проблема: 1. Клиент спрашивал, будет ли опция autoload включаться автоматически при запуске массового перевода в WPML. 2. Клиенту нужно было вернуть значение autoload для wp_installer_settings на 'auto', после того как инструменты оптимизации изменили его на 'no'. Решение: 1. По первому вопросу, мы проверили код плагина и подтвердили, что опция autoload не будет включаться автоматически. Это указано в файле
с параметром 'no'. 2. Для второго вопроса, возврат значения autoload на 'auto' можно выполнить двумя способами: - Через PhpMyAdmin: * Откройте PhpMyAdmin. * Перейдите в базу данных вашего сайта. * Найдите опцию wp_installer_settings в таблице wp_options. * Измените параметр autoload на 'auto'. - Через SQL-запрос: * Выполните следующий SQL-запрос:
UPDATE wp_options SET autoload = 'auto' WHERE option_name = 'wp_installer_settings';
* Если используется нестандартный префикс таблиц, замените его на ваш. * Если 'auto' не принимает, установите 'yes'. Перед выполнением запроса обязательно сделайте бэкап базы данных.
Если данное решение не актуально или не подходит под ваш случай, рекомендуем открыть новый тикет поддержки. Также рекомендуем проверить известные проблемы, убедиться в версии исправления и подтвердить, что у вас установлены последние версии тем и плагинов.
Problem: Sie verwenden WooCommerce Multilingual & Multicurrency und möchten, dass alle USD-Brutto-Preise auf glatte Beträge mit einer 9 am Ende gerundet werden. Trotz der Einstellungen in den Währungsoptionen werden die Preise im Frontend nicht wie gewünscht gerundet. Solution: Wenn Sie benutzerdefinierte Shortcodes verwenden, wie z.B. [show_price id="3303"], müssen Sie sicherstellen, dass diese mit WPML und WCML kompatibel sind. Hier ist ein Beispiel, wie Sie einen Shortcode anpassen können, um die korrekte Preisumrechnung und -formatierung zu gewährleisten:
add_shortcode('show_price', function($atts) {
$atts = shortcode_atts([
'id' => 0,
], $atts);
$product_id = (int) $atts['id'];
if (!$product_id) return '';
// Get translated product ID if WPML is active
if (class_exists('sitepress')) {
$product_id = apply_filters('wpml_object_id', $product_id, 'product', false, apply_filters('wpml_current_language', null));
}
$product = wc_get_product($product_id);
if (!$product) return '';
// Get price in current WCML currency
if (function_exists('wcml_get_price_in_currency')) {
$price = wcml_get_price_in_currency($product->get_price(), wcml_get_woocommerce_currency());
} else {
$price = $product->get_price();
}
// Format price using WooCommerce formatting
return wc_price($price);
});
Bitte beachten Sie, dass diese Lösung möglicherweise veraltet oder nicht auf Ihren Fall zutreffend ist. Wir empfehlen Ihnen, die bekannten Probleme zu überprüfen, die Version der dauerhaften Lösung zu bestätigen und sicherzustellen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Wenn das Problem weiterhin besteht, eröffnen Sie bitte ein neues Support-Ticket.
Problem: Вы не можете перевести страницы кассы и корзины в WooCommerce с помощью WPML, в то время как Loco Translate справляется с этим. Solution: Если вы столкнулись с этой проблемой, мы рекомендуем использовать шорткоды WooCommerce вместо блоков для страниц Корзины и Оформления заказа: 1. Отредактируйте страницы Корзины и Оформления заказа в WordPress. 2. Замените блоки WooCommerce следующими шорткодами: - Страница корзины:
Если данное решение не актуально или не помогло, мы настоятельно рекомендуем проверить известные проблемы, убедиться в актуальности версии исправления и подтвердить, что у вас установлены последние версии тем и плагинов. В случае дальнейших вопросов, пожалуйста, откройте новый тикет поддержки.