Problem: The client is facing several issues with a WooCommerce website in a multilingual setup using WPML. The main problems include product categories not displaying correctly in English, a broken layout in the YITH WooCommerce Compare plugin on the English version, and untranslated strings in a 'fast order' plugin. Solution: 1. For the product categories not showing correctly, we recommend creating a separate widget for each language as described in our guide on translating widgets: Translating Widgets. 2. To fix the YITH WooCommerce Compare plugin's layout, copy the CSS from the plugin and paste it into Appearance -> Customize -> Additional CSS. 3. The untranslated strings in the 'fast order' plugin are hardcoded. Contact the plugin authors to wrap these strings in Gettext functions for WPML to translate them. Additionally, the client reported server warnings related to open_basedir restrictions. We advised checking with the hosting provider to review the open_basedir settings and ensure they are not too restrictive. Temporarily hiding these warnings from the frontend can avoid displaying them to visitors while not solving the root cause.
If these solutions do not resolve the 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 problems persist, please open a new support ticket.
Problem: The client reported an issue with the English version of the cart page showing errors and partial information, while the Spanish version worked correctly. The problem persisted even without WP Rocket's cache, indicating it wasn't a caching issue. Solution: We suggested replacing the WooCommerce block with a shortcode to resolve the JavaScript translation file issue. The steps included: 1. Editing the Cart page in WordPress admin. 2. Removing the WooCommerce block. 3. Adding a new 'Shortcode' block. 4. Inserting the shortcode
[woocommerce_cart]
into the new block. 5. Updating the page. When the client faced difficulties with removing the block, we provided alternative steps to add the shortcode without removing the existing block. Eventually, the issue required escalation due to the inability to remove or replace the block, and the client requested to speak with a human agent.
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. If the problem persists, please open a new support ticket.