Woocommerce product images not shown on mobile devices

Posted in: Newspaper
Post count: 11

Hi!
I’ve used Newspaper 8.8.2 and Woocommerce 3.4.4 to create our online shop. Everything is okay on desktop but product images don’t show up on each product page as soon as one uses a mobile device (checked with iPad and iPhone). I’ve activated WC lightbox and slider:
add_theme_support( ‘wc-product-gallery-lightbox’ );
add_theme_support( ‘wc-product-gallery-slider’ );
I already tried deactivating all plugins, nothing helped. When using the storefront theme everything is okay.
Thanks for your help!

Post count: 20688

Hi,

So the product images are not displaying at all on mobile? I could take a look, please provide a link to a product on your your website.

I tested with some default Woocommerce products with and without the mobile theme plugin, the product image displays for me
https://www.screencast.com/t/m0YbAfaXd

Thanks

Post count: 11

Here’s an example:
https://bit.ly/2AWg55J
Only on product page, category listing (…) works just fine. If you press on the white space, it loads the image. By the way, I update to v9 meanwhile.

Post count: 20688

For me it looks like this on desktop – http://prntscr.com/kh19ld
And like this on mobile – http://prntscr.com/kh1a5t

What exactly should I check? From what I can see the image is loaded on desktop and on mobile.

Post count: 11

This is how it looks like on iOS:
https://bit.ly/2vVlLHb

Post count: 20688

Indeed, it seems that on IOS the product image is not visible. The images are loading fine using Android however. Please try to disable the theme lazy-load and check again
https://www.screencast.com/t/fo7Ejtra
I will make some more tests on my end as well.

Post count: 11

It was already deactivated. Another thing we noticed is that the menu button doesn’t work on iOS.
Edit: Menu and images work fine when using the mobile theme plugin. This shouldn’t be a must-have?

Post count: 20688

I am having problems replicating this on my end, I use the latest theme version and latest Woocommerce (same as you), only theme plugins and Woocommerce active. I tried with a few iPhones and the Safari browser, the images load perfectly and the menu works as it should.

In your case the images seem to be invisible and the menu is not working. Maybe another plugin is causing it somehow, or custom code. You could begin investigating this, plugins, custom code of any kind, the child theme.

The mobile theme probably is not loading the cause of the problem, that is why it works.

Post count: 11

Okay, I’ll check that.
Thanks for your help!

Post count: 58

It’s a caching problem. Disable loading of JavaScript deferred.

Regards.

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.