Some checks failed
CI / Lint, Unit & Integration Tests (push) Has been cancelled
shopify.web.toml never existed at the repo root. Without it, `shopify app dev` runs the theme/UI-extension/Function dev servers fine but never starts the actual Remix app, and has no local dev-server port to build a tunnel URL from for the embedded admin app — so Admin always showed the generic "Find this app in the pages where you work" fallback, regardless of which app record was linked, cache state, or CLI version. Root-caused via `shopify app dev --verbose`, which showed the CLI's own reverse proxy had a route for /extensions but none for /. Also updates shopify.app.toml's client_id to a freshly linked app (the previous one, and two accidental duplicates created while chasing this bug via `dev --reset`/`config link`, were deleted from the Dev Dashboard), resets application_url/redirect_urls to placeholders now that dev's auto-update actually works, restores checkout-datetime's network_access capability (briefly disabled to test an unrelated theory — confirmed not the real cause), and widens the dev-log gitignore pattern. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
50 lines
2.4 KiB
TOML
50 lines
2.4 KiB
TOML
# Learn more about configuring your checkout UI extension:
|
|
# https://shopify.dev/docs/api/checkout-ui-extensions/latest/configuration
|
|
|
|
# The version of APIs your extension will receive. Learn more:
|
|
# https://shopify.dev/docs/api/usage/versioning
|
|
api_version = "2026-07"
|
|
|
|
[[extensions]]
|
|
name = "Delivery Date & Time (Checkout)"
|
|
handle = "checkout-datetime"
|
|
type = "ui_extension"
|
|
uid = "14165501-9e99-cb7d-e2bf-2e25f3028ca218bc5e8a"
|
|
description = "Plus-only native picker in checkout, plus a Thank You page confirmation of the scheduled slot."
|
|
|
|
# purchase.checkout.block.render: the native picker inside checkout itself
|
|
# (Plus only — non-Plus checkout can't host a custom block; those stores
|
|
# rely entirely on the storefront widget + Validation Function instead, per
|
|
# IMPLEMENTATION_PLAN.md §9's "no checkout.liquid fallback" risk note).
|
|
[[extensions.targeting]]
|
|
module = "./src/Checkout.jsx"
|
|
target = "purchase.checkout.block.render"
|
|
|
|
# purchase.thank-you.block.render: read-only confirmation of the slot
|
|
# selected above. NOTE: there is no purchase.order-status.block.render in
|
|
# this API version — order-status-page display for ALL plans (not just
|
|
# Plus) is handled separately, by a Theme App Extension block reading the
|
|
# order's note_attributes (see extensions/datetime-widget/blocks/
|
|
# order-confirmation.liquid), since that works on every plan via Liquid,
|
|
# not just where checkout extensibility is available.
|
|
[[extensions.targeting]]
|
|
module = "./src/ThankYou.jsx"
|
|
target = "purchase.thank-you.block.render"
|
|
|
|
[extensions.capabilities]
|
|
# Gives your extension access to directly query Shopify's storefront API.
|
|
# https://shopify.dev/docs/api/checkout-ui-extensions/latest/configuration#api-access
|
|
api_access = true
|
|
|
|
# Gives your extension access to make external network calls, using the
|
|
# JavaScript `fetch()` API. Required — this extension calls our own
|
|
# backend (checkout.scheduling.availability/hold) to share the same
|
|
# capacity pool as every other surface. Shopify requires this capability
|
|
# to be reviewed/approved before a version using it can be RELEASED (not
|
|
# just created) — deploys will show "created, but not released" until
|
|
# that approval is granted, which is fine for local dev/testing; it only
|
|
# matters before public launch. (The embedded admin app failing to load
|
|
# was a red herring here — the real cause was a missing shopify.web.toml,
|
|
# see that file's comment.)
|
|
network_access = true
|