fix(shopify): listings read the page URL again (after the v8 cutover)
Summary
Passes the page URL to the Shopify listing loader again, so category, search and catch-all pages list products. This lands right after the v8 cutover, per the product owner (2026-10-17: "Match prod now, fix right after"). The migration PR keeps production's broken listings on purpose. Base: feat/next-major.
v7 never passed the page URL. Its URL wrapper wasn't reached through the commerce listingPage extension, so the loader read https://localhost/. Production therefore lists nothing on these pages, live too. The fix is one argument in src/blocks/commerce.ts: pageState().url.
Before / after
Captured on 2026-10-17 at 1440 px against the live Shopify catalog, with vite dev on each branch. Left: feat/next-major (= production). Right: this branch.
/s?q=capy

/s?q=swim

The category pages (/shirts, /stickers, ā¦) read their collection now too. They still show 0 results because the Shopify catalog was replaced on 2026-10-10 and those collections are empty. That is a catalog change, not a code issue.
Parity
The listing, search and catch-all pages now differ from production by design. That is the product owner's "fix right after" decision, recorded as approvedDecisions listing-match-prod in the harness on feat/next-major.
Checks
tsc --noEmit: clean- unit tests: 11/11 pass
š¤ Generated with Claude Code