A Shopify store can show its products in two ways: a Liquid theme that Shopify hosts, or a custom storefront such as Next.js that reads the same catalogue. This site uses both: www.oceansoft.io is the Next.js storefront with a shop assistant, and shop.oceansoft.io is the Liquid theme and checkout.
Shopify: the source of every commerce fact
- Practice: keep prices, stock, currency, cart totals and customer accounts in Shopify, and read them from Shopify's answers. Never copy them into the storefront.
- Practice: let Shopify run checkout and payments. Card details never touch the storefront.
- Limit: some admin changes, such as Search & Discovery filter settings, send no change notice, so a custom storefront fetches those results fresh each time.
Liquid theme
- Best for: most small stores. The owner edits it in Shopify admin, Shopify apps add blocks, and hosting comes with the Shopify plan.
- Limits: only Shopify's page types, no plain-text page versions, and no shop assistant with its own model and spending limits.
Next.js storefront
- Best for: stores that want their own routes, a plain-text version of every page for AI assistants, or their own shop assistant.
- Practice: cache catalogue pages and refresh them when Shopify reports a change. Never cache carts.
-
Limits:
- Commercial hosting has a monthly cost (Vercel Pro).
- Theme-editor changes and app blocks don't apply.
- Each app feature needs code.
Shop assistant (AI chat)
- Practice: search only through Shopify's own catalogue search, and take the cart from the buyer's browser, never from what the model says.
- Practice: cap spending with the model providers, limit requests per visitor, and keep a second provider as a fallback.
-
Limits:
- Every message costs money.
- An interrupted cart change isn't retried automatically, so the assistant shows the cart as Shopify returns it.
- The buyer still pays on Shopify checkout.
Which to choose
| Store | Start with |
|---|---|
| Edits its own store, uses apps | Liquid theme |
| Sells through AI assistants, wants its own shop assistant | Next.js, with the Liquid theme kept for checkout and as a fallback |