woocommerce/plugins
Bart Kalisz ff197207ef
Product Collection: Don't render when empty unless the no results block is present (#50404)
* Disable PC render when content empty unless no results block is present

* Introduce empty PC classname

* Add E2E test

* Add changelog entry

* Ensure the render is preserved as expected

* Do not render empty div

* Update tests

* Try a different logic

* Add hint to the docblock

* Remove obsolete e2e test

* Update render handler name to acknowledge context

* Fix tests failing due to recent v3 update

* Restore block interactivity

---------

Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com>
2024-08-30 08:48:54 +02:00
..
woo-ai Fix typos. (#50047) 2024-08-23 18:26:09 +01:00
woocommerce Product Collection: Don't render when empty unless the no results block is present (#50404) 2024-08-30 08:48:54 +02:00
woocommerce-admin add: stripe tax to onboarding tax task (#50989) 2024-08-29 19:48:51 +08:00
woocommerce-beta-tester Refactor WooCommercePayments task to use woo payment gateway from`WC()->payment_gateways->payment_gateways()` (#50953) 2024-08-28 10:44:28 +08:00
woocommerce-blocks Product Collection: Don't render when empty unless the no results block is present (#50404) 2024-08-30 08:48:54 +02:00