This thread is resolved. Here is a description of the problem and solution.
Problem:
You are facing an issue where product bundles are not being copied over to translations in WooCommerce. Even manual additions disappear upon publishing.
Solution:
This problem stems from a function in the WooCommerce core, not the WooCommerce Product Bundles plugin. Currently, there's an internal ticket reviewing potential changes to this behavior. Meanwhile, you can prevent the duplication of translations when duplicating a product by adding the following code to your theme's functions.php file:
/** * Prevent WCML from also duplicating the translations * when duplicating a product. */ add_action( 'admin_init', function() { /** @var \woocommerce_wpml $woocommerce_wpml */ global $woocommerce_wpml; if ( isset( $woocommerce_wpml->duplicate_product ) ) { remove_filter( 'woocommerce_product_duplicate', [ $woocommerce_wpml->duplicate_product, 'woocommerce_duplicate_product' ] ); } } ); If this solution does not resolve your issue or seems outdated, please check the related known issues and confirm that you have the latest versions of themes and plugins installed. If necessary, do not hesitate to open a new support ticket.
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 39 replies, has 0 voices.
Last updated by 1 week, 5 days ago.
Assisted by: Marcel.