HUSKY - WooCommerce Products Filter Professional

Update WooCommerce Products Filter v.3.3.5

  • bunch of small fixes
  • new hook woof_print_label_attributes allows to add into checkbox and radio tag labels custom attributes, requested in ticket https://pluginus.net/support/topic/aria-describedby/#postid-82977
    add_action('woof_print_label_attributes', function ($term) {
        echo"aria-descrybedby aria-name='{$term}'";
    });
    
  • new hook woof_husky_query_post__in allows to manipulate by text filtering using posts ids, requested in ticket https://pluginus.net/support/topic/filter-on-title-description-separate-sku-filter/
  • new hook woof_term_count_format – made its possible to change the counter format – by default it transmits ‘(%d)‘ Example:
    add_filter('woof_term_count_format', function ($format, $tax_slug) {
        $format = '|%d|';
        return $format;
    }, 10, 2);
    
    Suggested: https://wordpress.org/support/topic/filter-count-parenthesis/

Update WooCommerce Products Filter v.3.3.3

  • New extension ACF fields, which allows automatically include ACF fields of type ‘select‘, ‘radio‘, ‘true_false‘ into the filter structure automatically.
  • Custom filter form generator based on shortcode – allows to construct custom filter to insert it on any place of the shop
  • New hook woof_use_wp_cache – if to use the object cache (otherwise it will not give anything) and pass true on the hook will work wp-cache which is more optimized. Showed good results in the tests.
  • New hook woof_custom_filter_items_order – gives ability to change the order of filter elements, passes an array of filter keys (you can find filter section key if to click on additional options of it in tab Structure)
  • For extension SEO URL new option ‘URL depth‘ – how many filters can be indexed. i.e. the depth of the search URL.
  • For extension SEO URL New variables {site_name},{current_tax_name} [...]

Update WooCommerce Products Filter v.2.2.9

  • heap of small fixes
  • added new hook for Husky text search ‘woof_husky_query_post__in‘. There are two Husky filter modes:
    • adding a search result with post__in (enabled by default). The advantage of this mode is reliability, because the search takes place in a separate query and all JOINs will not conflict with the main query.
    • the second one (if you pass false on the hook) – works with the main request and adds it in the old fashioned way via post_where. Pros: does not increase the number of queries to the database.
    • add_filter('woof_husky_query_post__in', function ($do) {
          return false;
      });
      
       
[...]

Update WooCommerce Products Filter v.2.2.7

  • heap of small fixes
  • added compliance with WCAG 2.0 recommendations
  • new option: for taxonomy sliders added option to select skin for its front range slider
  • new option: for meta field of type “slider” added option to select skin for its front range slider
  • new option: new field for SEO url – “SEO text”, this one appears under found products. For google its looks like catalog page with text description.
  • new SEO feature: “YOAST: add WOOF SEO links to sitemap”. Yoast plugin should be enabled.
  • numeric meta fields slider has new option to enable/disable numeric inputs above its range-slider
  • new Extension “HUSKY – Advanced searching by Text” – its replaced previous WOOF text search and allows more wide search ability
  [...]

Update WooCommerce Products Filter v.2.2.6

  • WOOF admin panel new design
  • New Extension ‘SEO URL request‘, search parameters become part of the URL.
  • New hook ‘woof_meta_options_separator‘ need to replace comma separator in options, useful if meta contains a comma as part of an option, example:
    add_filter('woof_meta_options_separator', function ($sep) {
        $sep = '|';
        return $sep;
    });
    
  • New hook ‘woof_image_allow_term_desc‘, by default a description of the term is added for pictures, now it can be turned off. By default is true. Example:
    add_filter('woof_image_allow_term_desc', function ($show) {
        return false;
    });
    
  • New hook ‘woof_mobile_btn_place_container‘ – you can override the selector where the mobile filter button should appear. By default is css class ‘.woocommerce-products-header‘. Code example:
                        

    Update WooCommerce Products Filter v.2.2.5.6

    • New hook woof_image_add_term_desc for filter-images (premium extension) – allows hide/show term description in tooltip. Default is: true.
      add_filter('woof_image_add_term_desc', function($tax_slug) {
          return false;
      }, 10, 1);
      
            [...]

Update WooCommerce Products Filter v.2.2.5

  • Fixes
  • New hook woof_taxonomy_image – allows to redefine images of the image filter term on the fly depending of the current situation:
    add_filter('woof_taxonomy_image', function($image, $term) {
        //change images on the fly depending of the current situation
        if(isset($term->term_id) AND $term->ID === 777 AND intval($_REQUEST) === 23){
             $image = "https://your_image_url.png";
        }
        
        return $image;
    },10,2);
    
  • New hook ‘woof_text_search_query‘ – allows to redefine text search SQL request on the fly
    add_filter('woof_text_search_query', function($where, $woof_text) {
    
        global $wpdb;
    
        $where .= "AND $wpdb->posts.ID IN(15,39,121)";
    
        return $where;
    }, 99, 2);
    
  • New option ‘Show price text inputs‘ – text inputs for price slider (works with ionSlider only)
  • Added ‘Cle [...]

Update WooCommerce Products Filter v.2.2.4

  • New attribute: start_filtering_btn_txt for shortcode : – allows to set text for start_filtering_btn attribute
  • New feature: tab Advanced -> tab Options -> “Show image of variation” – for variable products you can show an image depending on the current filter selection: https://storage.products-filter.com/wp-content/uploads/2020/04/video-1749-1.mp4
  • Option “Logic of filtering” is extended, added ‘NOT IN‘ mode. If to select NOT IN will be found items which not has selected terms!! Means vice versa to the the concept of including: excluding
  • New hook: woof_order_catalog – allows to add custom sort for catalog
  • New extension: Slideout –  allows to show filter in slide out container as on the whole shop, so on separated pages also. Can be represented as shortcode on the single pages.
  • For images in the filter added new behavior feature: “Use image as radio button [...]

Update WooCommerce Products Filter v.2.2.2

  • New extension: “Step by step filter” – allows to create wizard where user select necessary filter options step by step. Example:   . Read: https://products-filter.com/shortcode/woof_step/ Demo: https://demo.products-filter.com/step-by-step-filter-1/ + https://demo.products-filter.com/step-by-step-filter-2/
  • New extension: “Saver of Search query” – Let the customers saves theirs current search requests!
  • New option for color checkboxes on the front as “Show in one column” – Show color checkboxes in one column with title. See additional options popup.
  • New option as “Tooltip text” for each filter block which can be set in its additional options popup. Also in tab design added new option for loading custom tooltip image
  • New hook-filter: woof_text_search_like_option – this one regulate text search behavior and by default returns FALSE. If it will be return TRUE text searching [...]