QuickView when someone click on woocommerce bundle product title
-
Hi Artem,
I am building a product bundle page in conjunction with WooCommerce Product Bundles plugin.
How can I achieve quick view link when someone clicks the WooCommerce bundle title? I found the your code snippet below.
jQuery(‘body’).on(‘click’, ‘ .bundled_product_title, .product_title’, function(e) {
e.preventDefault();
jQuery(this).parents(‘.product-grid-item’).find(‘.open-quick-view’).click();
});
It seems the code is not working properly.
Kind regards,
SP
jQuery(‘body’).on(‘click’, ‘.wd-product-title, .wd-product-info .product-title, .product-bundle-title’, function(e) {
e.preventDefault();
// Trigger WoodMart quick view button inside the product wrapper
jQuery(this).closest(‘.wd-product-wrapper’).find(‘.quick-view’).trigger(‘click’);
});