Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RealMag777

    (@realmag777)

    Hello Ben

    For example on siteload there should be the category “T-shirts” active/filtered. – use this shortcode for it: http://www.woocommerce-filter.com/documentation/#!/section_3_1

    Example: [woof_products per_page=8 columns=3 is_ajax=0 taxonomies=product_cat:9] – where 9 is ID of term “T-shirts”

    Thread Starter benkrichter

    (@benkrichter)

    Thanks for the fast response.
    I tried it and it the shortcode shows the t-shirts, but when I change the filter to another option it doesn’t find anything. So with the taxonomie attribute it won’t show anything beside that category…
    (i have set [woof …. is_ajax=1] but dont thnk that this is a problem here?)

    Plugin Author RealMag777

    (@realmag777)

    Hello

    but when I change the filter to another option it doesn’t find anything beside that category – of course! Shortcode will work only with that taxonomy

    I cant find out if its possible to show the products filtered by default on load by a certain taxonomy – maybe I not understood you right, but you can do next:
    * do not use taxonomies=product_cat:9 – remove it
    * USE wp filter ‘woof_get_request_data’ in your functions.php

    Just created article about it: http://www.woocommerce-filter.com/manipulate-search-data-options/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Default filtered by taxonomy’ is closed to new replies.