woocommerce/tests/legacy/unit-tests/cart
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
..
cart-fees.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
cart.php Change in the logic of is_visible_core for variable products 2020-07-28 09:01:52 +02:00
functions.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00