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
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 0 replies, has 0 voices.

Last updated by Shekhar Bhandari 4 days, 4 hours ago.

Assisted by: Shekhar Bhandari.

Author Posts
January 21, 2025 at 7:31 am

aigarsM

Background of the issue:
I have added WPML and activated auto-translate to translate the website. The issue can be seen on this page: hidden link. On the original language products, everything appears normal: hidden link (hidden link).

Symptoms:
When I switch the language, the WooCommerce zoom.js does not work, and the product images are three times the size of the viewport, breaking the website (hidden link).

Questions:
Why does the WooCommerce zoom.js not work when switching languages?
How can I fix the product image size issue when using WPML?

January 21, 2025 at 8:17 am
January 28, 2025 at 8:06 am #16640218

aigarsM

Hi, sorry for the delay.
I have created a test site where the issue can be seen:
hidden link

I don’t see a place where I can share the new credentials in this support ticket. Could you point it out?
Thank you!

January 28, 2025 at 8:08 am #16640223

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Sure, I will enable the private reply so please add the details in the next reply.

Thanks

January 29, 2025 at 7:49 am
January 29, 2025 at 9:04 am #16645096

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

The issue was caused by the custom related products settings. There is a section in your product settings where this can be configured, but it was not set to copy over to secondary languages. As a result, the layout appeared broken.

To resolve this, please follow these steps:

1. Navigate to WPML → Settings → Custom Field Translations.
2. Click on Show system fields.
3. Search for _crp_related_ids and set it to Copy.
4. Save the changes.
5. After saving, update the product in the default language.

Let me know if this resolves the issue.

Thanks!