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 week, 5 days ago.

Assisted by: Marcel.

Author Posts
March 10, 2026 at 11:01 pm #17887227

ziga pipan

I tried but does not work for me. I guess I'll just use my workaround.

March 11, 2026 at 12:10 pm #17888492

Marcel
Supporter

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

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

Hi,

We tested the issue on our side, and I also tried the workaround in the Sandbox. The problem no longer occurs there.

Could you please confirm that the implementation was done correctly in the child theme?

Best regards,
Marcel

March 12, 2026 at 11:39 am #17892102

ziga pipan

it's here
hidden link

I clone a product with a bundle,
hidden link

translate it, bundle is gone
hidden link

March 12, 2026 at 2:23 pm #17892647

Marcel
Supporter

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

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

Hi,

This behavior appears to be expected and does not seem to be related to WPML. The duplicate from WooCommerce most likely does not include support for the bundle. As a next step, please try reproducing the issue without WPML after creating a full backup of your site.

Best regards,
Marcel

March 13, 2026 at 1:34 pm #17895691

ziga pipan

how can I recreate the issue without wpml when that only hapens when I translate the product?

March 13, 2026 at 1:40 pm #17895726

Marcel
Supporter

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

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

Our solution referred to the state at the moment the duplication occurs. What I meant was that the test should verify whether the duplicated item itself supports the product bundle.

We are not able to provide a solution for what happens inside the internal logic of the product, as that behavior is controlled by the Product Bundle logic itself.

Best regards,
Marcel

March 13, 2026 at 2:04 pm #17895798

ziga pipan

but it duplicates ok with bundle, it just doesn't translate ok....

nevermind, I'll figure it out.

March 13, 2026 at 2:11 pm #17895803

Marcel
Supporter

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

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

Hi,

In that case, it’s most likely controlled by a custom field. You can check this in WPML → Settings → Custom Fields and look for the related system field. If you find it, try setting its translation preference to "Copy".

Best regards,
Marcel

March 13, 2026 at 4:31 pm #17896433
ziga pipan

It's already set to copy, we covered this in the beginning of this conversation. If it wasn't set to copy it would not have worked on new (not duplictated) products.

New threads created by Marcel and linked to this one are listed below:

https://wpml.org/forums/topic/translated-id-of-product-bundle-is-not-copied/

March 16, 2026 at 11:55 am #17900136

Marcel
Supporter

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

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

Hi,

I'm closing this case as the workaround resolved the original issue. The product bundle pointing will be handled separately in a new ticket.

Best Regards,
Marcel