HUSKY - Products Filter Professional for WooCommerce

Auto scroll to element after AJAX is done

In the plugin settings page -> tab Advanced -> “JavaScript code after AJAX is done” drop next code:

jQuery('html, body').animate({
        scrollTop: jQuery(".woocommerce-result-count").offset().top
}, 777);

.woocommerce-result-count – is a CSS class of container where scrolling will be finished. You can use any container with any CSS class or id …



Troubles? Ask for Support!