Hi Woodmart team,
I’m revisiting ticket #691655 regarding the GTM4WP conflict with the product thumbnail gallery arrows.
Previously, the issue was resolved by:
Copying:
woodmart/woocommerce/content-product-buttons-on-hover.php
to the child theme
Adding the class:
quick-view-button
to the link with the class:
product-image-link
At the time, this successfully restored thumbnail arrow functionality when GTM4WP Enhanced Ecommerce tracking was enabled.
However, after updating Woodmart & WooCommerce recently, the SOLD OUT product label disappeared on archive thumbnails. I discovered this was because my child theme was using the older overridden version of content-product-buttons-on-hover.php.
I have now copied the latest parent version into the child theme and attempted to reapply the previous fix exactly as instructed before, including:
class=”wd-product-img-link product-image-link quick-view-button”
and also testing:
class=”product-image-link quick-view-button wd-product-img-link”
However, neither now restores the thumbnail arrow functionality correctly with GTM4WP tracking enabled.
Could you please advise what the updated fix is for the latest Woodmart version?
The original issue remains the same:
When GTM4WP Enhanced Ecommerce tracking is enabled, clicking the thumbnail gallery arrows opens the product page instead of scrolling through gallery images.
Thank you.