Liquid is Shopify’s template language: HTML with fill-in-the-blanks. Objects{{ product.title }} print data. Tags{% if %}{% for %} add logic. Filters| money transform output.
“Liquid is a safe template language that renders on Shopify’s servers. Objects output data in double braces, tags control logic, and filters modify output like money, img_url or escape. It can’t make arbitrary database queries, so data comes from Shopify’s objects, metafields or the Storefront API.”
“POST to /cart/add.js with the variant ID and quantity, then update the cart UI, ideally using the Section Rendering API to fetch fresh section HTML. Handle errors like out-of-stock.”
Before 2.0, only the homepage had drag-and-drop sections. With 2.0, templates are JSON files listing sections, so merchants can rearrange sections and blocks on every page without a developer.
Say it like this in the interview
“Templates became JSON files that reference sections; each section declares a schema with settings and blocks that merchants edit in the theme editor. Metafields can be connected to settings dynamically, and app blocks let apps inject UI without editing theme code. I build sections to be reusable and settings-driven.”
“Settings in the schema appear in the theme editor; blocks let merchants add, remove and reorder items. I add {{ block.shopify_attributes }} so the editor can highlight blocks and a presets entry so it can be added.”
Develop locally with the Shopify CLI, see changes live on a development theme, keep code in Git, and deploy through GitHub integration.
Say it like this in the interview
“shopify theme dev for a live preview, Git with the Shopify GitHub integration for deploys, Theme Check for linting, and never editing the live theme directly; changes go to an unpublished theme first.”
Products have fixed fields. Metafields are extra labelled fields you define yourself, like adding a custom column.
Say it like this in the interview
“Create a product metafield definition in Settings → Custom data, e.g. custom.care_instructions as rich text. The merchant fills it per product; in the theme I output {{ product.metafields.custom.care_instructions | metafield_tag }} or connect it as a dynamic source in a section setting. For structured repeated content, metaobjects.”
Checkout is locked for security and speed. You can’t edit its HTML (the old checkout.liquid is retired). You extend it through approved plug-in points.
Say it like this in the interview
“With Checkout Extensibility: checkout UI extensions for adding UI in defined slots, Shopify Functions for discounts, shipping and payment customisation logic, the branding API for styling, and web pixels for tracking. Many of these require Shopify Plus.”
The Admin API is the back office: manage products, orders, customers. It needs secret tokens, server-side only. The Storefront API is the shop floor: read products and build carts for customers, safe to use from a public front end like a headless Hydrogen store.
Say it like this in the interview
“Admin GraphQL API for back-office operations from a server with scoped access tokens; it’s rate-limited by query cost. Storefront API for customer-facing experiences, including headless with Hydrogen. Apps react to changes through webhooks, which I verify using the HMAC signature.”
Traps that make people fail
Putting an Admin API token in front-end JavaScript.
Shopify sends webhooks to your app when things happen (order created, product updated). Your app must verify they really came from Shopify.
Say it like this in the interview
“Subscribe to webhook topics, verify the HMAC signature, respond quickly and process in a background job, handle retries idempotently, and reconcile periodically via the Admin API in case webhooks were missed.”
Usually it’s not Shopify’s servers. It’s what was added on top: too many apps injecting scripts, huge images, and heavy theme code.
Say it like this in the interview
“Run the Shopify theme inspector and Lighthouse. Common causes: app scripts loading on every page, so I remove unused apps and leftover code from uninstalled apps; unoptimised images, so I use image_url with width plus srcset and lazy loading; render-blocking JS; large Liquid loops over all collections. I prefer native sections over apps where possible.”