Skip Navigation

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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

Tagged: 

This topic contains 11 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 1 month ago.

Assisted by: Osama Mersal.

Author Posts
December 15, 2023 at 2:50 pm #15073853

karinaM-4

The products as a vase doesn't show the added flowers on the English page. It doesn't synchronize.

hidden link
hidden link

December 18, 2023 at 1:14 pm #15084537

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply; it was due to a higher workload. Please let me know how these flowers are added to the default language product.

It would be very helpful if you could share screenshots of the product in the dashboard in both languages.

Best regards,
Osama

December 18, 2023 at 5:51 pm #15086663

karinaM-4

Hi!

Attached you find the place where we add the flowers to the vase.

Scherm­afbeelding 2023-12-18 om 18.51.09.png
December 19, 2023 at 8:44 am #15089797

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

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

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 20, 2023 at 9:00 am #15099043

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I installed the "WPC Frequently Bought Together for WooCommerce" plugin to check the issue on a sandbox site.

Please use the following link to login. (hidden link)

I was able to fix the issue by setting the plugin's custom field to copy except the IDs field. Please check this product. (hidden link)

Best regards,
Osama

2023-12-20_10-56-56.jpg
December 21, 2023 at 7:36 am #15107051

karinaM-4

Hi!

I see that it is fixed on your site. I have changed the settings as well on my end. But the product keeps loading and loading. And when it loads finally there are no flowers.

The example: hidden link

Do I need to do something else as wel?

December 21, 2023 at 9:34 am #15108121

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. You have changed only one custom field, so I changed the rest, updated the product in the default language, and its translation.

Kindly check and let me know if the translated product works correctly. (hidden link)

Best regards,
Osama

December 21, 2023 at 6:03 pm #15112979

karinaM-4

I see indeed the flowers. So that is a start. But it are the dutch products and not the translated ones.

December 22, 2023 at 11:49 am #15116785

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I've consulted our compatibility team regarding this issue, and I'll update you as soon as I get their reply.

Best regards,
Osama

December 31, 2023 at 8:45 am #15138542

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your patience. Please add the following code to your functions.php file in your theme folder.

// WPMl Workaround for compsupp-7114
add_filter ('woobt_get_product_items', 'wpml_compsupp7114_filter_product_ids', 10, 3);

function wpml_compsupp7114_filter_product_ids($items, $product_id, $context) {
	
	foreach ($items as $key => $item) {
		$item['id'] = apply_filters( 'wpml_object_id', $item['id'], get_post_type($item['id']) , TRUE  );
		$items[$key] = $item;
	}

	return $items;
}

After that, please clear your site's cache and check the translated product.

Best regards,
Osama

January 4, 2024 at 6:08 pm #15152649

karinaM-4

Hi!

I see that it is working for the vase Toscany. Only it needs to be working for all the vases with flowers to add.

Most of the vases on the website has flowers on the dutch side and nothing on the English one. You can click around on the different vases and see for yourself. only Toscany is working now.

hidden link
hidden link

January 5, 2024 at 11:31 am #15154173

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please edit the Dutch vase products and update their translations. After that, please check if the English vases work correctly.

Best regards,
Osama

The topic ‘[Closed] Vase doesn't show the added flowers to bought together.’ is closed to new replies.