The image of the default variation is not displayed in the product page

This topic has 4 replies, 3 voices, and was last updated 9 years, 8 months ago ago by Robert Hall

  • Avatar: devodrome
    devodrome
    Participant
    March 18, 2015 at 14:53

    Hello,

    On the variable products there is the product featured (main) image along with the images related to the product variations. There is also the option to choose the default attributes that will be pre-selected in the product page (which is actually one of the product variations).

    The issue is that one I go to the variable product page, the featured (main) image is displayed instead of the image associated with that variation (the default one).

    So, the user will see some attributes on the product page, and the image not reflecting that (featured image instead of product variation image).

    As a separate note: does “Notify me of follow-up replies via email” really work? I did not get any notification on your replies.

    Thanks,
    Victor

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 18, 2015 at 21:38

    Hello,

    We’ve taken this into our account and we’ll fix it in the nearest update.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 20, 2015 at 09:15

    Hello,

    Adding “images” to the “class” div on the file wp-content/themes/idstore/woocommerce/single-product/product-image.php (line 30) seems to be a quick fix (i.e. the image of the default variation attributes is now displayed).

    Original code:
    <div class="span5 product_image <?php if($zoom != 'disable')...

    Modified code:
    <div class="images span5 product_image <?php if($zoom != 'disable')...

    Please pass this to the theme developers.

    Thanks,
    Victor

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 20, 2015 at 09:24

    Hello,

    Thank you for your recommendation.
    We appreciate very much.

    Regards,
    Robert Hall.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.