Home › Forums › WoodMart support forum › Problem with lazy loading for archive products
Problem with lazy loading for archive products
- This topic has 7 replies, 2 voices, and was last updated 1 year, 7 months ago by Artem Temos.
-
AuthorPosts
-
April 21, 2023 at 12:47 am #461104
oasisart.nlParticipantHi there,
I’m encountering some products with the loading of specific elements.
For as well the products grid on my homepage, as the archive products widget on my product archive pages, the products don’t load properly unless i enable lazy loading.
This isn’t a problem for the products grid widgets on the home page, as the option for lazy loading is manageable on widget level.
However, for the archive page products widget there is not such an option. I only managed to fix it by enabling global lazyloading. After this it was fixed, however with lazyloading globally enabled new problems are caused.
The category icons widget now does not load properly, only after inspecting or zooming in -browser.
My question is, how can i set it up in a way all elements will display properly?
Please watch my loom for a clear, visual elaboration on the problem
April 21, 2023 at 9:33 am #461163
Artem TemosKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builderThank you in advance
April 21, 2023 at 12:11 pm #461214
oasisart.nlParticipantHi there,
Thank you for your reply. I disabled all plugins and granted you admin access.
April 21, 2023 at 2:31 pm #461265
Artem TemosKeymasterHello,
As we can see, all images are displayed correctly when the lazy loading is turned off https://gyazo.com/a226c1fe1b06a0d7f41f9fadd5003976
Do you mean that you want to enable it for the products element only? Or you don’t need lazy loading at all?Kind Regards
April 21, 2023 at 2:40 pm #461273
oasisart.nlParticipantHI there, thank you for your reply
Have you tried in an incognito window? Because on my end, it also works when i’m logged into wordpress admin. I think you should debug in an incognito window.
No, the archive products are not working without lazy loading. Please watch my loom, you can see what is happening.
I don’t need lazy loading, however I found that the archive products in fact do work with lazy loading enabled. However, with lazy loading enabled globally the category widget breaks.
Ideally these would be good solutions:
1. to enable lazy loading for the archive products widget specifically (so not globally)
2. to enable lazy loading globally, however being able to exclude the category icon widgets for the lazy loading
3. a fix for making the category widget work with lazy loadingThanks in advance
April 21, 2023 at 2:59 pm #461276
Artem TemosKeymasterHello,
We also tested this in the Incognito tab and it works without any problems. Here is a short video https://gyazo.com/8bad48d21222729b2880bb09243e669a
Kind Regards
April 21, 2023 at 3:20 pm #461282
oasisart.nlParticipantWell, there’s definitely a bug. I did some more debugging, and found that everything is working as it should in safari.
When in chrome, it just does not work. The products in the archive widget only load after page refresh, or when enabling lazy loading.
Please watch this new loom: https://www.loom.com/share/8b2fdad61b334bb894a66cfb1c570e87
April 21, 2023 at 4:16 pm #461303
Artem TemosKeymasterWe tested it both in Chrome and Safari and it works well for us. If it doesn’t work in Chrome for you it looks like some cache issue. Could you please try to clear the cache and test how it works? Also, try to check it on a different computer if you have such an opportunity.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register