Support » Plugin: Mobile Gallery » WooCommerce product page support

  • Resolved Vynl



    Your plugin is fantastic, thank you.

    I have installed it on my site, and it works great on regular pages. However I have WooCommerce installed for shopping and the Mobile Gallery plugin doesn’t get called when viewing images on my product pages.

    How can I get it to use Mobile Gallery on these pages please?

    Thank you,

    Simon Burley

Viewing 1 replies (of 1 total)
  • For anyone who has had the same problem, I fixed this by adding the following script to the theme itself (which in my case was in script.js in the /js folder). . .

    if ($ (‘.product a’).length ) {
    var wooCommercePhotoSwipe = $(“.product”).each(function(){
    $(this).find(“.zoom”).photoSwipe({ allowUserZoom:false, zIndex:’10000′, captionAndToolbarShowEmptyCaptions:false });

    It works perfectly now. Hope this helps others.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce product page support’ is closed to new replies.