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

    (@realmag777)

    Try this: https://www.woocommerce-filter.com/filtering-by-product-attribute-doesn-work/ – from last woo+wp update’Enable Archives?‘ checkboxes should be checked

    Thread Starter haemran

    (@haemran)

    it is working fine. Thank you

    Plugin Author RealMag777

    (@realmag777)

    Welcome …

    brunofesta

    (@brunofesta)

    I have the same problem but the fix above did not fix. I have install locally with only woocommerce and woocommerce product filter plugins installed.
    I think I have worked out what the problem might be.
    I have every attribute value (eg: sizes 6,8,10,12,14) listed under each variable product whether or not it is in stock(eg: in stock size 8 only)
    I think the filter works off the values listed instead of what is actually in stock

    Plugin Author RealMag777

    (@realmag777)

    @brunofesta

    Yes, attributes should be created as taxonomies and then selected in each product, because query is made for/to taxonomies only …

    brunofesta

    (@brunofesta)

    Thanks but I don’t understand. Can u give an example with size and colour?

    Plugin Author RealMag777

    (@realmag777)

    @brunofesta

    – You can watch this video https://www.woocommerce-filter.com/
    https://clip2net.com/s/3v5ZxfG + https://clip2net.com/s/3v5ZLB9 -> read more in docs for woocommerce

    brunofesta

    (@brunofesta)

    this link “https://clip2net.com/s/3v5ZLB9” confirms that I have everything set up just fine with Variations and Attributes.
    I have tried 4 different product filter plugins on three different themes and none of them will filter size or colour. They will all filter categories and price.
    To troubleshoot I installed locally using MAMP and only ran woocommerce as other plugin with the filter plug in.
    Am I supposed to install with short code or ajax or something?
    For all product filters to behave similarly then I must be missing something here.
    Product filters tried-
    WooCommerce Product Filter
    WOOF – WooCommerce Products Filter
    Advanced AJAX Product Filters
    YITH WooCommerce Ajax Product Filter
    Themes-
    Enfold
    Storefront – woothemes
    Thenty 15

    Plugin Author RealMag777

    (@realmag777)

    Advanced AJAX Product Filters+YITH WooCommerce Ajax Product Filter – second filter plugin? It is big possibility of conflict with hooks for 3 filter plugins.

    I have only 2 propositions:
    * https://www.woocommerce-filter.com/filtering-by-product-attribute-doesn-work/
    * disable all plugins except woo+woof and try

    p.s. https://www.demo.woocommerce-filter.com/ – this demo can be downloaded from here fro any case: https://drive.google.com/folderview?id=0B4zUhfhZlonlcVhPOFZpaE5kZzQ&usp=sharing

    brunofesta

    (@brunofesta)

    All of the plugins tested were run with only woocommerce. (no other plugins were activated). Woocommerce is required to run the shop page right?

    brunofesta

    (@brunofesta)

    After looking at your links again think I have worked this out.
    Product variation values must match product in stock. If all variation values are listed under that product then the filter does not work.
    eg. If i have one size 8 blue shirt in stock and in that product settings I list all size variations 8,10,12,14 and all colour variations blue, white, black – then the filter will not work as it cannot identify the actual size 8 blue shirt in stock.
    Is this correct?

    Plugin Author RealMag777

    (@realmag777)

    If all variation values are listed under that product then the filter does not work. – maybe you mean if NOT all variations listed here https://clip2net.com/s/3v5ZLB9 the plugin doesn work …In this case – yes, but really if not smth added – its not searchable …

    Hi.
    I appreciate your help but I am still very confused.
    Here’s an example to try and explain.
    I have size variations small, medium, Large and colour variations of white,blue, black and I list all of these variation values under all products whether they are in stock or not. The filter will return every product and will not filter out what is actually in stock.
    EG: f i have a small blue shirt in stock – I use the filter with small and blue then all products will be returned.(the filter will not filter out the small blue shirt).
    Can you please confirm this is correct or is there a problem with the setup/installation.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Custom attributes are not working with latest wordpress version’ is closed to new replies.