woocommerce/plugins/woocommerce-blocks/assets/js/blocks/product-collection/edit
Manish Menaria a1a0128904
Product Collection: fetch all products for hand-picked products control (#45931)
* Fetch all products for hand-picked products control

This commit modifies the `getProducts` function usage within the Hand-Picked Products control, aiming to fetch all products regardless of catalog size.

The change involves explicitly setting `queryArgs` to include `per_page: 0` in the function call. This adjustment overrides the default behavior based on the `isLargeCatalog` condition, ensuring that all available products are fetched from the Store API for selection within the control.

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-01 14:17:12 +05:30
..
inspector-advanced-controls Product Collection: Disable client side navigation if blocks incompatible with Interactivity API are detected (#45435) 2024-03-18 08:24:03 +01:00
inspector-controls Product Collection: fetch all products for hand-picked products control (#45931) 2024-04-01 14:17:12 +05:30
toolbar-controls New flow of adding Product Collection and basic set of Collections (#42696) 2023-12-27 11:07:27 +01:00
collection-chooser.tsx New flow of adding Product Collection and basic set of Collections (#42696) 2023-12-27 11:07:27 +01:00
collection-selection-modal.tsx New flow of adding Product Collection and basic set of Collections (#42696) 2023-12-27 11:07:27 +01:00
editor.scss Remove clickable cursor on post title (#45998) 2024-03-29 08:35:01 -07:00
index.tsx New flow of adding Product Collection and basic set of Collections (#42696) 2023-12-27 11:07:27 +01:00
product-collection-content.tsx Ensure Product Collection Block's `queryId` Uniqueness (#44522) 2024-03-22 01:40:15 -07:00
product-collection-placeholder.tsx New flow of adding Product Collection and basic set of Collections (#42696) 2023-12-27 11:07:27 +01:00