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.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 12:00 – 20:00 | 12:00 – 20:00 | 12:00 – 20:00 | 12:00 – 20:00 | 12:00 – 20:00 | - | - |
| - | - | - | - | - | - | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
Tagged: Known issue
This topic contains 17 replies, has 0 voices.
Last updated by ziga pipan 2 days ago.
Assisted by: Noman.
| Author | Posts |
|---|---|
| February 9, 2026 at 10:29 am #17804510 | |
|
ziga pipan |
I have the same problem that I had here Product bundles are not copied over to the translation. I can't even add them manually because when I do, the bundle disappears when I click publish. This is all set to copy When I try to translate with cte I get this empty field |
| February 9, 2026 at 1:43 pm #17805270 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
I’ve created a fresh WordPress site and installed the WPML plugins. Could you please try to replicate the issue by following the steps below: 1. Login to the fresh WP site by clicking on the auto login URL: 2. Install the WooCommerce Product Bundles plugin. 3. Create a bundle product in the default language as you did on your site and try to translate it. Please note that we only need the above mentioned theme/plugin functionality, you don't need to set up an entire website or clone your existing site. Kindly let me know the results, |
| February 9, 2026 at 11:35 pm #17807014 | |
|
ziga pipan |
sorry for late reply, I don't know why I was not notified about this post on my email. So I was able to create a product and it worked ok. same as on my side, most productst are translated ok, except for this new one, where bundeled product do not copy. |
| February 10, 2026 at 12:47 pm #17808950 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thanks for testing. Since the issue happens only with this new product, it seems specific to its setup rather than a general WPML or Product Bundles issue. Could you please: If the issue persists, it might be easiest to recreate the product with the same settings and bundle, which usually fixes glitches like this. Kindly let me know the results, |
| February 10, 2026 at 8:56 pm #17811095 | |
|
ziga pipan |
I already did, it's the same setting. not only it's weird that it does not copy bundled product to a translation, but when I manually add a bundled product, then hit publish, it disappears. also, how can I enable email notifictions for your replies? |
| February 11, 2026 at 2:57 pm #17813314 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thanks for confirming. Since the settings are the same and the bundle still disappears even when added manually, this points to a product specific data issue or a conflict affecting that item. To investigate further, could you please try the following steps to isolate the cause of the issue: 1. Take a backup of your site first for safety reasons. Regarding email notifications, on the forum page please make sure you are logged in and choose “Email notifications about ALL answers”, as shown in the attached screenshot. If you still don’t receive emails, please also check your spam folder. Kindly let me know the results, |
| February 15, 2026 at 4:51 pm #17823714 | |
|
ziga pipan |
Sorry for the wait, was finally able to clone the site. So I switched to default theme and disabled all the plugins. I only left Woocommerce, product bundles and wpml enabled. The problem remains, the bundle still does not copy over to translation. Also if I add the bundle to croatian language manually, it goes missing as soon as I hit an update button. |
| February 15, 2026 at 6:24 pm #17823796 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thanks for trying it. Could you follow the below steps and let me know how it goes: 1. Take a backup of your site first for safety reasons. 2. We have recently released WPML 4.9.0, please update it to the latest version. You can update it from Plugins >> Add New, click the Commercial tab, and then click the “Check for updates” button. Here is the screenshot for more details: https://wpml.org/wp-content/uploads/2020/04/wpml-force-plugin-update-1.png 3. Please update WooCommerce and WPML Multilingual & Multicurrency for WooCommerce plugins to the latest version and see if this resolves the issue. . If the issue still persists, could you please: 2. Share the problematic product link where the issue can be seen. 3. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging 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. Thank you |
| February 16, 2026 at 7:18 pm #17826816 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thanks for providing the login details. I’m debugging the issue on your staging site and get back to you with an update soon. Thank you for your cooperation and patience |
| February 17, 2026 at 5:50 pm #17830161 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
It looks like this issue has already been reported to our developers, and a workaround is available. Please follow the steps below: 1. Take a full backup of your site before making any changes. 2. Locate the following code:
if ( ! $translated_item_id ) {
$menu_order = $this->wpdb->get_var(
$this->wpdb->prepare(
"
SELECT menu_order FROM {$this->wpdb->prefix}woocommerce_bundled_items
WHERE bundle_id=%d AND product_id=%d
",
$bundle_id,
$product_id
)
);
$this->wpdb->insert(
$this->wpdb->prefix . 'woocommerce_bundled_items',
[
'product_id' => $translated_product_id,
'bundle_id' => $translated_bundle_id,
'menu_order' => $menu_order,
]
);
$translated_item_id = $this->wpdb->insert_id;
$this->set_translated_item_id_relationship( $item_id, $translated_item_id, $lang );
}
Then add the following code immediately after it:
$check = $this->wpdb->get_var(
$this->wpdb->prepare(
"SELECT bundled_item_id FROM {$this->wpdb->prefix}woocommerce_bundled_items
WHERE bundled_item_id = %d AND bundle_id = %d",
$translated_bundle_id,
$translated_product_id
)
);
if ( !$check ) {
$menu_order = $this->wpdb->get_var(
$this->wpdb->prepare(
"
SELECT menu_order FROM {$this->wpdb->prefix}woocommerce_bundled_items
WHERE bundle_id=%d AND product_id=%d
",
$bundle_id,
$product_id
)
);
$this->wpdb->insert(
$this->wpdb->prefix . 'woocommerce_bundled_items',
[
'bundled_item_id' => $translated_item_id,
'product_id' => $translated_product_id,
'bundle_id' => $translated_bundle_id,
'menu_order' => $menu_order,
]
);
}
3. After applying the change, please re-save the bundle product in the default language and check if the issue is resolved. I tested these steps on your staging site (bundle product below), and it worked correctly: hidden link Kindly let me know the results, |
| February 17, 2026 at 8:18 pm #17830385 | |
|
ziga pipan |
where can I find this code excactly? |
| February 18, 2026 at 9:45 am #17831458 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
You can find this file inside your WordPress installation here: You can access it via: - FTP (FileZilla or similar), or Please make sure to take a full backup before editing the file. Thank you |
| February 18, 2026 at 10:09 am #17831595 | |
|
ziga pipan |
thank you, I just needed to know which file I am editing. So I did that on my main page flamula.si and cleared cache Then I did the change to an original language with the bundeled product. Then I updated the translation, product bundeled item is found here when I switch to HR language the bundeled product is not there also when I try do add it manually it still does not work. ı tested dev.flamula.si which you worked on and it works ok. Could it be the problem that on my main page I have wpml 4.9? |
| February 18, 2026 at 12:49 pm #17832387 | |
|
Noman WPML Supporter since 06/2016
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thanks for the details. The WPML plugin versions are the same on the dev site. 1. Take a backup of your site. Kindly let me know the results, |
| February 18, 2026 at 5:19 pm #17833482 | |
|
ziga pipan |
I did exactly that, I uploaded a new Woocommerce multilangual plugin from wpml, added the code again, cleared cache, changed original product, updated translation,... still does not work... |


