Home›Support›English Support›[Waiting for user feedback] Image swatch on home page banner is not working while switching to RTL website.
[Waiting for user feedback] Image swatch on home page banner is not working while switching to RTL website.
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.
WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Background of the issue:
I am trying to switch images on the home page banner by clicking on color swatches. The banner works perfectly on the English website but not on the RTL website. The banner settings and configurations are the same for both website versions. While inspecting, the following warning is showing: "Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters."
Symptoms:
Image swatch on the home page banner is not working while switching to the RTL website.
Questions:
How can I fix the image swatch issue on the RTL website?
What adjustments are needed for the Swiper Loop Warning?
Why does the banner work on the English site but not on the RTL site?
I hope you're doing well. I checked the entire conversation you had and understood the issue.
Since you’ve provided access, I thoroughly checked everything, including the ID and class, but nothing seems to resolve the issue with the Horse Toy slider on the Arabic version. Interestingly, the other slider containing the Chair is working perfectly.
To determine whether the issue is specific to your site or a broader problem, could you please try to replicate the issue on our sandbox site? This will allow us to efficiently debug the problem without impacting your live site. The autologin link to the Sandbox site is given below.
- hidden link
The WPML plugin and its addons are already pre-installed on the sandbox site. Please complete any remaining setup steps, install the **Woodmart theme** and its addons, create a slider, and try to replicate the issue as it appears on your main site. If you’ve added any custom CSS or JS for the slider to make images appear when clicking color options, ensure that the same code is added to the sandbox.
If the issue persists on the sandbox site, please let me know. I will review it and guide you on the next steps.
The purpose of using the sandbox is to isolate the issue in a minimal environment. If the same problem occurs in the sandbox, we can perform advanced debugging and escalate the matter to our 2nd tier team if necessary. Thank you for your understanding.
Please let me know the update. I truly appreciate your patience and kind cooperation in this matter.