This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing issues with product variations not displaying correctly on the Danish version of their WooCommerce site. The variations would either not show up or become inconsistent upon page refresh. The problem seemed to be related to a plugin conflict and the use of special characters in attribute names.
Solution:
1. We recommended deactivating all plugins except for WooCommerce, WooCommerce Multilingual, and WPML-related plugins to identify a plugin conflict. Upon reactivating plugins one by one, we found that the 'Matting Webshop' plugin was causing the issue.
2. We suggested reviewing the code of the 'Matting Webshop' plugin or contacting the plugin developer for further assistance.
3. For products with only one variation showing, we advised deleting the Danish translation of the product (ensuring it's also cleared from the Trash) and then re-translating the original product into Danish.
4. We noticed that the attribute 'Svart' was added twice and recommended setting up variations for both attributes and updating the translation.
5. We enabled 'Language filtering for AJAX operations' in WPML > Languages, set the translation preference for fields starting with 'attribute_' to 'Translate' in WPML > Settings > Custom Field Translation, and updated the translation after adjusting the default product's attributes and variations.
6. We identified that using a slash ('/') in attribute names caused issues and recommended replacing it with a different character, such as a pipe ('|'), before re-translating the product into Danish.
If you're experiencing similar issues, we recommend trying the steps above. However, the solution might be irrelevant due to being outdated or not applicable to your case. If these steps do not resolve your issue, we highly recommend checking related 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.
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.
This topic contains 21 replies, has 3 voices.
Last updated by 1 year, 1 month ago.
Assisted by: Prosenjit Barman.