This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to synchronize the status of products, such as draft status, across multiple websites. The provided plugin only worked for products whose status changed after the plugin's installation, not for those changed before.
Solution:
1. We recommended adding the following code to the
wp-config.php
file, above the line
/* That's all, stop editing! Happy publishing. */
, to synchronize the status of the "product" post type:
define( 'WPML_SYNCHRONIZE_POST_STATUS_POST_TYPES' , 'post,page,product');
2. We also suggested using the bulk edit feature to update the status of many products at once. It's important to note that the status sync will only occur when the original product is updated.
Please be aware that this solution might be irrelevant if it's outdated or not applicable to your specific case. If the provided solution does not resolve your issue, we highly recommend checking the 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 still need assistance, please do not hesitate to open a new support ticket. You can reach our support forum here.
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 3 replies, has 2 voices.
Last updated by 7 months, 4 weeks ago.
Assisted by: Long Nguyen.