We are experiencing an issue (appeared after the latest update) with the variation gallery in WoodMart.
The product has two variation attributes:
• Size (on the site it’s named: Storlek)
• Thickness (on the site it’s named: Tjocklek)
Each variation has its own main image and additional gallery images.
When a customer selects a valid combination of attributes, WooCommerce correctly switches the main variation image, but the additional variation gallery images are not displayed.
However, if the user changes the thickness to another value and then switches back again, the variation gallery images suddenly appear and work correctly.
So the gallery data exists and works, but it does not initialize properly on the first variation selection.
Expected behavior
When selecting a valid variation combination (Size + Thickness):
• The main variation image should update
• The variation gallery thumbnails should appear immediately
• Navigation arrows and gallery thumbnails should remain visible
Actual behavior
When selecting a variation combination for the first time:
• The main variation image changes correctly
• The variation gallery images do not appear
• Only the main image is shown
If the user then switches to another thickness and back again:
• The variation gallery loads correctly
• Thumbnails appear
• Navigation arrows appear
• Everything works as expected
This indicates the gallery exists but is not initialized correctly on first variation load.
Steps to reproduce
Open the product page
Select a value for Size
Select a value for Thickness
Result:
Only the main variation image appears.
Change Thickness to another value
Change it back again
Result:
The full variation gallery appears and works correctly.
-
This topic was modified 4 months ago by
devrank.