Home Forums WoodMart support forum Variation gallery images do not load on first attribute selection only main img

Variation gallery images do not load on first attribute selection only main img

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #711450

    devrank
    Participant

    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.
    #711602

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Please check how it works with the default WordPress theme and Woocommerce Storefront theme just to check whether the issue is with our theme or not. Also, please check the site with our theme but only with the theme default plugins activate, and deactivate all the 3rd party plugins from the site.

    If it works fine with the default WordPress theme then provide the admin panel login details of the website to check it myself and help you out accordingly.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)