Home › Forums › WoodMart support forum › Quick View Exception › Reply To: Quick View Exception
November 12, 2021 at 3:39 pm
#331480
Luke Nielsen
Keymaster
Hello,
Please, try to use this code to open the product page instead of the quick view.
jQuery('.product-image-link, .product-element-bottom').on('click', function(e) {
if ( ! jQuery(this).parents('.product-grid-item').hasClass('post-1767') ) {
e.preventDefault();
jQuery(this).parents('.product-grid-item').find('.open-quick-view').click();
}
});
To be able to add this feature to another separate product, just replace the ID of the product after the “post-” value in the “hasClass” method.
Kind Regards