Background of the issue:
I am trying to export my product categories using any export plugin where WPML hooks into the export to add _wpml_import_language_code, _wpml_import_source_language_code, and _wpml_import_translation_group. I am using WPML Export and Import plugin version 1.0.2. I found that I can recreate the issues by manually running this: apply_filters( 'wpml_element_trid', null, $term->term_taxonomy_id, 'tax_product_cat'); This gives me the correct data that I wish I saw in my exported file.
Symptoms:
Each term is exported with the TermID, but the _wpml_import_* fields are filled with data from the term id instead of the term taxonomy id. It works fine for some items where the term id and the term taxonomy id are the same, but on most items, it does not work. This gives me the data that I see in my exported file: apply_filters( 'wpml_element_trid', null, $term->term_id, 'tax_product_cat');
Questions:
Why are the _wpml_import_* fields filled with data from the term id instead of the term taxonomy id?
How can I ensure the correct language codes and translation groups are exported?
Thank you for reaching out to WPML Support. Sorry for the delayed response, as we experienced a sudden increase in tickets, and the weekend added to the delay.
I understand your concern. When exporting WooCommerce data, ensuring the WooCommerce exporter settings are configured correctly should result in an export file that includes all necessary data, such as taxonomies, terms, and language codes. If the export file is missing information or displays incorrect data, it could be due to misconfigured settings or inconsistencies in the product data.
To ensure everything is correctly configured in the exporter, could you try exporting the products again, making sure to select 'All languages' in the language selector? You can refer to the guide below for a detailed explanation.
Make sure you've selected the 'All Custom Meta option' at the time of exporting the product.
If the issue persists, I kindly request you to create a video, demonstrating the steps to replicate the problem and share it in your next response. Please try to capture everything from the beginning, as this will greatly help in understanding the issue more clearly and provide more accurate suggestions to resolve it.
Looking forward to your response and appreciate your patience and kind cooperation in this matter.
Best regards,
Prosenjit
The topic ‘[Closed] There is a bug in your Import Export plugin’ is closed to new replies.