Home Forums WoodMart support forum Quick View Exception Reply To: Quick View Exception

#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.

https://prnt.sc/1zass8e

Kind Regards