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 ?
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 ?
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
Thanks for looking into this.
Would you share the quote for completing this custom modification?
Please send in privately. THANKS
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.
I did all the above, the issue is still there.
I also created another topic for this issue, and it got deleted!
I have Priority support ( 3 licenses).
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!
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
hi, is there a new development on this issue?
Here are credentials.
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.
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.
Here are the credentials and link don’t work
The credentials are put back to same as before. Thanks
This issue is not totally fixed, the error is still there, but occurs on a different page!
A product category has 10 published products from back-end. On front-end, it only displays 9. One product is missing. Everytime, i load the category page, the log shows error
IT SEEMS TO WORK! THANKS
I updated Theme to latest 9.3.16 and xstore core to 5.3.16.
The issue is now can be reproduced. Since the site is hosted on WPEngine. I could see its log displays the Notice error on wp-content/themes/xstore/framework/features/lazyload-functions.php on line 93 each time the page is loaded. Don’t have to click any element.
Since the image is not loaded, that explains why i click at the color swatch and size, the corresponding image is not displayed in swiper’s image area.
I send to you 2 URLs, 1 that has issue, the other one works fine.
Both are variable products.
If you want to see the warning error on the single page, you must enable the DEBUG flags in wp-config.php. As you soon as you load the page, the error is displayed.
This is a PRODUCTION site, after debugging please put back the site to previous environment, so user won’t see the error. THANKS
Please let me know any update on this issue. THANKS
THis is the warning error:
for a moment, I renamed the xtore-child directory to something else so there is no child theme. And reload the page that has issue. Page is displayed ok. But the issue IS STILL there. Click on Lavender color and choose small size. The corresponding variation’s image is NOT displayed!.
On a Development site which is a copy of this Production site, if the DEBUG flags are enabled. I could see on slider’s area , there is a
warning error on lazyload.php line 93.
define( ‘WP_DEBUG’, true );
define( ‘SCRIPT_DEBUG’, true );
Not saying this is the cause. Although, i disable the Lazy Load Optimization option in theme’s option. The issue is still there.
But this error could be a lead. There is some thing about this product that the variation’s image was not loaded properly, therefore, once clicked it does not display.
thanks for checking the site. The site has evolved over the years from many changes requested by the customer!
What i don’t get is why it works well for many other items but not for some?
If it works for others, that means my code works ok for these which is a common code for all items.
I am still learning WC. Do you know the hook/filter’s name that when the swatch is clicked, this hook/filter is triggered ?
Using Filezilla , i could login SFTP ok using above credentials
The theme is updated 9.3.15 , xstore core is updated to 5.3.15, WC is updated to latest. plugins are updated. The issue is still there. Please help.
i disabled all extensions. Reloaded the page, still happening in regular chrome and incognito chrome.
Pls see the recorded video
i see on chrome 126.0.6478.116. Also happened on Chrome Incognito mode.
Not Edge nor Firefox.
hello,
I got the megamenu with only 2 submenus, and the 3rd is an image.
No matter what I tried, the image is at the bottom of the menu.
How can i position the image to the right side and top of the mega menu??
(I watched the mega menu video already, and followed it).
thank you