Skip to content Skip to sidebar

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 Marcel 1 month, 1 week ago.

Assisted by: Marcel.

Author Posts
February 18, 2026 at 5:50 pm #17833536

Noman

Thanks for trying. Could you please make sure you have tried to deactivate and re-active the WPML Multilingual & Multicurrency for WooCommerce plugin.

If the issue persists, please try to follow the below steps:

1. Go to WPML >> Settings > Custom Fields Translation section.
2. Click on the “Show system fields” link.
3. Search the “bundle” field name in the search input box.
4. Make sure the field translation settings are the same in dev and production sites.
5. If it’s changed, please try to make it as in the dev site, and re-save the default language bundle product.
5. Clear all sorts of site/server/CDN cache and see if this resolves the issue.

If the issue still persists, please provide temporary access (WP-Admin and FTP Login info) to your site, so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

✙ Please provide the problematic bundle product link where I can see the issue.

Thank you

custom field settings on dev site.jpg
February 19, 2026 at 8:17 pm #17837090

Noman

I tried a few troubleshooting steps on my end, but the issue is still there. Could you please try the following:

1. First, take a full backup of your site for safety.
2. Update all outdated plugins to their latest versions, including WooCommerce (it’s updated on the dev site where things are working).
3. Update the XStore theme to the latest version as well.
4. If the issue still persists, please clone the current live site to a dev/staging environment so we can continue debugging without impacting the live site.

Let me know once this is done and I’ll take it from there.

Thank you for your patience and cooperation

February 19, 2026 at 9:43 pm #17837254

ziga pipan

Does it really make sense to do this since it's not even working if all the plugins and themes are disabled? why would updating plugins help in this case?

also, the dev site is the exact clone of the live site (except that live site has updated wpml).

Anyways, I updated all the plugins on the live site just so we don't waaist time on this. Of course it did not help.

February 22, 2026 at 12:37 pm #17840965

Noman

Sorry for the delay, I was off during the weekend (Friday-Saturday).

You’re right, if the issue happens even with all plugins disabled, updating them normally wouldn’t fix it.

I suggested it just to rule out any version differences. But since everything is now updated and the dev site (exact clone) works fine, this points more to a server/environment difference.

I’d suggest checking:

1. Server-level caching (disable it temporarily)
2. PHP version and memory limit on both sites
3. Any hosting-level configuration differences.

When the same code works on one site and not the other, it’s usually environment-related.

If the issue persists, I will need a full copy of the site so we can restore it on our test server and debug the issue safely without affecting your live environment.

Please create a package using the All-in-One WP Migration(https://wordpress.org/plugins/all-in-one-wp-migration/) plugin and share it with us.

Thank you for your cooperation and amazing patience

February 24, 2026 at 9:30 am #17845288

ziga pipan

anthing new with this? client is getting impatient 🙁

February 25, 2026 at 10:34 pm #17853134

Noman

First of all, thank you very much for your patience. I appreciate your understanding while I was reviewing the package and testing the issue.

I’ve now successfully imported your site to my local environment and tested it there.

I applied the fix mentioned in the errata (https://wpml.org/errata/woocommerce-product-bundles-bundled-products-not-synced-in-translations/) and then created a new bundled product. It worked correctly and the bundles were saved and did not disappear from secondary language.

I also checked the existing bundled products randomly. It seems all of them are working properly except one: Corten cvetlično korito 60x60x60 cm. That specific product appears to be corrupted.

Could you please try creating a brand-new bundled product on the live site and see if it saves correctly?

If it works, I recommend:

1. Take a full backup of the site.
2. Delete the problematic bundled product.
3. Recreate it from scratch.

This looks isolated to that specific product rather than a general WPML or server issue.

Thank you

New bundle product on secondary language.jpg
February 26, 2026 at 10:29 am #17855847

ziga pipan

many thanks, my and my client will check on this rn and let you know!

February 26, 2026 at 5:35 pm #17857736

Noman

You’re very welcome 🙂

Perfect, please take your time to test it with your client.

Thank you

March 3, 2026 at 10:04 am #17867564

ziga pipan

Sorry it took so long, but it took me a while to even understan what was happening.

If I create a new product, add a bundle to it, translate it, it's working ok.

But if I clone the existing product with bundle, translate it, the bundle does not clone and I'm even unable to add it manually.

So now prroducts working ok.
Cloned products not working ok.

I need to be able to clone products becuse they are almost all the same and have many custom fields.

March 3, 2026 at 11:25 am #17867996

ziga pipan

I got this from claude

The Root Cause
When you clone a product, WooCommerce copies the post meta fields, but the bundle items are stored in a separate database table (wp_woocommerce_bundled_items), not in post meta. WPML's compatibility layer (class-wcml-product-bundles.php) is designed to sync bundle items from an original → translation relationship — but when you clone first, WPML doesn't recognize the cloned product as the "original," so it either skips the bundle sync or actively wipes the items on save.

March 4, 2026 at 3:53 pm #17872565

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Vienna (GMT+02:00)

Hi,

I prepared a Sandbox installation (hidden link) where you can install the Bundle plugin, allowing us to try to replicate the issue from scratch. If the issue occurs there as well via the clone, we will forward it to our compatibility team so they can investigate a possible workaround for the duplication.

Best regards,
Marcel

March 6, 2026 at 1:15 pm #17877929

ziga pipan

Installed. I tried and ant it's the same problem.

If important, when I clone a product, it does not give me a + to translate it but jut to update translation.
hidden link

For it to work I need to:
1. clone product
2. remove the bundle product
3. add the bundle product again
4. translate

then it works. So at least I have a workaround.

March 9, 2026 at 3:42 pm #17882586

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Vienna (GMT+02:00)

Thanks for the details. We are currently looking into this and will check whether we can provide a workaround.

Best regards,
Marcel

March 9, 2026 at 5:16 pm #17882903

ziga pipan

many thanx

March 10, 2026 at 2:05 pm #17885887

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Vienna (GMT+02:00)

Thanks for your patience! I checked this, and the function itself is not coming from WooCommerce Product Bundles, it is part of WooCommerce core.

The issue here is that the duplication function copies the entire database entry. We already have an internal ticket to investigate whether this behavior can be changed in the future through a setting, but this has not been resolved yet.

For now, you can stop syncing the translation state by using the snippet below, which you can add to your theme’s functions.php file.

/**
 * Prevent WCML to also duplicate 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' ] );
	}
} );

Best Regards,
Marcel