New Landing How can we help? Atelier Quickview on thumbnail click

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Atelier
  • #271718
    fghtdmns
    Member
    Post count: 13

    Hi guys,

    Is it possible to do this? When you click on the item thumbnail, can it to open up the quickview window, rather than taking you to the actual item page (url.com/product/product-name).

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #271726
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Unfortunately not sorry, on standard layout you can click the quickview icon. But it’s not currently possible to set on the whole image

    – Kyle

    #271732
    fghtdmns
    Member
    Post count: 13

    Hey Kyle,

    Thanks for the quick reply! Damn I was told by pre-support that it would be possible. Is there a way to get any quickview or wishlist icon on the gallery layout?

    Cheers

    #271733
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Pre support?

    – Kyle

    #271734
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Should show anyway on gallery view, can you provide a login so I can check the settings?

    – Kyle

    #271738
    fghtdmns
    Member
    Post count: 13
    This reply has been marked as private.
    #272246
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    The only easy way I know to trigger the quickview via a product link, on the homepage is with jQuery.

    Here is an example I can provide you, please add this to Theme Options => Custom JS:

    jQuery(document).ready(function() {
        if ( jQuery("body").hasClass("home") ) {
            jQuery("ul.products li.product a").click(function(e) {
                jQuery(this).removeAttr('href');
                jQuery( ".jckqvBtn" ).trigger( "click" );
            });
        }
    });
    #272426
    fghtdmns
    Member
    Post count: 13

    Hey David,

    Thanks so much for that – it seems to pull up the quick view box perfectly. There is a slight problem though as it seems to show a random product rather than the one I’m clicking?

    #272558
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Does that only happen when you add that code?

    – Kyle

    #272761
    fghtdmns
    Member
    Post count: 13

    Hi Kyle,

    It does yeah, it always pulls the last product image on the page, regardless of which item I click.

    #273260
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I underestimated this one! It needs to loop through the products.

    This should do it:

    jQuery(document).ready(function() {
        if ( jQuery("body").hasClass("home") ) {
            // Remove product link            
            jQuery("ul.products li.product a").removeAttr('href');
            // For each product that is clicked, simulate QuickView button click
             jQuery('ul.products').each(function(i, li) {
                jQuery("ul.products li.product a").live( "click", function() {
                    jQuery(this).parent().find(".jckqvBtn").trigger( "click" );
                });
            });
        }
    });
    #273434
    fghtdmns
    Member
    Post count: 13

    Hi David,

    That’s perfect – I had to make a little change but it works great. Thanks so much for your help!

    #273435
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! Thanks David

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register