Blog
-
Shopify LiquidDoc: Type Your Snippet Parameters
LiquidDoc puts typed @param headers on Shopify snippets and static blocks so Theme Check flags missing, misspelt and mistyped render arguments.
-
Hydrogen Sitemap: Fix the Links the Starter Gets Wrong
A Hydrogen sitemap from getSitemap needs its own getLink, because the starter sends articles, metaobjects and locale alternates to 404s.
-
CompressionStream: Gzip in the Browser, No Library
CompressionStream gzips data in the browser and Node with no library: pipe a stream through it, read the bytes back with Response, then upload them.
-
Shopify Cart Permalinks: When to Switch to /buy
A Shopify cart permalink preloads variants and opens checkout: how the legacy /cart format and the new UCP /buy link differ, and when to use each.
-
Shopify Fulfillment Constraints: Keep Items Together
A Shopify fulfillment constraints function makes cart lines ship from one location or a list you set. Input query, JS code and rule setup.
-
Node Single Executable Application: Ship One Binary
Build a Node single executable application on Node 26 with node --build-sea: bundle to one file, embed assets, sign it, and know where it breaks.
-
Shopify GDPR Webhooks: Redact Data Without a Session
Shopify GDPR webhooks are three compliance topics every public app must subscribe to, verify with HMAC and act on within 30 days.
-
Migrate a WordPress Blog to Shopify With articleCreate
Move WordPress posts to Shopify by reading the WP REST API and calling articleCreate per post, keeping slugs, dates, authors, tags and images.
-
Auto-Resize a Textarea in CSS with field-sizing
Auto-resize a textarea in CSS with field-sizing: content, capped with min and max block sizes in lh units, plus a small fallback for older browsers.
-
Shopify Section Groups: Header and Footer in JSON
Shopify section groups put the header and footer in JSON files merchants can edit: the schema, the sections tag, enabled_on and a safe migration.
-
Hydrogen i18n: Put the Locale in the URL Path
Hydrogen i18n works best as a URL prefix: read the locale in context.ts, pass it as i18n, rename routes to ($locale) and let @inContext fill every query.
-
bfcache Not Working? Find the Blocker, Then Remove It
Your bfcache is not working because of one of a short list of blockers: how to read notRestoredReasons, test in DevTools and fix each one.