LEMO Store — Template Audit¶
Audit of which products on lemo-test.myshopify.com are NOT assigned to the LEMO product template (product.lemo-product.json, alt product.lemo2.json).
Result (2026-07-19)¶
- Total products: 4031
- Off-template: 0
- Conclusion: Every product uses
lemo-product(orlemo2). No products are on the default Dawn template. Store is fully consistent on template assignment — no action required.
How to re-run¶
The store's product backups (shopify-backups/*/products.json) do NOT include template_suffix — Shopify's product export omits template assignment. So the audit must hit the live Admin GraphQL API.
Token: The shpua_ token from /home/dini/Downloads/work/shopify-backup.py (OAuth client_credentials, clientId e677609934... + shpss_... secret). Despite older notes saying it was theme-scoped (write_themes), it successfully reads products via GraphQL — scope is broader than recorded. Shopify dropped static Admin API tokens on 2026-01-01; this app uses the OAuth flow instead.
Script: /tmp/opencode/lemo_template_audit.py — pages all products (100/page), reads templateSuffix, lists any where it's not in {lemo-product, lemo2}. Run:
python3 /tmp/opencode/lemo_template_audit.py
Key gotcha: In API version 2026-04, the cursor is at products.pageInfo.endCursor (NOT on the edge). Pagination must use endCursor, not edges[-1].cursor.
Related¶
- [[Things to Fix - LEMO Store]]
- [[LEMO Store - Migration Checklist]]
- [[JBS LEMO Shopify Storefront]]