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

This topic has 12 replies, 3 voices, and was last updated 2 weeks, 1 days ago ago by Tony Rodriguez

  • 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!

    11 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

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    May 6, 2025 at 15:14

    Dear Olga777,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Image Hover Effect “SWAP” stopped working after Woocommerce Upgrade to 6.8’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

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