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: America/Lima (GMT-05:00)

Tagged: 

This topic contains 34 replies, has 3 voices.

Last updated by Andreas W. 1 year ago.

Assisted by: Andreas W..

Author Posts
March 13, 2024 at 12:27 pm

a1B

Workaround:
https://wpml.org/errata/woodmart-compare-feature-not-working/

Does not solve the issue. Unable to recreate on sandbox.

Taking a copy for testing.

March 13, 2024 at 2:25 pm
March 14, 2024 at 7:37 am #15407775

a1B

Hello,

Is there any results?

March 14, 2024 at 11:01 am #15409287

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

I am currently migrating your website to localhost.

When migrating your site a Trojan virus was found in wp-content\plugins\elementor\assets\js\ai-admin.min.js.

Please delete Elementor and install a brand-new version of the plugin.

Once the migration has been completed I will have another look into your site, while using a fresh Elementor install.

March 14, 2024 at 11:39 am #15409479

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

I just realized on your local copy that once I reinstall Elementor, the Trojan Virus Error occurs again.

That might be something that should be reported to Elementor.

Due to this virus, I do not wish to proceed with testing on my local machine.

Could you please create a copy/stage of the site and try running the site with minimal setup to see if the problem persists?

1) Disable any additional plugins unrelated to WooCommerce, WPML, and our add-ons.

2) If the problem on the Compare page goes away, start reactivating the plugins one by one or activate them in small groups. Do this to check where the problem is reoccurring to see which plugin is causing the problem.

3) If this didn't resolve the cause of the issue, please switch to the Woodmart Parent Theme to see if the issue might be related to the Child theme.

Once we have been able to identify the cause, we can then attempt to replicate the problem and then escalate it internally. In this case, I provide a test site with WPML.

In case the issue persists while testing with a default theme and only WPML plugins, then I need access to your copy/staging site for further investigation.

March 26, 2024 at 7:35 am #15449686

a1B

Hello,

I still have a problem and need assistance. You can test on the real website.

March 26, 2024 at 11:21 am #15450779

a1B

this is the whole answer from elementor for the virus.
"Hi there,

We appreciate you taking the time to contact us regarding your concerns.

We have considered your message and performed several tests to ensure it is safe (please see the screenshots attached from the test). You can also check yourself on this site: hidden link. Upload the Elementor pro Zip file and run the check on your own.

Windows Defender sometimes flags the ZIP file as a false positive. Our team is also working closely with Microsoft to address the issue.

If you are using Windows, we recommend updating your Windows Defender Antivirus to the most recent version to mitigate any issues. After that, please clear your browser cache and try downloading the. ZIP file again. If that doesn't work, please temporarily disable the Windows Defender, download and install Elementor Pro, and then enable Windows Defender."

March 26, 2024 at 2:30 pm #15451708

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

I can currently not confirm an issue on the compare page in both languages.

Please verify if you still see an issue, please provide me a detailed explanation about what you are expecting to see.

Best regards
Andreas

March 28, 2024 at 4:00 pm #15461640

a1B

Hello,

Yes,I still need assistance. In the last message from I sent the respond from Elementor for the virus. So, on my web-site the original language is Bulgarian, the second language is English. When I am on the english website version and click to open and use compare page I only can add products to the page, but can't remove them from the page. Please., check the problem as soon as possible, cause the website is available for clients.

March 28, 2024 at 5:49 pm #15461854

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Andreas won't be available for a few days. My name is Lucas, I'll take over this ticket until he's back. I've read all the messages, so I know what's going on 🙂

I found an issue where the client had the exact same problem. After discussing it with our development team, we found a solution. Please make sure to have a full website backup before proceeding.

1. Go to Appearance > Theme File Editor and select the file \XTS\Modules\Compare::remove_from_compare in wp-content/themes/woodmart/inc/integrations/woocommerce/modules/compare/class-compare.php
2. Substitute this part of the code:

if ( $id === $product_id ) {
    unset( $products[ $key ] );
}

with:

if ( $id == $product_id ) {
    unset( $products[ $key ] );
}

If you can't find the Theme File Editor, you can edit the file directly via FTP or in your hosting file manager. Tell me if you need assistance on making those changes.

March 29, 2024 at 11:16 am #15463999

a1B

Hello,

We have already tried it, but for EN version still doesn't work. You have access and can check it. It's really important, I have an angry client and he want it to be fixed as soon as possible.

March 29, 2024 at 7:58 pm #15465673

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

I apologize for that. I reproduced the error again in an isolated environment, and sent the issue to our developers. They will check again the code to find a workaround. Usually, that takes a few days, so hopefully by Monday or Tuesday we'll have an answer.

As soon as I have feedback from them, I'll get back to you.

April 1, 2024 at 6:39 am #15468149

a1B

Thank you.

I'm expecting your feedback!

April 2, 2024 at 8:35 am #15471501

a1B

Hello, any news?

April 2, 2024 at 1:51 pm #15473221

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hell,

Our dev team asked if the issue can be reproduced in a Sandbox. So, I'll kindly ask you to please install your theme in our Sandbox, so we can investigate if that's a compatibility issue between WPML and Woodmart, and get in touch with them, in case it is:

hidden link

Please create and translate a few products, so we can check the compare feature. Just the minimum to replicate the issue is necessary 🙂 I left WooCommerce and other necessary plugins already pre-configured, in Bulgarian and English.

Just to give you some context, it seems there was an update, since the last time we solved the issue. That might be why the solution is not working anymore. With the error reproduced in a Sandbox, we can get in touch with the theme author to find a permanent solution.

Please let me know, once you're done. Thanks in advance,

Lucas Vidal

The topic ‘[Closed] Woodmart Compare Page still showing issues after applying workaround’ is closed to new replies.