Liquid Theme Troubleshooting
Start with the symptom, then check the smallest likely cause.shoppex theme dev Says The Theme Is Not Liquid
Cause: the folder does not contain theme-package.json.
Fix:
Validation Fails With Missing Template
Cause:theme-package.json declares a section or snippet that does not exist, or a template renders an undeclared snippet.
Fix:
- confirm the file exists
- confirm the path matches exactly
- add it to
paths.sectionsorpaths.snippets - add or update the
blocksregistry entry if it is a renderable block
{% render "snippets/product-card" %} requires snippets/product-card.liquid to be declared.
Dynamic Partial Is Rejected
Cause: merchant Liquid packages cannot render dynamic template paths. Wrong:Builder Cannot Select A Section
Cause: the section root is missing Builder markers. Fix every renderable section root:Local Preview Shows Fixture Data
Cause:shoppex theme dev uses fixture data by default.
Use live data:
Push Fails With Revision Mismatch
Cause: the remote draft changed after your last pull. Safe fix:CSS Or Images Are Missing
Check:- asset exists under
assets/ - asset is declared in
theme-package.json - stylesheet path is
assets/built.css - template uses
assetUrl
Add To Cart Does Nothing
Check:{{ storefrontCommerceScriptHtml | raw }}is mounted in the layout- product form has
x-data="productForm(...)"or product card has the expected platform controller - required product data is present in context
- no custom script replaced platform cart behavior
Checkout Opens Wrong Or Not At All
Do not manually build invoice URLs. Let the platform runtime create the hosted checkout handoff. Check:- cart lines have product and variant ids
- quantity is within allowed bounds
- coupon UI uses platform runtime behavior
- checkout modal or drawer snippets are mounted
- merchant payment gateways are configured
Published Page Looks Stale
Check:- You are on the live storefront, not an old preview URL.
shoppex theme publishcompleted.- The active artifact is the one you expect.
- Cache purge completed.
- Hard refresh the browser.
Server Render Fails On Missing Data
Do not add Liquid fallbacks for required contract data. Simple example: ifproduct.stock is missing for a buy box, fix the producer/render context. Do not display “In stock” from Liquid.
Useful Checks
Next Steps
Package Format
Confirm required files and manifest entries.
Core Contract
Review Liquid safety and producer responsibilities.