On mobile only, predictive search works correctly and shows product thumbnails while typing in the search box. However, when I click “View All Results”, the search results page loads without product images. The product cards, titles, prices, and quick-add (+) buttons all appear correctly, but the images remain blank.
Tested on iPhone using:
Safari
Chrome
DuckDuckGo
Same issue in all browsers.
On desktop, including Chrome Responsive Mode/mobile simulation, the images display normally.
I’m trying to determine whether this is:
a known Prestige theme bug,
an iOS Safari/lazy-loading issue,
JavaScript conflict from an app,
or a damaged/modified .liquid file.
Has anyone experienced this or know which file/snippet controls image loading on the search results page? Attached Screen shot.
Oh Moeed, That is a surprise. I’m working on this in Nepal, internet speeds can be deceptive and it could be that the images - lazy loading - may just give up. In any case, your findings are a bit of a relief and if anyone out there finds the issue then I would be very grateful to hear from them. Thanks for your time. Gary
For anyone with this issue I received a response from Maestroo this morning regarding the ‘bug’. Here is their reply.
Thank you for reaching out! We’re happy to assist you!
Ah, indeed, this is a bug due to a recent Safari change, but the issue has already been fixed in recent theme versions.
If you don’t want to update the theme now, you can fix this in your current theme version by editing the product-cart.liquid file. Before editing the theme files, make sure to duplicate your theme to create a backup copy of your current version. This way, if something goes wrong, you would still have the backup.
To edit this, on line 70, replace the {% capture sizes %} by: