fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Image thumbnails are not clickable for simple products

Alex vall

Im using a popup (quick view product) through crocoblock plugin and the thumbnail images on single products do not change on click neither are the navigation arrows appear on main image hover. The above functionality only works inside the product page for single products and properly on both popup and single product page for variable products

Hakik Zaman

Hi Alex,

Thanks for reaching out to us. Our gallery plugin was intended to work only on the single product page.

Can you please share a link where I can check the issue? Hope to hear from you soon.

Thank You

Alex vall

Hello

 

please take a look here https://oggi.shop/products/makeup/

 

pressing the black button on the 1st product will open the popup, the gallery will not work but it shows the images

 

pressing the black button on the 3rd product that is variable product works like a charm!

Hakik Zaman

Hi Alex,

Are you using CDN service on your site?

If so, could you please deactivate it for a test?

Also, can you please temporarily deactivate our Gallery plugin and check whether it happens with the default gallery or not?

Hope to hear from you soon.

Thank You

Alex vall

hello again,

im only using wp rocket without cdn. But i deactivated it now

 

and i also deactivated your plugin and the default woocommerce gallery seems to work as intended with the change on click!

Alex vall

you can take a look at it yourself. Its not the wp rocket problem because i have tried to activate it without your plugin and the default gallery also works. So it seems that the problem is in your plugin

Hakik Zaman

Hi Alex,

Thanks for testing it. It’s a staging site, please login here and set up your theme. And try to reproduce your issue here.

https://wptestbox.com/153692/wp-admin/

Username: admin

Password: demo

Note: I have added some necessary plugins and sample products for you.

So that I can forward this to our development team for further checking.

Hope to hear from you soon.

Thank You

Alex vall

i cant just create the whole site from scratch that will be months of work.

 

Cant yoy just release a patch to fix this? its obvious that its the plugins fault.

Hakik Zaman

Hi Alex,

You don’t have to copy the whole website. Please recreate the issue for one product.

Hope to hear from you soon!

Alex vall

this cannot be done. because i have to use all crocoblock plugins to your sandbox site. that is imposible

Alex vall

please take a look here https://test.oggi.shop/products/

and see the difference on the gallery between clicking the black button on the first product and then the fourth (that is a variable product and the gallery works well).

 

I have also contacted crocoblock and they said that your plugin has the problem.

Hakik Zaman

Hi Alex,

Inside your “Single Quick view” Template you are using the “Single Images” widget.

Instead of the “Single Images” widget use the “Product Images” widget- https://paste.pics/R5CK5 and try again.

Hope to hear from you soon.

Thank You

Alex vall

i did this on my main installation. Still the same problem!

Alex vall

i did it on the testing site i sent you too. Take a look, you ll see the same problem.

 

After all single images works properly on the single product page, i think this widget was never the issue

 

Hakik Zaman

Hi Alex,

We will contact the Crocoblock team and will replicate the issue on our end to identify the issue.

So that our development team can investigate it further.

It will take time and I am unable to provide an expected date right now.

Once I get any information from my team I will let you know here.

Thank You

Alex vall

Okay, will keep the staging site online so you can take a look at it again anytime you might want.

 

Iwill be waiting for some update from your side

Alex vall

hello, is there an ETA on the problem fix?

Hakik Zaman

Hi Alex,

I am sorry we have left a message for the Crocoblock team.

Unfortunately, we haven’t got any update from them yet.

I am sorry and I am unable to give you an estimated time or date.

Thanks for your patience.

Alex vall

hello, any updates for the issue? This is important!

Hakik Zaman

Hi Alex,

Sorry for your inconvenience. We are on leave for Eid-Ul-Adha.

One of our Support Team has tried to contact the Crocoblock team. As we are on leave, I am unable to contact him right now.

If the Crocoblock team has responded to him, I can give you an update on 23 June 2024.

Thank You

Hakik Zaman

Hi Alex,

Sorry for your inconvenience.

We are also waiting for the update of Crocoblock- https://paste.pics/R8S50.

I will let you know once I get any responses from them.

Thank You

Alex vall

cant you download the plugins you ask for, from my staging site?

Hakik Zaman

Hi Alex,

I have added a snippet inside your current theme’s functions.php file-

// Reinit Gallery Script
add_action( 'wp_footer', function(){
?>
<script id="gwp-gallery-reinit-153692">
;(function($){
$(window).on('jet-popup/show-event/after-show', function(){
$(document).trigger('woo_variation_gallery_init');
});
})(jQuery);
</script>
<?php
}, 99, 1 );

Please check your staging site and let me know how it goes.

Thank You

Alex vall

i think it works yes! what is this doing? why do i need this code at all?

Hakik Zaman

Hi Alex,

The gallery script should reinitialize after the JetPopup fires the single product template.

At the time of the first load,  the Gallery script loads, but the popup is initialized using Ajax.

The popup plugin script loads after the gallery scripts but it doesn’t load our Gallery script.

So, the snippet is needed to reinitialize our script after your JetPopup loads.

I hope it will clear up your confusion.

Note: We haven’t heard back from the JetPopup plugin yet.

We get excited & honored when you use our plugin on your site.

If you found my support helpful, could you please leave your valuable review here: https://wordpress.org/support/plugin/woo-variation-gallery/reviews/?filter=5

Your rating keeps us inspired.

Thank You