SOLVED: Woocommerce - Lightbox variable product thumbnail

There is a problem that I already checked in 2 websites when you open the lightbox of a variable product that has different featured images, for example when you select a color and it changes the image of the slider and you click on the image to open the lightbox, it loads the image for 1 second and then changes to the original image.
This is repeated in different products and I tested in other pages.
Also when you click on the spaces between the thumbnails, it opens the lightbox with the first image.

Example video:

Hi Smith,
Thanks so much for your report!

Unfortunately, I cannot reproduce the issue using the default WooCommerce Setup.
It looks like you’re using a third-party plugin for variable products, right? If so, which one and with which Bricks version did it work previously?

Best regards,
timmse

Hi, it looks like it’s not necessarily a third party plugin bug, but equally the plugin used is “Variation Swatches for WooCommerce” by CartFlows.
I also commented that color attributes were created, and then added as variations with their respective images.

I also have a test with a woo installation that generates the same error, but this one had other plugins such as ACCS, Bricks extras and WPCodeBox.

Then I created a clean installation where only this bricks and woocommerce and still gives the same error.

Demo video:

Edit:
In both examples I started by installing version 1.7.2 and then installed the license and upgraded to version 1.7.3.

Hi Smith,
I can’t for the life of me reproduce the problem. Neither with nor without the Variation Swatches plugin.

Can you create a live installation where we can have a look at the problem? Thank you!

Sure, I moved it to a subdomain and sent it to support with the login credentials.

1 Like

Hey,
have you sent us anything yet? I can’t find an email that I can relate to you and this thread :thinking:

Hello,

I sent the mail to this address from my gmail help@bricksbuilder.io

The message is this:

"Hi, I sent a bug through the forum, and they failed to replicate it and told me to put it live and share the credentials.

The link to the post on the forum:

…
…
…"

Hey,
I have found the problem. As soon as the Product Gallery is empty or contains completely different images, some srcset attributes are added whose image path is wrong.

I’ve added it to the bug tracker.

Best regards,
timmse

1 Like

Hi Smith,

We’ve fixed this issue in Bricks 1.8 beta, now available as a manual download in your account.

Please let us know if you are still experiencing issues.

As with any beta release, please do not use it on any production/live website. It is only meant for testing in a local/staging environment.