Skip Navigation

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

Problem:
The client was experiencing an issue where the product image gallery was not displaying correctly on translated pages using Beaver Builder and Astra. This problem persisted even after updating core, plugins, and themes, and following media translation updates.
Solution:
We recommended the client to try the following steps:
1. Add an image to each gallery and save the changes.
2. Delete the image and save again.
3. Clear the Beaver Builder cache via Settings > Beaver Builder > Tools.
This sequence of actions helped reset the display of the correct images in the product gallery.

If you're experiencing a similar issue, we recommend trying these steps. However, this solution might be outdated or not applicable to your specific 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.

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.

This topic contains 5 replies, has 2 voices.

Last updated by Long Nguyen 1 day, 3 hours ago.

Assisted by: Long Nguyen.

Author Posts
October 29, 2024 at 2:47 am #16340005

grahamT-4

Background of the issue:
I am working on a site under development using Beaver Builder and Astra (not WooCommerce). After updating a link on each of the translated product pages, the product image gallery stopped displaying on all translated pages. I updated core, plugins, and themes, which resolved the issue for all products except one. I followed the media translation update as recommended in the WPML forum, which fixed the issue for the one product but caused it to appear on multiple other products, displaying no images or only one gallery image on the translated pages. Backend images are displaying appropriately.

Symptoms:
Translated pages are not displaying the product image gallery correctly, showing no images or only one gallery image for some products.

Questions:
Can you please recommend a solution for this issue?

October 29, 2024 at 9:10 am #16340804

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Graham,

Thank you for contacting WPML support, I’m happy to help you with this issue.

I'm checking a product page and its translation. The gallery images are the same in both languages; see the attached screenshot.
Can you please share a product page URL where I can see the issue? You can also try to edit the product page in English > Make a small change to the content > Save > Update the translation and see how it goes.

Looking forward to your reply.
Thanks

Screenshot 2024-10-29 at 16.07.16 2024-10-29 16-08-23.jpg
Screenshot 2024-10-29 at 16.06.58 2024-10-29 16-07-34.jpg
October 29, 2024 at 10:32 pm #16344365

grahamT-4

Hi Nguyen,

Thanks for your response. The issue is occurring on a number of products, not all.

I tried the minor update, updated the translation to no effect. Refer enclosed example.

The following pages display 0 images from the gallery
hidden link
hidden link

The following pages display only one of the available gallery images
hidden link
hidden link

Cheers,
Graham.

Heatstrip fr translation images.jpg
October 30, 2024 at 1:54 am #16344558

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to your site so I can take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Looking forward to your reply.
Thanks

October 31, 2024 at 2:26 am #16349434

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

It might be a caching issue somewhere else. For this product page hidden link

I change the gallery image but it isn't displayed in the frontend even in the original language English. Please check the attached screenshots. I suggest you clear the cache in WP Engine hosting or disable that module and recheck the issue.

Looking forward to your reply.
Thanks

Edit Heatstrip Product “Heatstrip<sup data-lazy-src=
Screenshot 2024-10-31 at 09.23.26 2024-10-31 09-23-44.jpg
October 31, 2024 at 3:08 am #16349482

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

After restoring your site on my localhost, all the gallery images are displayed on the translation product pages. So I'm sure that it is related to the caching issue. Maybe the WP Engine cache, please follow their documentation to purge the cache and let me know if it helps.
hidden link

Thanks.

Screenshot 2024-10-31 at 10.05.36 2024-10-31 10-05-57.png
October 31, 2024 at 4:49 am #16349591

grahamT-4

Thanks for this.

It turns out there is a cache that can be cleared in Settings/Beaver builder/tools.
Adding an image in each gallery and saving, then deleting the image and saving, then clearing the Beaver builder cache reset it enough to display the correct images in the product gallery.

Issue resolved.

Cheers,
Graham.

grahamT-4 confirmed that the issue was resolved on 2024-10-31 04:49:15.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.