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

“Hide Main Product Image” does not seem to be correctly evaluated

Hello,

I am strugling to understand how Hide Main Product Image is supposed to work.
My expectation for this option is that if Hide Main Product Image is not checked the main image is included in the gallery, also when a variation without a variation gallery is selected. My expectaion is that is always present, if this option is not checked, except for when a variation with a gallery has been selected.

Instead, the main image is included only in the initial gallery, when the page is loaded and no variation has been selected yet.
As soon as one of the variations is selected, regardless of whether or not the variation has a gallery or just a variation image, the main product image is removed from the gallery.
This is the behaviror that I would expect if Hide Main Product Image is checked. Not the opposite.

Moreover, if Show Default Gallery Image is checked I would expect that the variation gallery combined with the default gallery included the main product image, if Hide Main Product Image is not checked. That is because the main product image should be part of the default gallery, unless I explicitely select that option.

Don’t you agree that this is confusing and counterintuitive?
Also, this is a potentially missed feature, because the only way I can mitigate this issue is to check Hide Main Product Image, therefore choose to hide the main product image, and then add the main product image back in the gallery again, so that is shown as part of the default gallery, but this causes issues with other features and extension in WooCommerce.

Is this working as intended, or what I am seeing is the result of a bug or some mistake in the logic?