Image Hover Effect “SWAP” stopped working after Woocommerce Upgrade to 6.8

This topic has 11 replies, 2 voices, and was last updated 1 years, 8 months ago ago by Rose Tyler

  • Avatar: Olga777
    Olga777
    Participant
    August 13, 2022 at 15:00

    Hi there,

    Image Hover Effect “SWAP” in Shop (Woocommerce/Shop/Product Style/Image Hover Effect) stopped working after Woocommerce upgrade to 6.8

    Please HELP!

    10 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 14, 2022 at 09:20

    Hello,

    There is no such problem on our test site.
    Does your child theme contain custom changes?
    Please provide temporary wp-admin and FTP access, so we can take a closer look.

    Regards

    Avatar: Olga777
    Olga777
    Participant
    August 14, 2022 at 15:23

    Hi Rose,

    Thank you for looking into this issue. Please refer to the Private area for the credentials.

    Olga

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 14, 2022 at 15:34

    Hello,

    I’ve passed this problem to one of our developers, and I will let you know once get an answer. Please be patient and do not change access.
    Thanks in advance.

    Regards

    Avatar: Olga777
    Olga777
    Participant
    August 14, 2022 at 16:03

    Thank you, Rose.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 14, 2022 at 16:11

    You’re welcome! Have a nice day!

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2022 at 13:34

    Fixed. Clear cache and check now.

    Regards

    Avatar: Olga777
    Olga777
    Participant
    August 16, 2022 at 13:37

    Thank you, Rose!

    Please provide us with the fix, as we have to apply it to the production environment.

    Olga

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2022 at 13:45

    Hello,

    You may simply copy xstore/framework/theme-functions.php from your staging and upload it on your production (of course if you have the same theme versions/core versions)

    Otherwise, you may open xstore/framework/theme-functions.php and find next lines -> https://prnt.sc/rVElJ8F98qu7
    and add the highlighted in the middle square

    Position of placement -> https://prnt.sc/eOYzK-IvQizg

    Code that was added:

    if ( !$image ) {
       $image = wp_get_attachment_image( $attach_id, $size, false, array('class' => $class) );
    }

    Regards

    Avatar: Olga777
    Olga777
    Participant
    August 16, 2022 at 13:49

    Thank you, again.

    Will the fix be included in the next theme release?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 16, 2022 at 13:53

    You’re welcome!
    Yes, it will be included.

    Regards

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

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

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