This thread is resolved. Here is a description of the problem and solution.
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.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Hi, can i share credentials and links privately here?
For original language there is no issue
Product page for translated language works fine
Category pages for translated language doesnt show translated product, but shows 1 non translated product
1.- No, you can't securely share the credentials yet.
2.- Please go to WPML -> Settings -> Post type translation -> Tell me the configuration for Products.
Also, go to Products -> Filter by the secondary language -> Confirm the products are published.
3.- Thank you for sharing the debug information. I kindly ask you to increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`
I have fixed the code to increase the WordPress memory limit and added the missing translation for the product slug.
Now, I kindly ask you to:
- Create a full site backup
- Update all outdated plugins that appear in this URL: hidden link
- Flush the cache memory
- Go to WPML -> Settings -> Taxonomies Translation (hidden link) -> Set 'Product categories (product_cat)' to 'Translatable - only show translated items' -> Save the changes
- Go to WPML -> Taxonomy Translation (hidden link) -> Filter by 'Product Categories' -> Translate all untranslated product categories -> Then click on the 'Synchronize Product categories assignment in content' button that appears at the end
- Once the steps described above are finished, double-check if the issue has disappeared.
I did not "Translate all untranslated product categories", as i dont see how it correlates to the issue with this specific category. I cant put this time/effort until i know that the plugin works for us.
Translated product hidden link
Doesnt show in product categories according to hierarchy
hidden link
hidden link
hidden link
hidden link
Non translated product shows in categories hidden link
Plugins that are not updated have all been deactivated. As im not going to renew license before i know that they are causing any issue with WPML (that we will use in case we can get it to work)
Good morning,
Thank you very much for sharing these links.
1.- After updating the translation of the product (hidden link), I can see it being shown correctly in the product category pages.
2.- Yes, it is expected that the untranslated products appear in the categories on the secondary language because of the configuration you choose in WPML -> Settings -> Post Type Translation -> Products (hidden link)
If you don't want the untranslated products to appear in the secondary language, then you must change the configuration to 'Translatable - only show translated items'