Errors and empty states
Verified · Theme API 1
| Situation | Behavior |
|---|---|
| Unknown path | templates/404.liquid (HTTP 404) |
| Empty cart | Theme should handle cart.item_count == 0 |
| Invalid OTP | Redirect with ?error=1 + account_message |
| Missing product handle | Product template with empty/default assigns — prefer linking to 404 when you detect empty title |
| Render failure | Storefront HTTP 500 (check logs) |
Blueprint source: complete Theme Documentation Specification. Features not labeled Verified are not guaranteed.