Template
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 bumps the example Shopify API version to 2026-10 and drops the pinned packageManager field from package.json. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FaxyZTjAyd7UXK8xpQpF7o
13 lines
398 B
Bash
13 lines
398 B
Bash
# Shopify Storefront
|
|
NEXT_PUBLIC_SHOPIFY_DOMAIN=mock.shop
|
|
# NEXT_PUBLIC_SHOPIFY_PUBLIC_ACCESS_TOKEN=
|
|
# NEXT_PUBLIC_SHOPIFY_API_VERSION=2026-10
|
|
|
|
# Store assistant — set to 1 to show the Ask launcher; anything else hides it
|
|
NEXT_PUBLIC_ENABLE_AI=0
|
|
|
|
# Store assistant (/api/chat) — https://openrouter.ai/keys
|
|
OPENROUTER_API_KEY=
|
|
# Optional; defaults to openai/gpt-5.6-luna-pro
|
|
# OPENROUTER_MODEL=
|