Support » Plugin: YITH WooCommerce Quick View » Double tap

  • Hello. When i click to “в корзину” frontend.js added class hover_mobile and i get the problem, that i need to double tap to click this button.

    How can i turn off next function?

    /********************
         * DOUBLE TAP MOBILE
         ********************/
        $.fn.YitdoubleTapToGo = function () {
            this.each(function () {
                var t = false,
                    p = $(this).closest('.product');
    
                $(document).on('qv_loader_stop', function(){
                    p.removeClass('hover_mobile');
                });
    
                $(this).on( "touchstart", function (e) {
                    // RESET ALL
                    p.siblings().removeClass('hover_mobile');
    
                    if( ! t || ! p.hasClass( 'hover_mobile' ) ) {
                        e.preventDefault();
                        p.addClass('hover_mobile');
                        t = true;
                    }
                });
            });
    
            return this
        };
        // Double tap init
        if( yith_qv.ismobile && yith_qv.enable_double_tab ) {
            $( yith_qv.main_product_link ).YitdoubleTapToGo();
        }
    • This topic was modified 4 months, 2 weeks ago by thewalkingdan.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    the free version of the plugin does not have the double tap functionality, so I believe you are using a premium version. Please write to our support platform.
    Thank you.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.