Blog
-
Shopify visible_if: Hide Settings Until They Apply
Shopify visible_if hides a theme setting until another setting makes it relevant: what it can read, which types it skips and what Theme Check flags.
-
Shopify Store Credit API: Import Balances Only Once
The Shopify store credit API has no idempotency key, so a retried credit doubles a balance: how to issue, read and import credit with a journal.
-
Cloudflare Workers Environment Variables: Not Inherited
Cloudflare Workers environment variables come from vars, secrets or a local dev file, and a named Wrangler environment inherits none of them.
-
Shopify Captcha on Add to Cart: What Makes It Hold
Shopify has no captcha on Add to cart: where its hCaptcha runs, why a theme-only check gets skipped, and how to add one that checkout enforces.
-
Shopify Free Gift With Purchase: Who Adds the Gift?
A Shopify free gift with purchase needs an automatic Buy X get Y discount plus a cart script, because Shopify never adds the gift to the cart itself.
-
How to Fix Cumulative Layout Shift: Reserve the Space
How to fix cumulative layout shift: log which element moved, find what pushed it, then reserve space for the image, banner or embed that arrived late.
-
Shopify Storefront API Access Token: Public or Private?
A Shopify Storefront API access token is public or private: which header each uses, where to create one, and what a rejected token looks like.
-
How to Stop Bots Buying Limited Products on Shopify
To stop bots buying limited products on Shopify, enforce the rule at checkout: what a bot does, what Shopify includes, and what a captcha check adds.
-
Vite Proxy Not Working: Read the Response First
When the Vite proxy is not working, the response says why: HTML means no rule matched, an API 404 means a wrong path, and a 502 means no connection.
-
PrestaShop to Shopify Migration: Get the Prices Right
A PrestaShop to Shopify migration turns tax-excluded base prices and combination impacts into variant prices, so let the webservice compute them.
-
Shopify GraphQL Codegen: Why Types Fall Back to any
Shopify GraphQL codegen types admin.graphql() by the exact query string, so a reformatted query or a missing dependency quietly gives you any.
-
Next.js Standalone Output: What server.js Leaves Out
Next.js standalone output builds a self-contained server.js but leaves out public and .next/static, so copy both in and set HOSTNAME before you ship.