Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues with WPML's multi-currency settings and the Yoast plugin displaying abnormally on your product page, it might be due to a compatibility issue.
Solution:
We recommend following these steps to resolve the issue:
1) Visit the WPML>>Languages>>Language switcher options in your site's admin area.
2) Add the following CSS code to the *Additional CSS* field:

.wcml_custom_prices_block {
    clear: both;
    padding-top: 10px;
}

This CSS adjustment should help align the elements correctly. Additionally, we have documented this issue in our errata. For more details, please visit https://wpml.org/errata/yoast-seo-woocommerce-styling-conflict-with-set-prices-in-other-currencies-feature-for-variations/.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket for further assistance.

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.

Tagged: 

This topic contains 10 replies, has 3 voices.

Last updated by Bigul 4 months, 2 weeks ago.

Assisted by: Bigul.

Author Posts
August 28, 2024 at 8:53 am #16113463

greloZ

Background of the issue:
I am trying to edit the product page on my site hidden link. I am using WPML for multi-currency settings and the Yoast plugin.

Symptoms:
The multi-currency currency settings and the Yoast plugin are incompatible and display abnormally when editing the product page in the background.

Questions:
How can I resolve the compatibility issue between WPML's multi-currency settings and the Yoast plugin?

August 30, 2024 at 9:33 am #16123929

Dražen
Supporter

Languages: English (English )

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

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

I have just checked with only Yoast SEO and the issue doesn't happen.

1) Can you please confirm issue happens when using only WPML plugins, Wocommerce, and Yoast plugins + addons?

2) Please try to recreate the same issue and install plugins that are needed to see a problem, I suspect it could be Yoast for Wocommerce, but I do not have versions to confirm this.

- hidden link

Regards,
Drazen

August 31, 2024 at 3:50 am #16126930

greloZ

After I disabled Yoast for Woocommerce, everything returned to normal. It should be the conflict caused by Yoast for Woocommerce

September 2, 2024 at 11:05 am #16131164

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. This may be a compatibility issue with the *Yoast SEO: WooCommerce* plugin. Therefore we have created a test site in our Sandbox Server for further debugging of this bug. Reproducing the issues in a fresh/minimal installation will help us a lot in debugging and also we can troubleshoot the issue without affecting your live site.

Please try the following steps and make sure the bug exists or is not on the sandbox site.

1) Click this URL to visit the Sandbox site backend - hidden link
2) Configure the WooCommerce like your live site
3) Configure WPML like your live site and activate WPML add-ons
4) Install and activate *Yoast* & *Yoast SEO: WooCommerce* plugin
5) Create a test product and translate it

--
Thanks!

Bigul

September 5, 2024 at 2:02 am #16142915

greloZ

The problem has been reproduced in the sandbox and can be seen in the product variant options

WX20240905-100159@2x.png
September 5, 2024 at 4:47 pm #16146028

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for trying to reproduce the issue on the sandbox site. But one doubt. I have set a secondary currency (Euro) in the sandbox site - hidden link

Then it shows the expected results in the Product Edit screen. Please check the attached images for more details and let us know your feedback.

--
Thanks!

Bigul

2024-09-05_22h14_00.png
2024-09-05_22h13_42.png
September 6, 2024 at 1:48 am #16147058

greloZ

Only the WPML currency selection button is displayed in a strange position

Other aspects seem to be fine

WX20240906-094530@2x.png
September 6, 2024 at 8:56 am #16147797

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. Please check the attached images. Normally it will be aligned correctly. It looks like a conflict with the *Yoast SEO options* block.

So you want to list the WCMLcustom prices block just above the Yoast SEO options block, am I correct?

--
Thanks!

Bigul

2024-09-06_14h24_21.png
2024-09-06_14h20_10.png
2024-09-06_14h18_29.png
September 9, 2024 at 1:32 am #16153326

greloZ

Yes, it looks much better, how do I do it?

September 9, 2024 at 3:36 pm #16157534

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the feedback. I have escalated the ticket to our compatibility team for further checking. We will get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

September 11, 2024 at 7:56 am #16164799

Bigul
Supporter

Languages: English (English )

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

Hello,

We are getting the expected results in the Sandbox site after the following steps.

1) Visit WPML>>Languages>>Language switcher options
2) Add the following CSS code *Additional CSS* field

.wcml_custom_prices_block {
    clear: both;
    padding-top: 10px;
}

We also released an errata for this conflict. Refer to this post for more details - https://wpml.org/errata/yoast-seo-woocommerce-styling-conflict-with-set-prices-in-other-currencies-feature-for-variations/

Please try the workaround on your site after a backup and let us know your feedback.

--
Thanks!

Bigul

September 12, 2024 at 1:54 am #16168553

greloZ

Thank you very much, the problem is solved