feat: Variant inventory quantity in GET requests (#7701)

* feat: Variant inventory quantity in GET requests

* clean up

* fix link name
This commit is contained in:
Oli Juhl
2024-06-13 13:41:54 +02:00
committed by GitHub
parent d2a5201eeb
commit 6ee0a2c1b5
9 changed files with 224 additions and 111 deletions
@@ -30,6 +30,7 @@ export const ProductVariantSection = ({
product.id,
{
...searchParams,
fields: "*inventory_items.inventory.location_levels,+inventory_quantity",
},
{
placeholderData: keepPreviousData,