Title: Size Filter Issue
Last modified: December 6, 2016

---

# Size Filter Issue

 *  [agentorange76](https://wordpress.org/support/users/agentorange76/)
 * (@agentorange76)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/size-filter-issue/)
 * Hi
    I seem to have encountered a filter issue. I’m setting up a WooCommerce site
   and installed the YITH filter plug in to allow to filter by size. All 63 products
   have the size variation and not all have the same stock count in sizes. However,
   the filter is showing the product count (please refer to screenshot)
 * [https://monosnap.com/file/wmsqYS4YwdFoWfozOlbnqlx5BbzV1X](https://monosnap.com/file/wmsqYS4YwdFoWfozOlbnqlx5BbzV1X)
 * Can you advise on why the filter is showing the SKU count and not the actual 
   stock count and how to rectify this issue? Thank you in advance.

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

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/size-filter-issue/#post-8524446)
 * Hi [@agentorange76](https://wordpress.org/support/users/agentorange76/),
 * sure! This is not related to Ajax Product filter plugin.
    WooCommerce manage 
   the stock at product level not at variation level. This means that if I have 
   a product, in Example a T-shirt, and this product have 3 different color with
   different stock, for WooCommerce the stock count are the sum of single variations.
 * In other words, if you have:
 * – 10 t-shirt black
    – 5 t-shirt red – 3 t-shirt green
 * for WooCommerce this means that you have 18 t-shirt.
    Otherwise, for WooCommerce
   the “t-shirt product” is in stock if this product have one variation in stock.
 * In example:
 * – 10 t-shirt black
    – 5 t-shirt red but – 0 t-shirt green
 * and you try to filter for “green” color, for WooCommerce this product is in stock,
   because you have 15 t-shirt…the product is in stock but the single variation 
   isn’t in stock…but like I write before, WooCommerce doesn’t works with variation
   for stock management.
 * I hope all it’s clear now.
    Have a nice day YITH
 *  Thread Starter [agentorange76](https://wordpress.org/support/users/agentorange76/)
 * (@agentorange76)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/size-filter-issue/#post-8527808)
 * Hi YITH [@yithemes](https://wordpress.org/support/users/yithemes/)
    Thanks for
   the response. Is there any way around this issue? How does is it set up in your
   demo that the widget is able to filter by size?
 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/size-filter-issue/#post-8560549)
 * Hi [@agentorange76](https://wordpress.org/support/users/agentorange76/),
 * no, I haven’t a solution for this now. Our developers works to try an alternative
   solution but all the test that we made works fine but are very very slowly….however,
   we working on this to find an alternative solution for variation management.
 * For the “Size” you can use the filter with “Label” style.
 * Let me know if you need other information.
    Thanks. Have a nice day YITH

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

The topic ‘Size Filter Issue’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-ajax-navigation/assets/icon-256x256.gif?
   rev=3129944)
 * [YITH WooCommerce Ajax Product Filter](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/size-filter-issue/#post-8560549)
 * Status: not resolved