Created
October 13, 2023 11:41
-
-
Save braddalton/76fc29014e32295e9452c8b83d145dbf to your computer and use it in GitHub Desktop.
Open Product Image and Title in New Window WooCommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$('a.woocommerce-product-gallery__trigger').click(function(){ | |
window.open(this.href); | |
return false; | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment