Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues with WPML where product statuses are not syncing when changed to draft or deleted, and products are not being assigned to translated categories in other languages.

Solution:
1. To address the product status synchronization issue:
- Ensure that the 'When deleting a post, delete translations as well' and 'When deleting a taxonomy (category, tag, or custom), delete translations as well' options are activated in 'WPML > Settings' under 'Posts and pages synchronization'.

2. For products not attached to the translated category:
- Confirm that the product is fully translated with no pending updates.
- Navigate to 'WooCommerce > WooCommerce Multilingual > Categories' and click on 'Synchronize Product categories assignment in content'.
- After synchronization, go to 'WPML > Support > Troubleshooting', select 'Products' from the dropdown under 'Cleanup', and click on 'Synchronize Post Taxonomies'.

3. If labels are not showing in translation:
- Go to 'WPML > Settings > Custom Field Translation', click on 'Show system fields', and search for '_woodmart_new_label'.
- Set the translation preference for this field to 'Copy'.
- Make a minor change in the default product and update the translation to copy the settings to the translated product.

If the solution provided here is not relevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also 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. If you need further assistance, please contact our support forum.

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 1 reply, has 2 voices.

Last updated by Prosenjit Barman 8 months, 3 weeks ago.

Assisted by: Prosenjit Barman.

Author Posts
March 11, 2024 at 10:46 pm #15397477

sergejsF

Tell us what you are trying to do.
I have noticed that some features are not syncing. The menu, products, attributes and a lot of other things require to to through language by language and correct them. It is very annoying but most of it can be done, but products really create a lot of issues. When the product is transferred into draft mode or deleted, this does not happen in other languages. Also, even though the products are assigned to translated categories in the original language, they do not get translated into other languages.

Is there any documentation that you are following?
I have searched the forum for similar answers and that did not help.
Menu sync, taxonomy sync, and updating the translations do not work.

Is there a similar example that we can see?
Yes, you can see that difference in product quantity, setup and menu on the website: hidden link

What is the link to your site?
hidden link

Monosnap-2024-03-12-00-28-47.jpg
March 12, 2024 at 9:02 am #15398127

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're having with the products and will try my best to assist you in this matter.

# Product status synchronization issue: Typically, the "Published" status is synchronized across languages. However, changing a "Published" post to "Draft" does not automatically update the translations to "Draft." In this case, the Translated posts' statuses must be adjusted manually. However, deleting the original post should remove its translations if the "When deleting a post, delete translations as well" setting is activated in WPML > Settings.

Upon reviewing the WPML Debug Info, it appears the synchronization for deleted posts is not enabled on your website. Please navigate to "WPML > Settings" and under "Posts and pages synchronization," activate the following options and save the changes:
- "When deleting a post, delete translations as well"
- "When deleting a taxonomy (category, tag, or custom), delete translations as well"

# Products not attached to the Translated category: If the product categories have been translated before translating the product, after the product translation, the translated product should attached to the translated category. Since most of the products are currently not attached to the translated category, you can do the following and check if that helps in solving the issue.

- Please check the products and make sure that the product is 100% translated and no translation update is pending.
- Go to "WooCommerce > WooCommerce Multilingual > Categories"
- Scroll down and click on the "Synchronize Product categories assignment in content"
- Once the process is completed, please go to WPML > Support >Troubleshooting
- Select "Products" from the dropdown under 'Cleanup' and click on the "Synchronize Post Taxonomies" button.

I hope the issue category will be adjusted properly after these steps.

# Labels are not showing in translation - I have checked your site and found that the label is added using the Woodmart label feature. To see the same label on the translated product, please do the following:

- Please go to "WPML > Settings > Custom Field Translation"
- Click on "Show system fields"
- Then search for this field: _woodmart_new_label
- If that field appears in the result, set the translation preference for the field to 'Copy'
- Make a small change in the default product and then update the translation.

The settings will be copied to the translated product and the translated product will also display the label.

Please let me know if the information above helps to solve the issue or if you need further assistance. I will be happy to help.

Best regards,
Prosenjit

March 15, 2024 at 9:13 am #15413435

sergejsF

Thank you for your quick responce