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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
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 0 replies, has 0 voices.

Last updated by Osama Mersal 5 days, 7 hours ago.

Assisted by: Osama Mersal.

Author Posts
December 19, 2024 at 9:10 am #16528797

antoniosG-2

Background of the issue:
I want to display a message in the checkout page using the 'Flux Checkout for WooCommerce' from Iconic. I created the element to be displayed in my default language (DE) and translated the element into Greek (GR) and English (EN). In the settings of WPML, I selected the element to be translatable (hidden link).

Symptoms:
The message is displayed only in the default language (DE) on the frontend, even though it has been translated into other languages.

Questions:
Why is the translated message not displaying in the frontend for other languages?
Is there a specific setting in WPML that I might have missed to ensure translations are displayed correctly?

December 19, 2024 at 1:57 pm #16530433

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.

I'm not familiar with the "Flux Checkout for WooCommerce" plugins, so 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 need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why 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 19, 2024 at 3:56 pm #16530992

Osama Mersal
Supporter

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

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

Hi,

Thanks for the access details. I checked the issue and noticed the position is not selected in the translated elements.

When selecting the position in all languages, all languages are shown on the checkout page regarding the selected language. Kindly check the checkout page now. (hidden link)

It seems like a compatibility issue, so please log in to this hidden link">sandbox site and install the Flux Checkout plugin. After that, please create one test element and translate it to reproduce the issue.

If the issue is replicable, please let me know to consult our compatibility team.

Best regards,
Osama

December 19, 2024 at 4:15 pm #16531089

antoniosG-2

I successfully reproduced the error in the sandbox site using the Gutenberg editor and not Elementor like in my staging site.

December 19, 2024 at 5:04 pm #16531245

Osama Mersal
Supporter

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

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

Hi,

Thanks for replicating the issue. I'll consult our compatibility team and update you when I get their reply.

Best regards,
Osama

December 22, 2024 at 11:15 am #16537465

Osama Mersal
Supporter

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

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

Hi,

Thanks for your patience. Please check the following steps:

1- Open .../wp-content/plugins/flux-checkout/inc/class-checkout-elements.php
2- Look for line 418
3- Replace:

$args = array(
	'post_type'      => self::$post_type_key,
	'posts_per_page' => 100,
	'post_status'    => 'publish',
	);

with

$args = array(
	'post_type'      => self::$post_type_key,
	'posts_per_page' => 100,
	'post_status'    => 'publish',
        'suppress_filters'    => false,
	);

4- Check the hidden link">checkout page on the front end.

I applied the above steps to the sandbox site. Please check if it fixed the issue there.

Best regards,
Osama