Home Forums WoodMart support forum On click open quickview

On click open quickview

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #76514

    komachiyx
    Participant

    Hi,

    I would like to implement the same function: on click open quickview.
    Instead of clicking the magnifying glass to trigger quickview, what should be modify to show quickview when clicking the product image.
    How can I change or add the codes?

    Thank you

    #76537

    Artem Temos
    Keymaster

    Hi,

    Try to add the following code snippet to the Custom JS on document ready area in Theme Settings to do this

    jQuery('.product-grid-item .product-image-link, .product-grid-item .hover-img > a').on('click', function (e) {
        e.preventDefault();
        jQuery(this).parents('.product-grid-item').find('.open-quick-view').trigger('click');
    });

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)