woocommerce/tests/legacy/framework/helpers
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
..
class-wc-helper-coupon.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
class-wc-helper-customer.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
class-wc-helper-fee.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
class-wc-helper-order.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
class-wc-helper-payment-token.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
class-wc-helper-product.php Change in the logic of is_visible_core for variable products 2020-07-28 09:01:52 +02:00
class-wc-helper-settings.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
class-wc-helper-shipping-zones.php Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
class-wc-helper-shipping.php Add unit tests and helpers for #26654 2020-07-24 19:09:59 +05:30