From bd7e6810b79ff5a252bd1193ecdbb2233e49e328 Mon Sep 17 00:00:00 2001 From: Rami Bitar Date: Sat, 15 Aug 2026 16:49:25 -0400 Subject: [PATCH] Remove quantityAvailable from product variant query MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Storefront API only returns ProductVariant.quantityAvailable when the app has the unauthenticated_read_product_inventory scope, and nothing in the template reads the field — availableForSale already drives stock state. Also hides the editor left sidebar by default in PageEditor. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01FaxyZTjAyd7UXK8xpQpF7o --- components/page-editor.tsx | 1 + graphql/products.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/page-editor.tsx b/components/page-editor.tsx index 2fb11be..e7a5a60 100644 --- a/components/page-editor.tsx +++ b/components/page-editor.tsx @@ -42,6 +42,7 @@ export default function PageEditor({ pagePath, page }: PageEditorProps) {