[Resolved] sync products for translated product categories
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to sync products for translated product categories on your site, but when switching to German, the product categories show 0 products, even though they are linked to the Dutch categories. Solution: First, ensure that you update the product translation after linking the products. Follow these steps: 1. Edit the original Dutch product that contains that category. 2. Make sure that the category is assigned. 3. Add a tiny change to the text product description (you can remove it later) and update the product. You should see that product translations are requiring an update. 4. Navigate to the translation using the translation editor and complete the translation. 5. The translated German product should have the identical product parameters as the original.
If this method does not resolve the issue, consider using the bulk editing option: 1. Go to Products → All Products. 2. Select multiple products simultaneously and choose Edit from the Bulk action drop-down. 3. Change the Comments drop-down to "Allow," update the products, and then change it back. 4. Change the language to German and attempt just to update those products in bulk mode.
If these solutions do not work or seem outdated, or if they do not apply to your case, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at https://wpml.org/forums/.
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.
Background of the issue:
I am trying to sync products for translated product categories on my site hidden link. We have linked products to new sub-subcategories in Dutch, and ensured that the German translations of the categories are linked to the original Dutch ones via the 'This is a translation of' drop down menu.
Symptoms:
When switching to German, the product categories have 0 products, even though they are linked to the Dutch categories.
Questions:
How can we make sure that the German version of the category shows the same products without having to add them manually?
This is Andrey here. I will be further assisting you. I hope this is fine.
Have you tried to generate Product lookup tables in WooCommerce → Status → Tools?
Another option to check is to run option 'Sync products categories (display type, thumbnail):' in WooCommerce → WooCommerce Multilingual & Multicurrency → Status and click the Troubleshooting link.
Before proceeding with any updates, please remember to back up your database.
I really don't understand this. We have manually added the product sub-subcategory "Carolina Reaper" to some German products, but that has removed all product attributes for the related products in German. The product attributes remained active on the Dutch and English version, since we didn't do anything manually over there. How does this happen and how can I get them back?
I do have this German product category now: hidden link
I want to be able to manually assign a sub-subcategory to a product without deleting all it's attributes. I also have no idea how to bring the attributes back on the product level, since these can't be added because they are translations.
New threads created by Andrey and linked to this one are listed below:
We have linked products to new sub-subcategories in Dutch, and ensured that the German translations of the categories are linked to the original Dutch ones via the 'This is a translation of' drop down menu.
If none of the methods worked, you probably need to update the product translation after linking the products.
The steps are as follows:
1. You edit the original Dutch product that contains that category.
2. Make sure that the category is assigned.
3. Add a tiny change to the text product description (you can remove it later) and update the product. You should see that product translations are requiring an update.
4. Navigate to the translation using the translation editor and complete the translation.
5. The translated German product should have the identical product parameters as the original. After all these steps, categories and other parameters, such as attributes, should have been synchronized.
Yes, this solution helped (also for bringing back the lost attributes, other topic). But I hope you understand that this is a super labour intensive way of synching categories for 200+ products. How is it not possible to purge these product categories to other languages at once?