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

Variations images always change tha main image

When change variation from “Options products” / on BG is “Опции към артикула” the variation image load on the main product instead of th option product?!
Sorry, no EN version of the site!
Example link: https://bebemax.bg/produkt/detska-kolichka-za-bliznatsi-ili-dve-detsa-chipolino-duosmart/

Example link on dev environment:  https://bebemax.housekauf.com/produkt/detska-kolichka-za-bliznatsi-ili-dve-detsa-chipolino-duosmart/

I’ll provide you with credentials on the dev site. It’s the same like the live one and the issue is the same!

Hakik Zaman

Hi Hristo,

Thanks for reaching out to us. Could you disable our gallery plugin and check is it happening without our plugin or not?

Thank you

Hakik Zaman

Hi Hristo,

Could you update your free and premium version of the Additional Variation Images Gallery plugin?

The current version of swatches plugins is the following.

Additional Variation Images Gallery for WoooCoommerce – Version 1.3.5

Additional Variation Images Gallery for WooCommerce Pro – Version 1.3.5

Please make sure you are using the same version and let me know if your reported issue has been fixed or not in this latest update?

Thank You

Hakik Zaman

Hi Hristo,

Please kindly do a plugin compatibility check by doing these steps to identify the error :

=> Deactivate all of your additional plugins except WooCommerce and Additional Variation Images Gallery Plugin.

=> See if the problem persists. If the problem is resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.

Looking forward to hearing from you soon.

Thank you

Hello!

I did it and the issue still exist.
I think the problem is in the “target element” where to show the image of the variation. Maybe to be more specific target by JS?!
Just guessing…

BR

Hakik Zaman

Hi Hristo,

We are sorry for our late response. We were on our Eid Vacation.

It’s a development local site, please login here and set up your theme. Please help us to replicate your issue here.

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

Username: admin

Password: demo

So that, I can send this issue to our development team to check.

Thank You

Hello!

I’m not able to upload the theme, so I can give you access to our dev site, OK?

BR

Hakik Zaman

Hi Hristo,

Yes, please give us your dev site access.

Thank You

Hakik Zaman

Hi Hristo,

You are using custom developed swatches feature. I will recommend a plugin instead of your custom code.

> Your wrapper is the same for the related product swatches-https://prnt.sc/kRbpXg5ly4uA  and single product attributes swatches- https://prnt.sc/ShU3_CWr2X_O

> You will know better about your code. The event you are firing to change variation images is also fired for your related product section.

From my inspection, you should generate a unique wrapper and revise your code. I hope it will give you some ideas.

Thank You

Actually no mater if it’s custom code or plugin about the swatches, they will trigger the same thing again.

Is there some chance to change the “target” set in your plugin or the change of the image is not functionality of your plugin?

Hakik Zaman

Hi Hristo,

Actually no mater if it’s custom code or plugin about the swatches, they will trigger the same thing again.

Yes, it matter. It is not happening while we are using our both swatches and gallery plugin on the same site.

You can check it here- https://wptestbox.com/114637/?product=hoodie

Try to select different swatches from the related product then check if it is changing the gallery images or not.

I hope it will clear up your confusion.

Thank You

OK, but idea is to change the images.
If it’s main product swatches – to change the main image.
If it’s optional / related product to change the image of the optional product.

What triggers the image change, actually? Is it function in your plugin or it’s standard woocommerce function?

Hakik Zaman

Hi Hristo,

What triggers the image change, actually? Is it function in your plugin or it’s standard woocommerce function?

You are using a custom-developed feature. So, I can assume you are a developer and know far better than me.
As far as I know, after changing the variations show_variation trigger fired. It is the basic behavior of WooCommerce.

Note: While you are using the custom-made feature and not compatible with our plugin. It is beyond our support scope. If you face issues with any standard plugin from wordpress.org/codecanyon.net then I could send it to our development team to check.

I hope you will understand.

Thank You