I uploaded the php file to the plugin directory and afterwards I activated it.
After running an import followed by wpml export and import, it still ended up showing the wrong SKU's. It has to show the SKU of the original-language-variation.
I made few changes to the CSV as we suggested earlier, those changes were:
- Removed SKU from the secondary languages entries
- Set id as an parent link connector.
This helped and the import is working properly for me, here is the changed csv file: hidden link
With your CSV changes, it works, but it’s not an ideal solution. It would be much better to fix the issue in the PHP code rather than altering the CSV file content. All the documentation on your website, including example files, use variation SKUs.
SKUs are the key to managing products—not random IDs. Imagine the hassle of renumbering everything if new products or variants are added.
I’m not sure if your latest code change caused it, but categories are now mixed up—they’re not displaying correctly. We have 5 in DE and 5 in EN, but they’re mixed on the screen. This also affects the customer-facing webshop.
Thank you for bringing these issues to our attention, and I’m sorry for the troubles you’re experiencing.
We understand that modifying the CSV isn’t an ideal solution, and we’re working on a permanent fix in the PHP code along with updated documentation to ensure consistency with the variation SKUs. In the meantime, we’re providing a temporary workaround to help keep your processes running smoothly.
Regarding the category display issue, we’ve escalated this to our second-tier support team, and they are currently investigating the mix-up. We’re testing the situation in our environment and will keep you updated as soon as we have more information.
Thanks again for your patience and detailed feedback.