3a583feab1
Right now the filter by attributes widget counts available variations (for variation products). This is confusing since the counter shows numbers that are higher than the actual count of products displayed. This commit changes the query used by the widget so that instead of counting variations it returns the parent product ids, and then counts the distinct values. This also covers the case of products where some of the variations have concrete values and some have "Any..." values. |
||
---|---|---|
.. | ||
class-wc-tests-widget-layered-nav.php |