woocommerce/tests/legacy/unit-tests/admin
Nestor Soriano 29843b9396 Change in the logic of is_visible_core for variable products
Now, if there are filters present the logic is as follows:

- For multiple filtering values of the same attribute:
  the product is visible if there's at least one variation
  that has one of the filtering values associated to the attribute,
  or if there's at least one variation having the attribute
  with a value of "Any".

- For filtering by more than one attribute:
  the product is visible if there's at least one variation that
  is visible for ALL the attributes according to the above rule.

Note that this is irrespective of the type of logic configured for
the filter (OR or AND).
2020-07-28 09:01:52 +02:00
..
notes Removed deprecated method call. 2020-06-16 13:18:05 +02:00
reports Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
class-wc-tests-admin-duplicate-product.php Change in the logic of is_visible_core for variable products 2020-07-28 09:01:52 +02:00
settings.php Added unit tests 2020-05-12 15:36:25 -03:00