Variation swatch don’t display corresponding images – Not fixed

This topic has 23 replies, 3 voices, and was last updated 1 months, 3 weeks ago ago by Andrew Mitchell

  • Avatar: nirvana5
    nirvana5
    Participant
    August 12, 2024 at 22:59

    Theme Version 9.3.17, xstore core: Version 5.3.17 |

    These variation products have Color and Size variations. Each variation was set with an image in Admin. Go to product’s link, click at Color and choose Size, the variation’s image is NOT displayed is swiper’s image area.

    A similar issue was discovered prior to 9.3.17 and was fixed in Version 9.3.17, the lazyload-functions.php..

    Now after upgrading to 9.3.17 and xstore, they’re not actually fixed.

    22 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 13, 2024 at 06:51

    Hello Nirvana5,

    Thank you for reaching out to us.

    To assist you further, could you please provide the URL of the product example? Additionally, we would appreciate it if you could share the necessary credentials with us. This will enable us to investigate the situation more thoroughly.

    Best regards,
    The 8Theme Team

    Avatar: nirvana5
    nirvana5
    Participant
    August 14, 2024 at 03:33

    Here are the credentials and link don’t work

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 14, 2024 at 13:27

    Hello, nirvana5,

    I hope this message finds you well. We have noticed that older versions of JavaScript files are still being loaded on your system. Could you please confirm if you have cleared your cache and CDN after the recent updates? If not, we kindly request that you do so and check if the issue persists.

    Additionally, it appears that the current credentials for the administrative panel are no longer valid. Could you please verify and update these credentials as necessary?

    Thank you for your attention to these matters. We look forward to your prompt response.

    Best Regards,
    8Theme’s Team

    Avatar: nirvana5
    nirvana5
    Participant
    August 14, 2024 at 20:31

    Yes, the links don’t work on Incognito browser.
    I could login SFTP and WP Login using the credentials I sent in
    private content area. Pls check

    Here is snapshot of Filezilla.

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 15, 2024 at 15:06

    Hello, nirvana5,

    I hope this message finds you well. I am writing to inquire whether you have cleared your cache and CDN (Content Delivery Network) recently.

    It is important to note that if you are using both cache and CDN simultaneously, using an incognito browser may not serve as an accurate indicator. This is because the CDN retains a cached version of the website, and even in incognito mode, the site loads from the CDN, i.e., its cached version.

    Additionally, we are encountering errors when attempting to connect to the FTP or admin panel. Details of these issues have been included in the attached files for your review.

    Thank you for your attention to this matter. We look forward to your prompt response.

    Best Regards,
    8Theme’s Team

    Files is visible for topic creator and
    support staff only.
    Avatar: nirvana5
    nirvana5
    Participant
    August 15, 2024 at 20:00

    I don’t have CDN. on WPEngine, there is a 1-click clear all caches button. Which I did and use Incognito, browser to test. The issue is still there.

    It works for most products, we find several products that don’t work (listed in private content area).

    In the previous release, the issue was “fixed” in lazyload-functions.php file. Perhaps, you can look back and see why it’s still happening.

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 18, 2024 at 10:15

    Hello, nirvana5,

    I hope this message finds you well. I have noticed that your system is utilizing Cloudflare’s CDN. In order to review the lazyload-functions.php file, we require access to your FTP. Unfortunately, the FTP and admin panel credentials previously provided are no longer functioning.

    Could you please verify the attached files and provide us with updated FTP access credentials at your earliest convenience?

    Thank you for your attention to this matter.

    Best Regards,
    8Theme’s Team

    Files is visible for topic creator and
    support staff only.
    Avatar: nirvana5
    nirvana5
    Participant
    August 18, 2024 at 22:50

    Here are credentials.

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 23, 2024 at 14:29

    Hello, nirvana5,

    We hope this message finds you well. We apologize for the delay in communication and would like to update you on the current issue we are experiencing.

    It appears that there is a malfunction with your products as they are not displaying variation images on the frontend. It seems as though these images do not exist, despite being assigned. We are actively investigating this issue and are working diligently to resolve it. Please be aware that it may take some additional time to rectify this problem.

    Thank you for your patience and understanding.

    Best Regards,
    8Theme’s Team

    Avatar: nirvana5
    nirvana5
    Participant
    September 2, 2024 at 17:16

    hi, is there a new development on this issue?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    September 4, 2024 at 16:09

    Hello, nirvana5,

    We would like to inform you that the resolution of your issue is currently in progress. Today, we are deploying a significant update which includes partial fixes that should mitigate your problem. Please note that while this update will not completely resolve the issue, it is expected to result in improvements.

    Thank you for your patience and understanding.

    Best Regards,
    8Theme’s Team

    Avatar: nirvana5
    nirvana5
    Participant
    October 12, 2024 at 22:19

    hello, it’s been a while have not heard from you.

    I upgraded to Version: 9.4.2 and xtore core to 5.4.2 .
    New products created with variations and the corresponding images. None of them work once clicked at the variation selection!!!

    Please help to fix this issue. THANKS

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 17, 2024 at 13:42

    Hello, nirvana5,

    Could you please clarify whether the new products were created from scratch or imported? Additionally, we have lost access to the admin panel and FTP (they were still functioning yesterday). Kindly assist in resolving this issue.

    Best regards,
    8Theme’s Team

    Avatar: nirvana5
    nirvana5
    Participant
    October 17, 2024 at 17:45

    All the products are created manually (not imported).

    I recalled, you made some changes to this file: xstore/framework/features/lazyload.php

    But it was not fixed.

    Please help. We really need this issue to be resolved. THANKS!

    Please contact administrator
    for this information.
    Avatar: nirvana5
    nirvana5
    Participant
    October 21, 2024 at 14:57

    Please update for any progress on this issue?

    I looked at the code. If there is no issue, the code has images’ URL inside the

    
    <form class="variations_form cart"
    

    element above the variations (single page)

    If there is issue, the images’ URL are not present in this element.
    There is a problem getting the images’ URL into this statement.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 22, 2024 at 19:44

    Hello, nirvana5,

    In your case, the issue arises from the fact that the default WooCommerce action “show_variation” is not being initialized when switching variations. This action is responsible for triggering all other changes related to variations. Additionally, the default theme does not initialize this action either, which gives the impression that the action has been disabled. This could potentially be caused by a plugin or custom code, but we have been unable to identify the exact source of the problem.

    As a result, we are currently considering a custom modification specifically for your case. This modification will change the images without relying on any WooCommerce actions.

    Best regards,
    8Theme’s Team

    Avatar: nirvana5
    nirvana5
    Participant
    October 22, 2024 at 22:04

    Thanks for looking into this.
    Would you share the quote for completing this custom modification?
    Please send in privately. THANKS

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 25, 2024 at 13:57

    Hello, nirvana5,

    As far as we can see, you have replaced the product gallery with a third-party one (which is functioning). Could you please let us know if you plan to continue using it? Additionally, we would appreciate it if you could inform us which plugin provides this gallery.

    Best regards,
    8Theme’s Team

    Avatar: nirvana5
    nirvana5
    Participant
    October 25, 2024 at 19:09

    The replacement is just an experiment to see it works. It works with AJAX only. No lazy-load like your native code did (even though this option is enabled with this new plugin). The link to the plugin is https://www.welaunch.io/en/product/woocommerce-gallery-images/

    After some thinking, the issue I have I suspect (not 100% sure) because it’s conflct with this plugin that I installed a while ago.

    multisite-global-media is a plugin that allows multisites shared the same media folder which saves a lot of server’s spaces:

    https://github.com/bueltge/multisite-global-media/tree/master

    I’d like to know if you can quote your solution. Since it’s native to the theme, then I don’t have to rely on the new plugin.

    Also, if your solution is implemented and installed on my site. Would the updates of the theme and Xstore Core overrides it? or it’s independent of the updates? THANKS

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 26, 2024 at 13:14

    Hello, nirvana5,

    Unfortunately, we are unable to assist you with this issue as it is caused by the **multisite-global-media** plugin. The plugin modifies the image URLs, and during the creation of a WooCommerce image object, WooCommerce checks whether the image exists. Since the paths have been altered by the plugin, WooCommerce is unable to locate the image.

    As we cannot modify third-party products, we recommend reaching out to the developers of the **multisite-global-media** plugin for further assistance. The issue seems to be related to WooCommerce’s frontend requests not correctly retrieving the image by its ID.

    You can find the plugin repository here:
    https://github.com/bueltge/multisite-global-media/tree/master

    Best regards,
    8Theme’s Team

    Avatar: nirvana5
    nirvana5
    Participant
    October 28, 2024 at 02:31

    Thanks for looking into this.
    Can you do something a check in your code, something like:

    if the image is not there, then check if this plugin exists then get return new URL ?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 28, 2024 at 10:41

    Hello, nirvana5,

    We are not entirely sure if this is possible, as WooCommerce handles images directly. It is possible that such a check would need to be implemented in WooCommerce’s files, but please note that doing so may result in losing the ability to update WooCommerce in the future.

    In any case, we recommend that you reach out to our customization department for further assistance with this matter:
    https://www.8theme.com/account/#etheme_customization_panel

    Best regards,
    8Theme Team

  • Viewing 23 results - 1 through 23 (of 23 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.