woocommerce/plugins/woocommerce-blocks/assets/js/blocks/product-collection
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
..
collections Product Collection: Set initial value of Created filter for New Arrivals collection (#45355) 2024-03-08 08:33:21 +01:00
edit Product Collection: fetch all products for hand-picked products control (#45931) 2024-04-01 14:17:12 +05:30
inner-blocks/no-results New flow of adding Product Collection and basic set of Collections (#42696) 2023-12-27 11:07:27 +01:00
variations Restructure Product Collection editor files (https://github.com/woocommerce/woocommerce-blocks/pull/11981) 2023-12-06 15:50:24 +01:00
block.json Product Collection: Disable client side navigation if blocks incompatible with Interactivity API are detected (#45435) 2024-03-18 08:24:03 +01:00
constants.ts Product Collection: Disable client side navigation if blocks incompatible with Interactivity API are detected (#45435) 2024-03-18 08:24:03 +01:00
frontend.tsx Product Collection: Disable client side navigation if blocks incompatible with Interactivity API are detected (#45435) 2024-03-18 08:24:03 +01:00
icon.tsx Foundation of New Product Collection Block (https://github.com/woocommerce/woocommerce-blocks/pull/9352) 2023-05-15 08:51:49 +00:00
index.tsx Fix: Enable Pagination Block Visibility in Product Collection Block (#43132) 2023-12-29 15:45:29 +05:30
save.tsx Foundation of New Product Collection Block (https://github.com/woocommerce/woocommerce-blocks/pull/9352) 2023-05-15 08:51:49 +00:00
style.scss Improve Accessibility in Product Collection Navigation (#44599) 2024-02-19 11:35:14 +05:30
types.ts Product Collection: Disable client side navigation if blocks incompatible with Interactivity API are detected (#45435) 2024-03-18 08:24:03 +01:00
utils.tsx Product Collection: disable "Sync with current query" option for 2nd+ block on archive (#44577) 2024-02-19 17:51:42 +01:00