Home / Forums / WoodMart support forum / Hover image breaks after first hover, search/filter pages only (variable product
Home › Forums › WoodMart support forum › Hover image breaks after first hover, search/filter pages only (variable product
Hover image breaks after first hover, search/filter pages only (variable product
- This topic has 7 replies, 2 voices, and was last updated 5 hours, 18 minutes ago by
Serg Sokhatskyi.
-
AuthorPosts
-
July 22, 2026 at 10:13 am #724136
dev-6738ParticipantHello,
On my site (Woodmart theme, WooCommerce), the hover image for variable products (.wd-product-img-hover) sometimes shows the same image as the main product photo instead of a different one, but only on search results pages and AJAX-filtered pages. It works correctly on the shop page and category archives.
Behavior is consistent and reproducible: the first hover on a product works correctly, but hovering that same product again afterwards, or hovering a different variable product right after, fails to show the second image. This happens on search results and on AJAX-filtered pages only, never on the shop page or category archives.
I checked with Query Monitor that $product->get_gallery_image_ids() returns the correct attachment IDs at execution time, so the PHP calculation itself seems correct, but the final image shown to the visitor is not always correct.
I found a related thread (“AJAX compatibility issues in shop loops using WOOF filters”) where your team recommended calling woodmartThemeModule.productHover(); right after the AJAX request completes. I implemented this, listening to the wdShopPageInit and wood-images-loaded events, but it did not solve the issue: the “first hover works, subsequent hovers fail” pattern persists.
I have also ruled out: WP Rocket page cache, Redis object cache, Complianz, and confirmed via the Network tab that the affected pages send no-store/no-cache headers (so no caching should apply there).
Could you help me investigate further? I’m happy to share more details or test additional fixes if needed.
Thank you for your help.
July 22, 2026 at 10:25 am #724137Hi there,
Thanks for the detailed report.
To help us reproduce and investigate this accurately, please share:
– Direct links to an affected search results page where we can see the issue.
– A link to a page where the problem appears after applying AJAX filters (include the exact filters you use).
– Clear step-by-step instructions to trigger the problem (which product card to hover first, what to hover next, and in what order).
– Screenshots or, ideally, a short screen recording showing “first hover works, subsequent hovers fail.”Once we can reproduce it on our side, we’ll proceed with targeted checks and a fix.
Kind regards,
XTemos StudioJuly 22, 2026 at 3:30 pm #724170
dev-6738ParticipantHi Serg,
Thank you for looking into this. Here are the details:
Affected pages: see private content for direct links (search results page + AJAX-filtered page).
Summary by page type:
– Shop page: works correctly, every time, on any product.
– Category archive: works correctly, every time, on any product.
– AJAX-filtered page: does not work reliably. The hover image sometimes appears once on a product, but stops working entirely (on that same product or any other) as soon as another product has been hovered.
– Search results page: does not work at all. Hovering never shows the second image.Steps to reproduce the filtered-page issue:
1. Load the AJAX-filtered page.
2. Hover a first variable product card → sometimes the second image displays correctly.
3. Hover a different variable product card right after → from this point on, hovering any product (including the first one again) no longer shows the second image.Steps to reproduce the search-page issue:
1. Load the search results page.
2. Hover any variable product card → the second image never displays, the main image stays static.Technical note: I checked with Query Monitor that $product->get_gallery_image_ids() returns the correct attachment IDs at execution time on both affected pages, so the PHP calculation itself seems correct. The issue seems to happen after that point, in how the product card HTML is rendered in the search/AJAX-filter context specifically.
I’ve attached a screen recording showing both scenarios (search results and AJAX filter).
Kind regards
Attachments:
You must be logged in to view attached files.July 23, 2026 at 9:04 am #724182Hello,
To troubleshoot this, please deactivate all plugins except the essential ones:
– WoodMart Core
– WooCommerce
– WPBakery Page Builder or ElementorIf the issue disappears, reactivate the others one by one to find the conflict.
If it persists with everything else off, please share your admin credentials in the Private content field and confirm we may temporarily deactivate plugins and switch themes for testing (15 to 20 minutes). Please back up your site before granting access.
Best regards,
XTemos StudioJuly 29, 2026 at 2:15 pm #724522
dev-6738ParticipantHi,
Thank you for the troubleshooting steps. I followed them on a local copy of the site (deactivating all plugins except WoodMart Core, WooCommerce, and Elementor), and I was able to isolate the cause
Since the hover image itself (.wd-product-img-hover) is generated by Woodmart’s own woodmart_hover_image() function, not by this plugin, I’d like to understand what could cause this specific incompatibility. Do you know of any known conflict between Woodmart’s native hover image feature and this plugin, particularly in the search/AJAX-filter context? Does the plugin hook into or modify the product loop markup or the global $product object in a way that could interfere with your hover_image function specifically on these page types?
Any insight would help me raise the right issue with the plugin’s own support team.
Thank you again for your help.
July 30, 2026 at 10:40 am #724582Hi there,
Thanks for the update and for isolating the cause.We haven’t tested WoodMart with this plugin, so compatibility isn’t guaranteed and such issues may occur. We don’t have any known-conflict information for this combination. Please contact the plugin’s developers so they can review their integration and address the incompatibility.
Kind regards,
XTemos StudioJuly 30, 2026 at 11:00 am #724585
dev-6738ParticipantHello,
I’m getting in touch because the plugin and WoodMart are working correctly on the category and shop pages. So, as far as I can tell, it’s the theme that’s causing a bug with the search results and the filter.
I’d understand if the plugin were to blame if the tooltip wasn’t working in all cases, but that’s not the case here.July 31, 2026 at 8:56 am #724668Hi there,
Thanks for the follow-up.To check this closely on our side, please provide:
– A short screen recording or clear screenshots showing the issue on the search results and after applying an AJAX filter, with the exact steps you take.
– Temporary admin access via the forum’s Private Content field.
– A staging or live environment where all other plugins are temporarily disabled except the conflicting plugin, so we can reproduce and inspect the behavior in a minimal setup.Once we have this, we’ll review the setup and proceed with checks.
Kind regards,
XTemos Studio -
AuthorPosts
- You must be logged in to create new topics. Login / Register