LazyLoading not working

Lazy loading is not applied on Woocommerce product images on the front-end.

  • Kris Tomczyk
    • Ex Staff

    Hi Hanuman

    Hope you are doing good today.

    This issue has been flagged for our SLS Team (code experts) so that they can dig into this issue further for you. We will post an update here as soon as more information is available.

    Please keep in mind that our SLS Team deals with more complicated issues, so it may take a little longer for them to reply here. Thank you for your patience while we look into this further.

    Kind Regards,

    Kris

  • Tho Bui
    • SLS

    Hello Hanuman,

    Regarding your issue, in PHP file to apply the Lazy Loading, you can try this snippet code:

    <?php echo apply_filters('the_content', 'YOUR-CONTENT-HERE');?>

    ex:

    <?php echo apply_filters('the_content', '[products ids="280, 322, 46551, 414613" columns="4" orderby="menu_order"]');?>

    Hope this help!

    Best Regards,

    Tho Bui