Want To Add Extra Images Per Product Variation? Download This Free Plugin

Gallery is loading again on variation change

Aditya Vikram

Hi, we need a solution to a problem that’s causing a bad user experience.

 

Product gallery has videos. If a variation selection is changed then it reloads again. We need to add an additional code somewhere so that the gallery doesn’t reload. Especially if variations don’t have different videos/images.

 

Please suggest. You can see what kind of bad experience this is causing.

 

https://mmtest.mysterymonks.com/product/premium-explainer-video/

Alex - Support Engineer

Hi there,

Thanks for reaching out to us.

if variations don’t have different videos/images.

Image/video change with selecting variation is a default behavior of woocommerce variable product. So we are not handling it.

I have seen that you are using the same video/image for all variations on your mentioned product – https://prnt.sc/smMIf-AWkm9Y and you want to stop the reload.

As you don’t need images/video changed for variations so you should remove images/video from the variations assigned. Just add one video/image from here – https://prnt.sc/Fl-FfPQhmiiP

The only possible way should be to remove all images from variations, adding them only in the parent product featured image/video.

Let me know if you need any further assistance.

Thank you.

Alex - Support Engineer

Hi Aditya,

Can you please give us temporary admin access to your site? We’ll try to investigate the issue for you.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Aditya Vikram

Hi Alex, I’ve added the credentials to the site to this ticket.

Alex - Support Engineer

Hi there,

I have disabled our gallery plugin preloader and our loader stopped.

Screenshot 1: https://prnt.sc/XR601MDTw8BD

Screenshot 2: https://prnt.sc/46S2mkX-ajLi

I think there has a youtube loader that still works come from youtube.

Thanks.

Aditya Vikram

I didn’t understand what you have mentioned.

 

I checked the product page and the video are still reloading upon variation change.

 

What would be the solution to this?

Alex - Support Engineer

Hi there,

There have 2 loaders, our plugin loader is disabled now.

I think the youtube loader comes from youtube instead of our plugin and you have seen now the youtube loader.

I will let you know after discussing it with our relevant team regarding the youtube loader.

Thank you.

 

Aditya Vikram

YouTube loader is not a problem. Problem is that it reloads everytime the variation is changed.

That shouldn’t happen. I think it’s a plugin issue.

 

 

Alex - Support Engineer

Hi there,

I understood your concern.

If you change Variation, the video will start from the beginning, this is how the plugin works.

BTW, I will discuss it with our development team.

Thank you.

Aditya Vikram

Video playing from the beginning is not an issue.

The entire gallery reloads making it slow on every variation change.

The gallery is already heavy due to videos and reload everytime causes poor experience and slowdown.

Aditya Vikram

How soon do you think you can get back to me?

If this is going to take time then I’ll have to hire another developer who can update the code in your plugin to fix this issue.

But then i won’t be able to update the plugin ever.

Alex - Support Engineer

Kindly allow me some time regarding this issue.

I will forward it to our dev team and let you know as soon as I get an update from the team so I can not give you any ETA at this moment.

Thanks for your patience.

Hi Alex

 

It’s been 5 days. Have developers said nothing about this?

Alex - Support Engineer

Hi there,

Sorry for the delayed response.

I have discussed it with our dev team. For same variation images, there has no reload issue. Reload issues only arise after adding the youtube video. The video is coming from the 3rd party server so after changing the variation the reload happens and it’s the default behavior of any 3rd party video URL.

After changing the variation the video URL request goes to 3rd party youtube server so the video starts from the beginning each time and its behavior of the video URL.

Thank you for your understanding.

Alex - Support Engineer

Hi there,

It’s out of our plugin feature.

Thank you.