woocommerce/tests/unit-tests
Nestor Soriano 3a583feab1 Change filter by attributes widget to count products, not variations.
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.
2020-08-31 12:22:33 +02:00
..
admin Add unit test for WC_Admin_Post_Types::bulk_and_quick_edit_save_post. 2020-07-14 11:42:21 +02:00
product Record attribute terms for product variations in wp_term_relationships. 2020-07-28 08:55:55 +02:00
widgets Change filter by attributes widget to count products, not variations. 2020-08-31 12:22:33 +02:00