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: Asia/Karachi (GMT+05:00)

This topic contains 0 replies, has 0 voices.

Last updated by Waqas Bin Hasan 8 hours, 20 minutes ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 21, 2025 at 4:39 am #16732075

ziga pipan

I have my Woocommerce products translated and all is ok, but on this one product featured image and attribute images not showing on the translated product.

Original version is working ok
hidden link

Croatian version is missing the images
hidden link

February 21, 2025 at 4:44 am #16732078

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Reference to the other ticket, I've moved the images issue on that product in this ticket and 'll be handling it here.

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

P.S.: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.

Regards.

February 21, 2025 at 1:19 pm #16733772

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the access.

I've tried observing the issue and have also tried by deleting the translation of the product and then creating again, but this didn't work.

Since this is a live site, I can't do much in there. I'll recommend preparing a test or staging site by copying this site, so we can investigate further. I'll need to deactivate other plugins, switch themes and try some troubleshooting. This can cause harm to the live site otherwise.

I've enabled your next reply as private again to share the access to the staging/test site.

P.S.: I'll be off over the weekend and 'll be able to attend on Monday.

February 21, 2025 at 3:38 pm #16734448

ziga pipan

yes, it's weird.

Site does not have much traffic. You san safely disable plugins and theme, just enable them back when you are done.

Also I have daily backups, so not to worry.

PS: I'll be on vacation the entire next week, so my replies will probably be a little late.

February 24, 2025 at 5:47 am #16738945

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the confirmation.

I am working on this and 'll get back to you as soon as I find something or have a solution.

February 24, 2025 at 11:58 am #16740687

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I was able to find and fix the problem, apparently there were 2 different issues, let me explain below.

1) Product images
I checked with a new test product and this seems to work fine. Probably there has been a hiccup previously for your product which didn't copy the images properly. Or perhaps the relevant checkboxes in "Media attachments" section in Language metabox weren't checked. Because with my test product I checked these and these copy images fine to translation and stay checked always (see images.jpg attached).

So for now, you can fix your product by following these steps:

- Open the product for editing in default language.
- Switch to Croatian from top admin bar. This 'll load the translation within WordPress editor, instead of the translation editor.
- Add/update the product images (featured and gallery) and update.

2) Variation images
A relevant field "st-image-swatch" in WPML -> Settings -> Custom Term Meta Translation was set to don't translate, while it needs to set to "Copy". I've set this field to copy now (see field.jpg) and after that updated a few terms and their images are appearing on the frontend now (hidden link).

Please follow these steps to fix rest of the variation images:

- Go to Products -> Attributes in default language.
- Click "Configure terms" for "Barva" (see 1.jpg).
- After loading the terms, switch to Croatian from top admin bar (see 2.jpg).
- And click "Quick edit" for a term missing the image (see 2.jpg).
- Simply click "Update Barva" without making any change to the term (see 3.jpg).

Repeat these last 2 steps for each term needing this fix.

P.S.: I've removed the test product after checking , have switched back to your theme and have also activated the plugins.

images.jpg
field.jpg
3.jpg
2.jpg
1.jpg