From 0d945f601504bda4595914c53d87fb589bd439d2 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Thu, 22 Oct 2026 16:49:37 +1100
Subject: [PATCH 001/151] Build Cellife homepage foundation with brand styling
---
.github/workflows/ci.yml | 20 +--
PROJECT_PLAN.md | 230 +++++++++++++++++++++++++++++++
README.md | 9 +-
assets/section-cellife-home.css | 57 ++++++++
docs/BRAND.md | 62 +++++++++
docs/DEVELOPMENT.md | 82 +++++++++++
docs/HOMEPAGE.md | 72 ++++++++++
scripts/check-theme-json.py | 28 ++++
sections/cellife-hero.liquid | 112 +++++++++++++++
sections/cellife-pathways.liquid | 97 +++++++++++++
templates/index.json | 79 ++++++-----
11 files changed, 803 insertions(+), 45 deletions(-)
create mode 100644 PROJECT_PLAN.md
create mode 100644 assets/section-cellife-home.css
create mode 100644 docs/BRAND.md
create mode 100644 docs/DEVELOPMENT.md
create mode 100644 docs/HOMEPAGE.md
create mode 100644 scripts/check-theme-json.py
create mode 100644 sections/cellife-hero.liquid
create mode 100644 sections/cellife-pathways.liquid
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3066b6a0d82..7cbed26df2a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,20 +1,14 @@
-name: CI
-on: [push]
+name: Theme checks
+on: [push, pull_request]
+permissions:
+ contents: read
jobs:
- lhci:
- name: Lighthouse
+ structure:
+ name: JSON and section schemas
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- - name: Lighthouse
- uses: shopify/lighthouse-ci-action@v1
- with:
- store: ${{ secrets.SHOP_STORE_OS2 }}
- password: ${{ secrets.SHOP_PASSWORD_OS2 }}
- access_token: ${{ secrets.SHOP_ACCESS_TOKEN }}
- collection_handle: all
- lhci_github_app_token: ${{ secrets.LHCI_GITHUB_TOKEN }}
- pull_theme: ${{ secrets.SHOP_PULL_THEME }}
+ - run: python3 scripts/check-theme-json.py
theme-check:
name: Theme Check
runs-on: ubuntu-latest
diff --git a/PROJECT_PLAN.md b/PROJECT_PLAN.md
new file mode 100644
index 00000000000..62b53dc7d10
--- /dev/null
+++ b/PROJECT_PLAN.md
@@ -0,0 +1,230 @@
+# Cellife storefront rebuild — project plan
+
+Date: 22 October 2026 (Australia/Sydney)
+Status: Discovery and proposal only; approval required before implementation.
+
+Implementation update: the first development-baseline task was approved on
+22 October 2026. CI now runs store-independent checks; see `docs/DEVELOPMENT.md`
+for recorded source provenance, local commands and remaining verification gates.
+The public release commit differs from the local version-labelled baseline;
+exact upstream comparison and local Shopify Theme Check remain pending because
+workspace package/Git network access is unavailable. No storefront code changed.
+
+Subsequent homepage approval: the owner supplied the current store URL and asked
+to proceed with placeholders. The first visual slice now adds an editable hero,
+shopping pathways and homepage composition; see `docs/HOMEPAGE.md`. No live theme
+was changed. Baseline verification gates above remain open before release.
+
+## 1. Recommendation and scope
+
+Retain Shopify as the commerce platform and build an original Cellife identity on Dawn's server-rendered Online Store 2.0 architecture. Preserve product IDs, handles, variants, customers, orders, checkout, subscriptions and existing integrations. This is a theme rebuild, not a data migration or headless project.
+
+Keep Dawn's working commerce primitives. Add a restrained design system, a few purpose-built editorial sections, and product templates driven by structured content. Use app blocks for subscriptions and reviews. Do not build billing, a diagnostic results portal, customer eligibility enforcement, or an independent checkout in the theme.
+
+Only this document was added during discovery. No store connection, theme upload, live-theme modification, app installation, or publication was performed. Approval of this plan would authorize agreed development work; publishing the live theme still requires explicit authorization.
+
+## 2. Repository audit: verified facts
+
+Inspected repository: `/workspace/cellife-shopify-theme`; origin: `https://github.com/cremechese/cellife-shopify-theme.git`.
+
+- HEAD is `258f00f`, titled `Dawn 16.0.0 (#3946)`; `config/settings_schema.json` declares Dawn 16.0.0. The worktree was clean before this document. No applicable AGENTS.md was found in the inspected workspace.
+- Standard Shopify directories are present: `assets`, `config`, `layout`, `locales`, `sections`, `snippets`, and `templates`. No package manifest or custom bundler was found.
+- `layout/theme.liquid` provides the shared shell, Shopify's `content_for_header`, deferred scripts, conditional feature assets, and CSS generated from theme settings. Preserve Shopify injection points.
+- Templates are predominantly OS 2.0 JSON. `templates/index.json` currently composes a generic image banner and featured collection. `templates/product.json` composes `main-product`, disclosures and related products. The gift-card template remains Liquid, as expected.
+- Header/footer section groups already exist. Reusable sections include image banner, image with text, collection list, featured collection, multicolumn, collapsible content, video, contact form and apps.
+- `sections/main-product.liquid` supports `@app` blocks. `snippets/buy-buttons.liquid`, variant-picker/media snippets, `assets/product-form.js` and `assets/product-info.js` provide the product foundation. The AJAX product form serializes FormData; any subscription integration must submit the correct `selling_plan` in that form.
+- Cart page and drawer already render selling-plan names. This is useful baseline support, not proof that a particular subscription app is compatible.
+- `snippets/product-disclosures.liquid` consumes `product.metafields.shopify.disclosure`; retain that native capability rather than replacing it with an unrelated custom disclosure model.
+- Theme Check and Lighthouse CI exist in `.github/workflows/ci.yml`. Lighthouse depends on store secrets that have not been verified. Inherited CLA and stale-issue workflows are upstream project administration, not Cellife requirements; review before enabling them on this repository.
+- `.theme-check.yml` disables MatchingTranslations and TemplateLength. Record baseline findings before deciding whether to change these exceptions.
+
+The repository appears to be an upstream Dawn starting point, not an export of Cellife's current live theme. Local inspection cannot establish installed apps, actual product content, current checkout customizations, store plan, shipping rules, analytics, or integration behavior. No authenticated Shopify access was available in this audit. Runtime tests and performance measurements were not run for this documentation-only change.
+
+**Version decision:** use this tagged release lineage as the candidate baseline, then verify the current stable Dawn release, relevant fixes and compatibility before implementation. The version string alone does not establish current support. Pin the approved upstream commit/version, retain its license, and document targeted upgrades; do not automatically merge Dawn's unreleased main branch. A customized Dawn fork needs deliberate upgrade testing.
+
+## 3. Reference research and evidence limits
+
+Public homepage text/navigation was accessible on 22 October 2026 through web retrieval. This supports information-architecture observations only; no rendered screenshot, colour, typography, animation, mobile layout or measured performance was verified.
+
+| Reference | Observed structure | Cellife interpretation |
+| --- | --- | --- |
+| [qore8](https://qore8health.com/) | Shopping categories, science/ingredient navigation, product listings and community content | Connect shopping with optional supporting education; keep proof near relevant products |
+| [For Youth](https://foryouth.co/) | Goal-based shopping, bundles, best sellers and a staged product-system explanation | Offer clear routes into the range and explain relationships between products |
+| [Elevate](https://elevatevitality.com/) | Focused product story, quality information, FAQs and testimonials | Use a calm editorial sequence with progressive detail and clear purchase actions |
+
+These are structural lessons, not endorsements of reference-site claims. Do not reuse their copy, reviews, regulatory statements, photography or brand assets.
+
+Before visual sign-off, inspect rendered pages or obtain: each homepage's first viewport and full page at approximately 390px and 1440px; one collection and product page per site; mobile navigation; subscription selector; and cart/drawer states. Ask the brand owner to mark the specific qualities they like. If direct visual access remains unavailable, supplied screenshots are required for reference-specific styling observations. The design below is an original proposal, not a description of those sites.
+
+## 4. Maintainable theme structure
+
+Use standard Shopify directories, with flat filenames and a `cellife-` prefix for new components. Avoid a frontend framework, global DOM-rewriting scripts, a large override stylesheet, and duplicated commerce implementations.
+
+```text
+assets/
+ cellife-tokens.css # small semantic token layer
+ section-cellife-hero.css # section-specific styling
+ section-cellife-pathways.css
+ cellife-category-dialog.js # only if approved
+sections/
+ cellife-hero.liquid
+ cellife-pathways.liquid
+ cellife-proof-grid.liquid # only if native multicolumn is insufficient
+ cellife-testimonials.liquid # consented editorial video; reviews use app
+snippets/
+ cellife-product-badge.liquid
+ cellife-export-notice.liquid
+templates/
+ product.supplement.json
+ product.diagnostic.json
+ product.export-enquiry.json
+ page.international-enquiry.json
+docs/
+ content-model.md
+ app-compatibility.md
+ release-checklist.md
+```
+
+These filenames are proposed, not implemented. Keep `main-product`, price formatting, product cards, variant logic, cart, localization and facets shared. Add small explicit hooks when needed rather than copying entire sections into three competing product implementations. JSON templates select content and blocks; they do not enforce sales restrictions.
+
+Map semantic tokens to Dawn colour schemes and typography settings so the Theme Editor remains the source of truth. Use component-scoped selectors and a documented cascade. New sections expose meaningful image, heading, copy, link, colour scheme and layout settings with sensible presets, translation keys, and blank-content fallbacks. Avoid arbitrary per-element controls.
+
+JavaScript should use native elements or small guarded custom elements, work with multiple section instances, initialize after Theme Editor section loads, and clean up listeners when removed. Render useful content and navigation without JavaScript. Load feature scripts only where needed. Preserve `block.shopify_attributes`, section groups and app extension points.
+
+### Reuse and section inventory
+
+| Need | Starting point / proposed extension |
+| --- | --- |
+| Header, navigation, search, localization | Existing header, menu snippets and predictive search; simplify navigation to Supplements, Test kits, Learn, About |
+| Product photographic hero | Evaluate existing image-banner first; create Cellife hero only for missing mobile art direction/layout controls |
+| Two shopping pathways | Collection-list if sufficient; otherwise two configurable collection cards in Cellife pathways |
+| Best sellers and collection listings | Featured-collection, main-collection-product-grid, card-product and native filters |
+| Editorial product education | Image-with-text, rich-text, multicolumn and collapsible-content |
+| Product gallery and purchase area | Main-product, existing media, price, variant and buy-button snippets; subscription app block |
+| Evidence, FAQs, disclosures | Existing disclosures and collapsible sections; approved structured content |
+| Reviews and video | Review app blocks plus optional lightweight editorial video section; no invented ratings |
+| Export recognition and enquiry | Shared badge/notice snippets and enquiry page; platform enforcement separately |
+| Footer and newsletter | Existing footer group and newsletter; retain approved consent wording |
+
+### Content model
+
+Define merchant-owned `cellife` metafields with types, validation, descriptions and migration ownership before populating them. Prefer references and dynamic sources over copied content. Proposed fields: `product_family` (validated supplement/diagnostic value), `purchase_mode` (standard/export_enquiry), `short_summary`, approved directions/warnings, and references to FAQ/evidence content. Region-specific policy needs an explicit approved market/country model, not a single export flag.
+
+Use metaobjects for reusable FAQs (question/answer), approved evidence (title, citation, URL, reviewed date), diagnostic steps (title, copy, media), and consented video testimonials (video, poster, caption, transcript and attribution). Store consent records in an appropriate private system, not publicly exposed storefront fields. Expose only approved publishable data. Use existing Shopify review rating definitions where supported by the chosen app; do not maintain a competing ratings database.
+
+Keep price, inventory, variants, subscription plans and availability in Shopify/app systems. Preserve native `shopify.disclosure`. Missing content should omit optional sections cleanly. Regulatory credentials must be product-specific and verified. Never collect diagnostic results, symptoms or other sensitive health information in theme forms, analytics events or browser storage.
+
+## 5. Proposed premium visual system
+
+Direction: warm, precise and quietly confident. Combine natural daylight product photography with clear clinical information hierarchy. Supplements and diagnostics share one identity; distinguish them through labels, imagery and content structure rather than separate visual brands.
+
+| Element | Proposed rule |
+| --- | --- |
+| Palette | Brand-book blue (provisional swatch sample `#3E2B62`), restrained red (`#8F2C26`), dark ink (`#262125`), white and platinum `#F4F4F5`; see `docs/BRAND.md` for source inconsistencies |
+| Colour use | Blue headings/actions/focus states, white button labels, dark body text, neutral surfaces; red limited to small decorative accents. Validate actual text/control pairings against WCAG AA |
+| Typography | Broadacre headings/tagline and Inter body copy per brand book p24; use existing Dawn fallbacks until licensed webfont assets are supplied, with no external font service |
+| Scale | Body 16–18px; fluid hero heading about 36–72px; section headings 28–48px; readable copy width about 60–70 characters |
+| Layout | Approximately 1280px content maximum, 20px mobile gutters/40px desktop; 4/8px spacing rhythm; section spacing roughly 48–96px |
+| Shapes | Mostly crisp layouts, modest 8–12px card corners and minimal shadows; pill badges used sparingly |
+| Controls | Clear filled and outlined actions; minimum 44px touch targets; visible focus, loading, error and disabled states |
+| Imagery | Consistent packshot scale and backgrounds; separate mobile hero crop/focal point; authentic lifestyle and kit photography; product labels remain readable |
+| Motion | Short opacity/transform feedback only; respect reduced motion; no automatic hero carousel, parallax or autoplay video |
+
+Homepage sequence: concise announcement/header → single photographic hero → Supplements/Test kits pathways → curated products → approved educational story → diagnostic process → real reviews/video → FAQs → footer. Omit empty proof modules rather than filling them with unsupported claims. Keep the two pathways visible without the optional category dialog.
+
+Product pages prioritize gallery, approved summary, price, variant selection, purchase options and clear delivery information. Supplement pages add ingredients/directions/warnings; diagnostic pages add what's included, collection process, supported locations and approved turnaround information. Export enquiry pages explain availability and next steps without misleading purchase buttons.
+
+Collection pages use useful introductions, consistent cards, native sorting/filtering and product-family-appropriate filters. On mobile, use a readable grid and accessible filter drawer. Reserve card image and price space to avoid shifts.
+
+## 6. Feature ownership and commerce constraints
+
+| Feature | Shopify configuration / established app | Theme responsibility | Checkout or enforcement dependency |
+| --- | --- | --- | --- |
+| Hero and shopping pathways | Collections, navigation, approved photography | Responsive editable sections and links | None |
+| Product/collection pages | Product data, template assignments; Search & Discovery filters/recommendations | Shared cards, gallery, forms, facets, structured content | Shopify prices/inventory remain authoritative |
+| Export-only recognition | Markets/catalog availability where supported, shipping destinations, approved restriction policy; validation app if necessary | Badges, notices, enquiry CTA on PDP/cards/search/cart | Enforce applicable destination/product rules outside theme; Markets visibility alone may be insufficient |
+| International enquiry | Native Shopify contact form initially; Shopify Forms or existing CRM only if routing/spam/structured fields require it | Product identifier, country, contact details, escaped fields, confirmation and privacy copy | Not a checkout; do not request health data; verify recipient/routing |
+| Subscription offers | Shopify Subscriptions or compatible established app; configure 15% off every 30 days and 20% off every 90 days as selling plans | App block styling and correct selling-plan submission/display | App/Shopify own contracts, billing, retries, cancellation and customer portal |
+| Reviews | Existing review app first; compare a supported app such as Judge.me only if replacement is needed | App blocks, consistent spacing and deferred loading | No custom verification or fabricated review content |
+| Video testimonials | Shopify-hosted video and approved consented content | Poster-first playback, captions/transcript and reserved media space | Third-party embeds only after appropriate consent where required |
+| First-order offer | Native eligible-customer discount configuration where sufficient, or established discount app/Function-backed implementation | Explain offer and exclusions accurately | Eligibility and discount apply server-side; cookie, popup or Liquid customer checks are insufficient |
+| Category overlay | No app needed | Optional dismissible accessible dialog, remember non-sensitive preference where appropriate | Never an eligibility or export restriction mechanism |
+| Future quiz | Prefer established recommendation app; static editorial navigation if enough | Lazy entry point, accessible results linking to products | No medical diagnosis; assess privacy and consent before collecting data |
+| Future infographics | Approved content and Shopify media/metaobjects | Responsive images with dimensions, text equivalents and optional HTML explanation | No unsupported clinical interpretation |
+
+### Subscription decisions and compatibility tests
+
+First identify any existing subscription provider and contracts; retain them unless an explicit migration is separately approved. No provider is selected by this plan. Confirm payment gateway/country eligibility, Shopify Markets/currency behavior, customer account portal, variant coverage, stock handling, fulfilment/integration compatibility, cancellation terms and total app/script cost.
+
+Clarify whether 90-day means one unit delivered every 90 days or a three-unit supply; billing and delivery intervals must match approved business terms. Thirty/ninety days must not silently become calendar month/quarter. Confirm discount duration, base price, shipping, taxes, renewal disclosures, first-order discount combination, and excluded/export-only products. Derive displayed amounts from actual selling-plan allocations, not theme arithmetic or hard-coded plan IDs.
+
+Test one-time and both plans across variant changes, product form, cart drawer/page, same variant with different plans, quantity changes, discounts, sold-out state and checkout. Disable quick-add for subscription-required products unless it supports valid plan selection. Verify accelerated checkout and alternative purchase entry points with the chosen app. Styling must not break app initialization or Theme Editor behavior. Prove sandbox renewal and cancellation through the app; a successful initial checkout alone is insufficient.
+
+### Checkout limitations
+
+Liquid themes do not control hosted checkout. Do not plan `checkout.liquid`, checkout DOM manipulation, or theme JavaScript as a checkout solution. Use supported Checkout Extensibility and Shopify capabilities only where needed. Information/shipping/payment-step UI extensions generally require Shopify Plus; other targets, branding, Functions and validation capabilities depend on plan, app distribution, API and account eligibility. Confirm current Shopify documentation and the store's entitlements before promising a customization.
+
+For export products, define whether the rule concerns visibility, shipping destination, billing country, enquiry-only sale, or another legal criterion. Geolocation, country selectors, hidden buttons and cart attributes can be bypassed. Test direct cart requests, accelerated checkout, mixed carts, destination changes and other sales channels against the authoritative controls. Shipping profiles alone may prevent shipping without implementing the whole policy. If the available platform/app controls cannot meet the approved restriction, keep affected products unavailable for purchase until a suitable enforceable solution is proven.
+
+For first-order eligibility, define the discount amount, prior paid/cancelled/refunded order treatment, guest/returning customer behavior, subscription renewal applicability, minimum spend, market exclusions and stacking. “One use per customer” does not by itself establish “first order only.” Email capture and a new browser do not establish eligibility. Treat abuse resistance and guest identity as explicit platform constraints.
+
+## 7. Performance, accessibility and maintenance acceptance
+
+- Target field Core Web Vitals at the 75th percentile: LCP ≤2.5s, INP ≤200ms and CLS ≤0.1. These are targets, not results or launch guarantees; field validation needs sufficient real traffic.
+- Establish repeatable mobile lab baselines for homepage, representative collection and both product families, with the real app stack. Use median of three comparable runs and compare to approved baseline. Aim for Lighthouse performance ≥90 in the controlled setup, documenting any third-party exceptions.
+- Provisional budgets: mobile hero ≤250KB, desktop hero ≤400KB at delivered size; incremental first-party Cellife JS ≤20KB gzip and CSS ≤30KB gzip beyond Dawn; fonts ≤100KB total transfer. Measure real output before locking these budgets.
+- Render the LCP image in HTML using Shopify image transforms, accurate `sizes`/`srcset`, explicit dimensions, eager loading and high fetch priority only when it is actually above the fold. Lazy-load lower media. Do not preload both desktop and mobile hero downloads. Avoid CSS background heroes that delay discovery.
+- Reserve space for images, app widgets, video and purchase controls; avoid late injected banners. Audit app embeds, marketing pixels and consent behavior before adding scripts. Use native analytics/pixels rather than duplicate trackers.
+- WCAG 2.2 AA target: keyboard navigation, focus visibility/restoration, accessible dialog names/Escape handling, screen-reader form errors and cart announcements, captions, contrast, 200% zoom, reflow and reduced motion. Test Safari/iOS, Chrome/Android and desktop Safari/Chrome/Firefox/Edge.
+- The category dialog must have a visible dismiss option, never block navigation permanently, avoid showing on every page, and remain disabled in editor/design review by default. Test storage unavailable and JavaScript disabled; no medical preference storage.
+- Run Theme Check and schema/JSON validation for implementation changes. Add focused browser tests for consequential commerce behavior, not tests that merely mirror CSS. Document extension contracts, content ownership, app versions, rollback and future Dawn update procedure.
+
+## 8. Phased plan with testable milestones
+
+| Phase | Deliverables | Exit criteria |
+| --- | --- | --- |
+| 0 — Discovery and agreement | This plan, rendered reference review, existing live-theme/app/integration inventory, store-plan and policy confirmation, assets/content checklist | Owner approves direction and scope; unknowns assigned; no live changes |
+| 1 — Safe baseline | Approved stable Dawn version, pinned provenance, project-specific tooling/CI, local theme checks, authorized development/unpublished theme, baseline screenshots/performance | Theme renders with representative products; existing commerce smoke checks pass; CI cannot publish live; existing live theme backed up before later release |
+| 2 — Design foundation and homepage | Approved tokens, header/footer treatment, photographic hero, two pathways and curated products | 390px/1440px review accepted; editor reordering/empty images work; keyboard checks and hero budget pass |
+| 3 — Catalog and product families | Shared cards/collections, three product templates, typed content definitions, diagnostic process and disclosures, enquiry form | Representative multi-variant/sold-out/long-title/missing-content products pass; enquiry recipient and privacy behavior verified; handles and SEO retained |
+| 4 — Commerce integrations | Subscription app integration, export enforcement, first-order offer and reviews | Signed-off test matrix covers direct-cart/accelerated checkout bypass attempts, plan allocation/prices, eligible/ineligible discounts and app renewal/cancellation sandbox evidence |
+| 5 — Proof and optional enhancements | Approved video/testimonials and optional category dialog; quiz/infographics remain separate future scope | Caption/focus/consent tests pass; no unapproved claims; app and media budgets pass |
+| 6 — Release readiness | Cross-browser/accessibility review, lab comparisons, SEO/analytics/integration regression, merchant handover and rollback rehearsal | No unresolved critical commerce/accessibility defects; content approved; preview accepted; explicit live publication authorization obtained |
+| 7 — Authorized launch and observation | Publish only after authorization; monitor conversion, errors, fulfilment and field vitals | Smoke tests pass; subscription/discount/export rules verified; agreed observation window and rollback owner active |
+
+Development occurs in a branch and an explicitly identified development/unpublished theme. No push to the current live theme and no automatic publication. Review inherited CI's store-writing behavior before running it with credentials; changing to a draft theme does not isolate shared products, discounts, Markets or app configuration. Use a development store/sandbox for those changes where possible and obtain authorization for production configuration changes.
+
+Release tests include variant/deep links, search and filters, pagination, cart updates, gift cards if used, discount combinations, Markets, tax/shipping display, account links, transactional flows, analytics consent, reviews and existing fulfilment/lab integrations. Retain the previous published theme and document republishing it as rollback; platform/app configuration needs its own recorded rollback because switching themes does not restore it.
+
+## 9. Risks and unresolved inputs
+
+| Risk / missing input | Mitigation / decision gate |
+| --- | --- |
+| Current live implementation unknown | Inventory theme/app embeds, scripts, custom tracking, metafields, templates and integration touchpoints before replacing behavior |
+| Dawn current support unverified | Check official stable release and upgrade notes; pin and test approved version |
+| Shopify plan/checkout entitlements unknown | Confirm store plan and required extension targets before estimating checkout work |
+| Subscription provider/contracts unknown | Audit provider and contracts first; sandbox compatibility proof before visual customization |
+| Export policy ambiguous | Obtain destination/product rules and validate authoritative controls before enabling purchase |
+| First-order policy incomplete | Approve precise eligibility, amount and stacking rules; test guest and returning customers server-side |
+| Diagnostic-specific fulfilment/privacy | Confirm supported locations, kit registration, sample returns, lab notifications and result access; keep sensitive workflows in existing secure systems |
+| Claims, credentials and testimonials | Brand/regulatory owner supplies approved product-specific copy, evidence, usage rights and review provenance; no placeholders presented as facts |
+| Photography absent or inconsistent | Obtain logo/vector assets, packaging/kit imagery and desktop/mobile hero crops before final design acceptance |
+| Third-party performance regressions | Inventory scripts, establish app-on baselines, limit embeds and verify vendor load behavior |
+| Store content/editor drift | Agree code-versus-merchant ownership of JSON/settings; capture approved configuration and review diffs before deployment |
+| Theme replacement affects SEO/integrations | Preserve handles, canonical/structured data and integration selectors where required; audit redirects only where URLs actually change |
+
+Inputs needed for the next stages: store URL and plan; authorized draft/dev access when development begins; existing app/provider list; live-theme integration inventory; representative products and variants; approved export policy; subscription supply/interval terms; discount amount and eligibility; approved brand assets and copy. These are implementation gates, not reasons to invent the missing details.
+
+## 10. Smallest first implementation task
+
+After plan approval, establish the **verified Dawn development baseline** as one small reviewable change: confirm and record the approved stable Dawn version/commit, document local Shopify CLI and Theme Check commands, and adjust inherited CI so checks cannot target or publish the live theme. Record baseline check results and any pre-existing warnings. This task needs no storefront redesign or production configuration changes.
+
+Acceptance: reproducible checks, documented provenance and safe preview workflow; only intended documentation/tooling files changed. Do not fetch store credentials or run store-writing CI merely to complete local setup. Once authorized dev access exists, confirm a development preview and baseline measurements separately.
+
+The first visual implementation after that should be a single editor-configurable photographic hero, reusing image-banner where feasible. Review its mobile crop, accessible heading/CTA, missing-image behavior and LCP before extending the design across pages.
+
+## 11. Verification sources
+
+Repository evidence: `config/settings_schema.json`, `layout/theme.liquid`, `templates/index.json`, `templates/product.json`, `sections/main-product.liquid`, `snippets/buy-buttons.liquid`, `snippets/product-disclosures.liquid`, `snippets/cart-drawer.liquid`, `sections/main-cart-items.liquid`, `assets/product-form.js`, `README.md`, `.theme-check.yml`, and `.github/workflows/`.
+
+Official sources to verify during implementation: [Dawn releases](https://github.com/Shopify/dawn/releases), [Shopify theme architecture](https://shopify.dev/docs/storefronts/themes/architecture), [subscriptions](https://shopify.dev/docs/apps/build/purchase-options/subscriptions), [Checkout UI extensions](https://shopify.dev/docs/api/checkout-ui-extensions), [Shopify Functions](https://shopify.dev/docs/api/functions), and [Shopify discounts](https://help.shopify.com/en/manual/discounts). These are verification pointers: current documentation retrieval was unsuccessful in this session, so store-specific entitlement and compatibility claims remain conditional.
diff --git a/README.md b/README.md
index 3dea7f613e0..52c0f5bbd48 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,11 @@
-# Dawn
+# Cellife Shopify theme
+
+Start with [the project plan](PROJECT_PLAN.md) and [the Cellife development guide](docs/DEVELOPMENT.md)
+for baseline provenance, local checks and the safe preview workflow. The upstream
+Dawn documentation follows for reference; the Cellife guide takes precedence for
+project workflow and release safety.
+
+## Upstream Dawn
[](https://github.com/Shopify/dawn/actions/workflows/ci.yml?query=branch%3Amain)
[](/.github/CONTRIBUTING.md)
diff --git a/assets/section-cellife-home.css b/assets/section-cellife-home.css
new file mode 100644
index 00000000000..f9d5acaf052
--- /dev/null
+++ b/assets/section-cellife-home.css
@@ -0,0 +1,57 @@
+/* Scoped Cellife editorial foundation; no changes to Dawn commerce controls. */
+/* Provisional screen values sampled from brand book p23 swatches; see docs/BRAND.md. */
+.cellife-home {
+ --cellife-blue: #3e2b62;
+ --cellife-red: #8f2c26;
+ --cellife-ink: #262125;
+ --cellife-surface: #f4f4f5;
+ --cellife-white: #fff;
+ --cellife-media-surface: #e9e6ee;
+ --cellife-font-heading: 'Broadacre', var(--font-heading-family), sans-serif;
+ --cellife-font-body: 'Inter', var(--font-body-family), sans-serif;
+ color: var(--cellife-ink);
+ background: var(--cellife-surface);
+ font-family: var(--cellife-font-body);
+}
+.cellife-home h1, .cellife-home h2, .cellife-home h3 { color: var(--cellife-blue); font-family: var(--cellife-font-heading); font-weight: 500; letter-spacing: -.025em; margin: 0; overflow-wrap: anywhere; }
+.cellife-home a { color: inherit; }
+.cellife-hero { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
+.cellife-hero__copy { padding: clamp(32px, 5vw, 96px); align-self: center; }
+/* Red is a single small accent, never a competing action colour. */
+.cellife-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--cellife-red); }
+.cellife-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; line-height: 1.5; margin: 0 0 24px; }
+.cellife-hero h1 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.06; max-width: 12ch; }
+.cellife-copy { font-size: 18px; line-height: 1.65; max-width: 36ch; margin: 24px 0 0; }
+.cellife-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
+.cellife-home .cellife-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--cellife-blue); border-radius: 4px; background: var(--cellife-blue); color: var(--cellife-white); font-size: 14px; text-decoration: none; line-height: 1.5; }
+.cellife-home .cellife-action--outline { color: var(--cellife-blue); background: transparent; }
+.cellife-home a:hover { text-decoration: underline; text-underline-offset: 4px; }
+.cellife-home a:focus-visible { outline: 3px solid var(--cellife-blue); outline-offset: 5px; }
+.cellife-hero__media { min-width: 0; min-height: 620px; position: relative; background: var(--cellife-media-surface); }
+.cellife-hero__media picture { display: block; position: absolute; inset: 0; }
+.cellife-hero__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--cellife-desktop-focus); }
+.cellife-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: inherit; padding: 32px; background: radial-gradient(ellipse at 65% 30%, var(--cellife-surface), var(--cellife-media-surface) 75%); color: var(--cellife-blue); text-align: center; }
+.cellife-placeholder__symbol { font-size: clamp(80px, 12vw, 180px); font-weight: 400; line-height: 1; letter-spacing: -.08em; opacity: .45; }
+.cellife-placeholder p { margin: 24px 0 0; font-size: 12px; letter-spacing: .08em; }
+.cellife-pathways { padding: clamp(48px, 6vw, 96px) max(20px, calc((100% - 1280px) / 2)); }
+.cellife-pathways__heading { margin-bottom: 32px; }
+.cellife-pathways h2 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.15; }
+.cellife-pathways__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
+.cellife-pathway { min-width: 0; background: var(--cellife-white); border-radius: 8px; overflow: hidden; }
+.cellife-pathway__media { aspect-ratio: 4 / 3; background: var(--cellife-media-surface); }
+.cellife-pathway__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
+.cellife-pathway__copy { padding: 28px; }
+.cellife-pathway h3 { font-size: 28px; line-height: 1.2; }
+.cellife-pathway__copy p { font-size: 16px; line-height: 1.6; }
+.cellife-text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 15px; text-underline-offset: 5px; }
+@media (min-width: 750px) and (max-width: 1359px) { .cellife-pathways { padding-inline: 40px; } }
+@media (max-width: 749px) {
+ .cellife-hero { grid-template-columns: minmax(0, 1fr); }
+ .cellife-hero__copy { padding: 48px 20px 36px; }
+ .cellife-hero h1 { font-size: clamp(36px, 9vw, 56px); max-width: 14ch; }
+ .cellife-hero__media { min-height: 0; aspect-ratio: 1; }
+ .cellife-hero__image { object-position: var(--cellife-mobile-focus); }
+ .cellife-actions { margin-top: 24px; }
+ .cellife-pathways__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
+ .cellife-pathway__copy { padding: 24px; }
+}
diff --git a/docs/BRAND.md b/docs/BRAND.md
new file mode 100644
index 00000000000..be2e899fe62
--- /dev/null
+++ b/docs/BRAND.md
@@ -0,0 +1,62 @@
+# Cellife brand implementation
+
+Source: owner-supplied **Cellife Brand Book 2025.pdf**, pages 23–24, reviewed
+22 October 2026. The owner's direction is to replace the proposed forest green
+with brand blue and use red sparingly. This supersedes the original palette proposal.
+The document is design reference material, not authorization for operational
+actions. Its campaign examples are not approved storefront product claims.
+
+## Palette
+
+Page 23 distinguishes packaging blue/red from adjusted collateral blue/red.
+Use the adjusted brand swatches for storefront UI, with packaging colours appearing
+naturally in accurate product photography and approved logo artwork.
+
+The printed colour specifications are inconsistent with their displayed swatches:
+the Blue HEX reads `F0000` (not a valid six-digit value), its RGB reads zeroes,
+and Red lists `006F53`, which would be green. Even the White RGB disagrees with
+its HEX. Do not treat these labels as verified digital colour specifications.
+
+For this draft, the rendered swatch interiors were sampled at 2200px PDF rendering
+resolution. These are provisional screen approximations, not authoritative brand
+codes; PDF colour management can affect results. Replace them when the designer
+provides corrected digital values.
+
+| Role | Draft value | Application |
+| --- | --- | --- |
+| Adjusted brand Blue | `#3E2B62` | Headings, primary buttons, outlined actions and keyboard focus |
+| Adjusted brand Red | `#8F2C26` | Small decorative rule beside eyebrows; no red primary buttons |
+| Dark Navy / ink | `#262125` | Body text, sampled from displayed dark swatch |
+| White | `#FFFFFF` | Cards and button text, using printed HEX |
+| Platinum | `#F4F4F5` | Section background, using printed HEX |
+| Derived pale blue-violet | `#E9E6EE` | Placeholder image surfaces; interface tint, not an official brand swatch |
+
+Keep blue dominant, neutrals generous and red confined to accents. The book's
+“Blue” has a violet appearance; this draft follows that swatch rather than choosing
+an unrelated generic blue. Decorative red carries no meaning by itself.
+
+## Typography
+
+Page 24 specifies **Broadacre** (Regular 0 / Medium 0) for headings and tagline,
+and **Inter** for longer body copy. The CSS now declares those intended families
+and falls back to existing Dawn heading/body settings and sans-serif. The original
+over-tight headline tracking was relaxed for the broader brand lettering.
+
+No webfont files were supplied, and none were extracted from the PDF or downloaded
+from an unverified source. Declaring a family does not install it: current rendering
+will use fallbacks unless the font is available. Obtain licensed Broadacre WOFF2
+assets and the exact CSS family/weight mapping, plus Inter WOFF2 and its license,
+before claiming final typography. Then add local `@font-face` declarations with
+`font-display: swap`, only the necessary weights, and remeasure font transfer and
+layout shift. Avoid an external font service.
+
+## Scope and verification
+
+These tokens currently apply to the new Cellife homepage sections only. Existing
+Dawn header/footer, collection cards and commerce components retain their theme
+settings; a later global design pass should map the same palette/type into Dawn
+colour schemes and typography without accumulating overrides.
+
+Check contrast for blue/white, blue/platinum and ink/platinum. Red is decorative,
+so it is not used as small copy or as the sole signal for an interactive state.
+Actual browser, final-webfont and Shopify Theme Editor checks remain pending.
diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md
new file mode 100644
index 00000000000..4ba0f6a14f6
--- /dev/null
+++ b/docs/DEVELOPMENT.md
@@ -0,0 +1,82 @@
+# Cellife development baseline
+
+## Provenance
+
+Recorded 22 October 2026. Local source baseline: Dawn version label `16.0.0`, commit
+`258f00f64365e2018ca4c62778a6bf55a5d3cd18`. Keep this immutable commit as the
+comparison point for Cellife changes. Shopify's license remains in `LICENSE.md`.
+
+The [official releases page](https://github.com/Shopify/dawn/releases) currently
+lists v16.0.0 as latest, pointing to `bc39a7d`. This differs from the local source
+commit despite the same version label. The upstream release notes require stores
+using legacy customer accounts to upgrade before publishing that release.
+**This source has not been verified byte-for-byte against the release tag.**
+Do not describe it as a verified exact release or publish it based on its label.
+
+Before visual implementation, fetch the official tag in a network-enabled environment,
+compare it with the recorded baseline, inspect release changes and confirm Cellife's
+customer-account setup. Then deliberately adopt the release or document why the
+existing commit is retained. Never merge upstream main automatically.
+
+```sh
+git fetch https://github.com/Shopify/dawn.git tag v16.0.0
+git rev-parse v16.0.0^{commit}
+git diff --stat 258f00f64365e2018ca4c62778a6bf55a5d3cd18 v16.0.0
+```
+
+## Local checks
+
+No frontend build step is required. Python 3 runs the dependency-free JSON syntax
+check; Shopify CLI supplies Liquid and schema checks. Install a supported Shopify
+CLI version following its official instructions, record `shopify version` with
+results, and use the same version across developers when establishing the baseline.
+
+```sh
+python3 scripts/check-theme-json.py
+shopify theme check
+git diff --check
+```
+
+JSON validation is not a substitute for Theme Check or storefront testing.
+The inherited Theme Check exceptions for MatchingTranslations and TemplateLength
+remain unchanged until a real baseline report is available.
+
+CI runs JSON validation and the existing Shopify Theme Check action on pushes and
+pull requests with read-only repository permissions. It has no store credentials,
+theme upload, Lighthouse deployment, or publication step. The inherited Lighthouse
+job was removed because it used store credentials and could write a preview theme.
+CLA and stale-issue workflows remain separate inherited repository administration;
+they are not deployment workflows.
+
+## Preview workflow
+
+After a development store and its access are authorized, substitute its actual
+hostname in the following command. It creates/updates a development theme and
+requires authentication; local checking above does not.
+
+```sh
+shopify theme dev --store YOUR-DEVELOPMENT-STORE.myshopify.com
+```
+
+Use a development store with representative, non-sensitive sample data first.
+If an existing store must be used, verify the destination and development theme ID.
+Do not use `--allow-live`, `theme publish`, or push to the live theme. Theme
+development does not isolate shared discounts, apps, products or Markets settings.
+Production configuration and live publication require separate authorization.
+
+Once access exists, capture homepage, collection and product screenshots at mobile
+and desktop sizes and record three comparable mobile Lighthouse runs with the real
+app stack. Record the store/theme, date, tool version, device/network settings and
+median metrics. Until then there is no rendered or performance baseline.
+
+## Initial check record
+
+- Runtime: Node 24.19.0; npm 11.9.0; Python 3 available.
+- Shopify CLI and Ruby Theme Check were not installed in this workspace.
+- Direct Git access failed because the configured proxy was unreachable. npm
+ metadata access also failed to return, so no CLI package/version was installed.
+- Release notes were readable through public web retrieval; full tag verification
+ remains pending. No upstream code was changed or fetched into the worktree.
+- JSON validation and whitespace results are recorded in the completion report.
+- Shopify Theme Check, GitHub Actions execution, browser, commerce and performance
+ checks remain unrun; no passing result is implied.
diff --git a/docs/HOMEPAGE.md b/docs/HOMEPAGE.md
new file mode 100644
index 00000000000..ec359e31f0f
--- /dev/null
+++ b/docs/HOMEPAGE.md
@@ -0,0 +1,72 @@
+# Cellife homepage: first visual slice
+
+The homepage now composes a Cellife hero, shopping pathways and Dawn's existing
+featured collection. This is local theme code only; it has not been uploaded.
+
+## Editing
+
+In an authorized development theme's Customize screen, open Home page:
+
+1. **Cellife photographic hero:** replace the marked placeholder using Desktop
+ image; add Mobile image for a separate crop. Edit the eyebrow, heading,
+ description and two links. Desktop photography occupies the right-hand panel;
+ mobile photography sits below the copy so text contrast does not depend on art.
+2. **Cellife shopping pathways:** replace each category image and edit its heading,
+ description and destination. Reorder up to four cards. The section is limited
+ to one homepage instance so its hero navigation anchor stays unique.
+3. **Featured collection:** choose a curated collection and its display settings
+ using Dawn's existing controls. Prices, images and availability come from real
+ Shopify product data; no fake catalog entries were added.
+
+The hero's second link scrolls to the pathways. It must be updated if that section
+is removed. Empty button destinations omit the button rather than create dead links.
+An absent desktop image falls back to the mobile image; absent imagery renders an
+explicit placeholder. Final image alt text is managed in Shopify's image settings.
+
+## Image brief
+
+- Hero desktop: approximately 1800 × 1600px, product-focused still life with natural
+ daylight and platinum/neutral surroundings with brand-blue cues. Product sits in the image panel;
+ leave text out of the artwork. Target delivered desktop transfer ≤400KB.
+- Hero mobile: approximately 900 × 900px, a tighter composition with readable
+ packaging; target delivered transfer ≤250KB.
+- Category images: 4:3, approximately 1200 × 900px, consistent lighting and product
+ scale. Supplements, respiratory tests, drug/alcohol tests and women’s/urinary
+ tests should be visually distinct without inventing packaging or credentials.
+- Use real final packaging. Keep labels, ingredient details and regulatory marks
+ accurate. Do not bake benefit claims or text into the image.
+
+These are art-direction suggestions; Shopify generates responsive image sizes.
+
+## Sources and boundaries
+
+The current public homepage and category destinations were inspected through web
+text retrieval on 22 October 2026. The four category links in the template match
+those observed destinations, including the existing `respiratory-tests-copy`
+handle for Drug & Alcohol Tests. That handle was preserved deliberately.
+The heading “Science for better everyday health.” comes from the current homepage.
+It remains subject to brand review; no new efficacy claims, ratings or testimonials
+were added. No rendered current-site layout observations are claimed.
+
+The Cellife CSS is scoped to these sections. Brand-book palette and typography
+decisions are recorded in `docs/BRAND.md`. There is no added JavaScript, font
+download, app, popup, subscription logic or checkout change. Images reserve their
+space and the first hero receives eager/high-priority loading only in first position.
+
+## Verification and remaining gates
+
+Local JSON/embedded schema syntax validation passes (107 documents); whitespace
+checks pass. Shopify CLI is unavailable locally, and package
+access fails because the configured proxy is unreachable. A static layout browser
+check was attempted with installed Playwright/Chromium, but Chromium exited before
+rendering because sandbox socket operations were denied. Theme Check, actual
+Liquid rendering, screenshot review, keyboard/screen-reader checks, Theme Editor
+interaction and Lighthouse remain pending. This is an implementation ready for
+development-theme verification, not a verified release-ready storefront.
+
+Before release, compare the pinned local source against the official Dawn release,
+confirm customer-account compatibility, and run Theme Check. In a development
+preview check 390px and 1440px widths, 200% zoom, long headings, all images missing,
+mobile-only image, both image crops, blank links, section reordering and image
+replacements. Verify each category link, hero anchor, keyboard focus, collection
+cards and unchanged cart behavior. Measure LCP/CLS with real final photography.
diff --git a/scripts/check-theme-json.py b/scripts/check-theme-json.py
new file mode 100644
index 00000000000..1c8f37621b8
--- /dev/null
+++ b/scripts/check-theme-json.py
@@ -0,0 +1,28 @@
+"""Validate theme JSON syntax, including embedded Liquid section schemas.
+
+Shopify Theme Check remains responsible for Liquid and schema semantics.
+Run from any directory; no dependencies or store access required.
+"""
+
+import json
+import re
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[1]
+count = 0
+for directory in ("config", "locales", "templates", "sections"):
+ for path in sorted((ROOT / directory).rglob("*")):
+ if path.suffix == ".json":
+ # Shopify may prepend a generated-file block comment to JSON files.
+ source = re.sub(r"\A\s*/\*.*?\*/", "", path.read_text(), count=1, flags=re.S)
+ json.loads(source)
+ count += 1
+ elif path.suffix == ".liquid":
+ for schema in re.findall(r"{%\s*schema\s*%}(.*?){%\s*endschema\s*%}", path.read_text(), re.S):
+ try:
+ json.loads(schema)
+ except json.JSONDecodeError as error:
+ raise ValueError(f"Invalid schema in {path.relative_to(ROOT)}: {error}") from error
+ count += 1
+
+print(f"Validated {count} theme JSON documents and section schemas.")
diff --git a/sections/cellife-hero.liquid b/sections/cellife-hero.liquid
new file mode 100644
index 00000000000..074b10ca5fc
--- /dev/null
+++ b/sections/cellife-hero.liquid
@@ -0,0 +1,112 @@
+{{ 'section-cellife-home.css' | asset_url | stylesheet_tag }}
+{%- liquid
+ assign hero_image = section.settings.image | default: section.settings.mobile_image
+ assign priority = 'auto'
+ assign image_loading = 'lazy'
+ if section.index == 1
+ assign priority = 'high'
+ assign image_loading = 'eager'
+ endif
+-%}
+
+
+ {% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
+
{{ section.settings.heading | escape }}
+ {% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
+
+
+
+
+
+{% schema %}
+{
+ "name": "Cellife photographic hero",
+ "tag": "div",
+ "class": "cellife-hero-section",
+ "limit": 1,
+ "enabled_on": {
+ "templates": [
+ "index"
+ ]
+ },
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow",
+ "default": "CELLIFE HEALTHCARE"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Science for better everyday health."
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Description",
+ "default": "
Explore Cellife supplements and diagnostic tests.
"
+ },
+ {
+ "type": "image_picker",
+ "id": "image",
+ "label": "Desktop image",
+ "info": "Recommended: 1800 \u00d7 1600px. Use the image focal point to set the crop."
+ },
+ {
+ "type": "image_picker",
+ "id": "mobile_image",
+ "label": "Mobile image",
+ "info": "Optional separate crop, approximately 900 \u00d7 900px."
+ },
+ {
+ "type": "text",
+ "id": "placeholder_label",
+ "label": "Placeholder label",
+ "default": "Product photography placeholder"
+ },
+ {
+ "type": "text",
+ "id": "button_label",
+ "label": "Primary button label",
+ "default": "Explore supplements"
+ },
+ {
+ "type": "url",
+ "id": "button_link",
+ "label": "Primary button link"
+ },
+ {
+ "type": "text",
+ "id": "secondary_label",
+ "label": "Secondary button label",
+ "default": "Explore test kits"
+ },
+ {
+ "type": "url",
+ "id": "secondary_link",
+ "label": "Secondary button link"
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife photographic hero"
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/cellife-pathways.liquid b/sections/cellife-pathways.liquid
new file mode 100644
index 00000000000..d202c948282
--- /dev/null
+++ b/sections/cellife-pathways.liquid
@@ -0,0 +1,97 @@
+{{ 'section-cellife-home.css' | asset_url | stylesheet_tag }}
+
+
+{% schema %}
+{
+ "name": "Cellife shopping pathways",
+ "tag": "div",
+ "limit": 1,
+ "enabled_on": { "templates": ["index"] },
+ "max_blocks": 4,
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow",
+ "default": "EXPLORE CELLIFE"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Find your starting point."
+ }
+ ],
+ "blocks": [
+ {
+ "type": "pathway",
+ "name": "Shopping pathway",
+ "settings": [
+ {
+ "type": "image_picker",
+ "id": "image",
+ "label": "Image"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Supplements"
+ },
+ {
+ "type": "text",
+ "id": "text",
+ "label": "Description"
+ },
+ {
+ "type": "text",
+ "id": "link_label",
+ "label": "Link label",
+ "default": "Explore range"
+ },
+ {
+ "type": "url",
+ "id": "link",
+ "label": "Destination"
+ }
+ ]
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife shopping pathways",
+ "blocks": [
+ {
+ "type": "pathway"
+ },
+ {
+ "type": "pathway"
+ }
+ ]
+ }
+ ]
+}
+{% endschema %}
diff --git a/templates/index.json b/templates/index.json
index f5b6ea329d9..4a7bc774469 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -1,54 +1,70 @@
{
"sections": {
- "image_banner": {
- "type": "image-banner",
+ "cellife_hero": {
+ "type": "cellife-hero",
+ "settings": {
+ "button_link": "/collections/supplements",
+ "secondary_link": "#cellife-shopping-pathways"
+ }
+ },
+ "cellife_pathways": {
+ "type": "cellife-pathways",
"blocks": {
- "heading": {
- "type": "heading",
+ "pathway_0": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Supplements",
+ "text": "Explore the supplement range.",
+ "link_label": "Explore range",
+ "link": "/collections/supplements"
+ }
+ },
+ "pathway_1": {
+ "type": "pathway",
"settings": {
- "heading": "Browse our latest products",
- "heading_size": "h0"
+ "heading": "Respiratory tests",
+ "text": "Explore respiratory test kits.",
+ "link_label": "Explore range",
+ "link": "/collections/respiratory-tests"
}
},
- "button": {
- "type": "buttons",
+ "pathway_2": {
+ "type": "pathway",
"settings": {
- "button_label_1": "Shop all",
- "button_link_1": "shopify://collections/all",
- "button_style_secondary_1": true,
- "button_label_2": "",
- "button_link_2": "",
- "button_style_secondary_2": false
+ "heading": "Drug & alcohol tests",
+ "text": "Explore drug and alcohol test kits.",
+ "link_label": "Explore range",
+ "link": "/collections/respiratory-tests-copy"
+ }
+ },
+ "pathway_3": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Women\u2019s & urinary health",
+ "text": "Explore women\u2019s and urinary health tests.",
+ "link_label": "Explore range",
+ "link": "/collections/womens-urinary-health"
}
}
},
"block_order": [
- "heading",
- "button"
+ "pathway_0",
+ "pathway_1",
+ "pathway_2",
+ "pathway_3"
],
- "settings": {
- "image_overlay_opacity": 40,
- "image_height": "large",
- "desktop_content_position": "bottom-center",
- "show_text_box": false,
- "image_behavior": "none",
- "desktop_content_alignment": "center",
- "color_scheme": "scheme-3",
- "mobile_content_alignment": "center",
- "stack_images_on_mobile": false,
- "show_text_below": false
- }
+ "settings": {}
},
"featured_collection": {
"type": "featured-collection",
"settings": {
- "title": "Featured products",
+ "title": "Explore the Cellife range",
"heading_size": "h2",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "all",
- "products_to_show": 8,
+ "products_to_show": 4,
"columns_desktop": 4,
"color_scheme": "scheme-1",
"full_width": false,
@@ -69,7 +85,8 @@
}
},
"order": [
- "image_banner",
+ "cellife_hero",
+ "cellife_pathways",
"featured_collection"
]
}
From e7bda78fe2ef3801abbcafc0e176addb4233621d Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Fri, 23 Oct 2026 00:16:33 +0000
Subject: [PATCH 002/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified config/settings_data.json (Xing Mao)
---
config/settings_data.json | 204 +++++++++++++++++++++++++++++++++++++-
1 file changed, 203 insertions(+), 1 deletion(-)
diff --git a/config/settings_data.json b/config/settings_data.json
index 911ad493e29..081f5f869dd 100644
--- a/config/settings_data.json
+++ b/config/settings_data.json
@@ -1,5 +1,207 @@
+/*
+ * ------------------------------------------------------------
+ * IMPORTANT: The contents of this file are auto-generated.
+ *
+ * This file may be updated by the Shopify admin theme editor
+ * or related systems. Please exercise caution as any changes
+ * made to this file may be overwritten.
+ * ------------------------------------------------------------
+ */
{
- "current": "Dawn",
+ "current": {
+ "logo": "shopify://shop_images/cellife-health-logo.png",
+ "logo_width": 160,
+ "favicon": "shopify://shop_images/cellife-favicon.png",
+ "type_header_font": "assistant_n4",
+ "heading_scale": 100,
+ "type_body_font": "assistant_n4",
+ "body_scale": 100,
+ "page_width": 1200,
+ "spacing_sections": 0,
+ "spacing_grid_horizontal": 8,
+ "spacing_grid_vertical": 8,
+ "animations_reveal_on_scroll": true,
+ "animations_hover_elements": "none",
+ "buttons_border_thickness": 1,
+ "buttons_border_opacity": 100,
+ "buttons_radius": 0,
+ "buttons_shadow_opacity": 0,
+ "buttons_shadow_horizontal_offset": 0,
+ "buttons_shadow_vertical_offset": 4,
+ "buttons_shadow_blur": 5,
+ "variant_pills_border_thickness": 1,
+ "variant_pills_border_opacity": 55,
+ "variant_pills_radius": 40,
+ "variant_pills_shadow_opacity": 0,
+ "variant_pills_shadow_horizontal_offset": 0,
+ "variant_pills_shadow_vertical_offset": 4,
+ "variant_pills_shadow_blur": 5,
+ "inputs_border_thickness": 1,
+ "inputs_border_opacity": 55,
+ "inputs_radius": 0,
+ "inputs_shadow_opacity": 0,
+ "inputs_shadow_horizontal_offset": 0,
+ "inputs_shadow_vertical_offset": 4,
+ "inputs_shadow_blur": 5,
+ "card_style": "standard",
+ "card_image_padding": 0,
+ "card_text_alignment": "left",
+ "card_color_scheme": "scheme-2",
+ "card_border_thickness": 0,
+ "card_border_opacity": 10,
+ "card_corner_radius": 0,
+ "card_shadow_opacity": 0,
+ "card_shadow_horizontal_offset": 0,
+ "card_shadow_vertical_offset": 4,
+ "card_shadow_blur": 5,
+ "collection_card_style": "standard",
+ "collection_card_image_padding": 0,
+ "collection_card_text_alignment": "left",
+ "collection_card_color_scheme": "scheme-2",
+ "collection_card_border_thickness": 0,
+ "collection_card_border_opacity": 10,
+ "collection_card_corner_radius": 0,
+ "collection_card_shadow_opacity": 0,
+ "collection_card_shadow_horizontal_offset": 0,
+ "collection_card_shadow_vertical_offset": 4,
+ "collection_card_shadow_blur": 5,
+ "blog_card_style": "standard",
+ "blog_card_image_padding": 0,
+ "blog_card_text_alignment": "left",
+ "blog_card_color_scheme": "scheme-2",
+ "blog_card_border_thickness": 0,
+ "blog_card_border_opacity": 10,
+ "blog_card_corner_radius": 0,
+ "blog_card_shadow_opacity": 0,
+ "blog_card_shadow_horizontal_offset": 0,
+ "blog_card_shadow_vertical_offset": 4,
+ "blog_card_shadow_blur": 5,
+ "text_boxes_border_thickness": 0,
+ "text_boxes_border_opacity": 10,
+ "text_boxes_radius": 0,
+ "text_boxes_shadow_opacity": 0,
+ "text_boxes_shadow_horizontal_offset": 0,
+ "text_boxes_shadow_vertical_offset": 4,
+ "text_boxes_shadow_blur": 5,
+ "media_border_thickness": 1,
+ "media_border_opacity": 5,
+ "media_radius": 0,
+ "media_shadow_opacity": 0,
+ "media_shadow_horizontal_offset": 0,
+ "media_shadow_vertical_offset": 4,
+ "media_shadow_blur": 5,
+ "popup_border_thickness": 1,
+ "popup_border_opacity": 10,
+ "popup_corner_radius": 0,
+ "popup_shadow_opacity": 5,
+ "popup_shadow_horizontal_offset": 0,
+ "popup_shadow_vertical_offset": 4,
+ "popup_shadow_blur": 5,
+ "drawer_border_thickness": 1,
+ "drawer_border_opacity": 10,
+ "drawer_shadow_opacity": 0,
+ "drawer_shadow_horizontal_offset": 0,
+ "drawer_shadow_vertical_offset": 4,
+ "drawer_shadow_blur": 5,
+ "badge_position": "bottom left",
+ "badge_corner_radius": 40,
+ "sale_badge_color_scheme": "scheme-4",
+ "sold_out_badge_color_scheme": "scheme-3",
+ "brand_headline": "",
+ "brand_description": "
",
+ "brand_image_width": 100,
+ "social_facebook_link": "",
+ "social_instagram_link": "",
+ "social_youtube_link": "",
+ "social_tiktok_link": "",
+ "social_twitter_link": "",
+ "social_snapchat_link": "",
+ "social_pinterest_link": "",
+ "social_tumblr_link": "",
+ "social_vimeo_link": "",
+ "predictive_search_enabled": true,
+ "predictive_search_show_vendor": false,
+ "predictive_search_show_price": false,
+ "currency_code_enabled": true,
+ "cart_type": "notification",
+ "show_vendor": false,
+ "show_cart_note": false,
+ "cart_drawer_collection": "",
+ "cart_color_scheme": "scheme-1",
+ "customer_account_menu": "customer-account-main-menu",
+ "sections": {
+ "main-password-header": {
+ "type": "main-password-header",
+ "settings": {
+ "color_scheme": "scheme-1"
+ }
+ },
+ "main-password-footer": {
+ "type": "main-password-footer",
+ "settings": {
+ "color_scheme": "scheme-1"
+ }
+ }
+ },
+ "content_for_index": [],
+ "color_schemes": {
+ "scheme-1": {
+ "settings": {
+ "background": "#ffffff",
+ "background_gradient": "",
+ "text": "#121212",
+ "button": "#121212",
+ "button_label": "#ffffff",
+ "secondary_button_label": "#121212",
+ "shadow": "#121212"
+ }
+ },
+ "scheme-2": {
+ "settings": {
+ "background": "#f3f3f3",
+ "background_gradient": "",
+ "text": "#121212",
+ "button": "#121212",
+ "button_label": "#f3f3f3",
+ "secondary_button_label": "#121212",
+ "shadow": "#121212"
+ }
+ },
+ "scheme-3": {
+ "settings": {
+ "background": "#242833",
+ "background_gradient": "",
+ "text": "#ffffff",
+ "button": "#ffffff",
+ "button_label": "#000000",
+ "secondary_button_label": "#ffffff",
+ "shadow": "#121212"
+ }
+ },
+ "scheme-4": {
+ "settings": {
+ "background": "#121212",
+ "background_gradient": "",
+ "text": "#ffffff",
+ "button": "#ffffff",
+ "button_label": "#121212",
+ "secondary_button_label": "#ffffff",
+ "shadow": "#121212"
+ }
+ },
+ "scheme-5": {
+ "settings": {
+ "background": "#334fb4",
+ "background_gradient": "",
+ "text": "#ffffff",
+ "button": "#ffffff",
+ "button_label": "#334fb4",
+ "secondary_button_label": "#ffffff",
+ "shadow": "#121212"
+ }
+ }
+ }
+ },
"presets": {
"Dawn": {
"logo_width": 90,
From 7c22062be3701d51c25de32099b626d904b222fe Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 11:30:54 +1100
Subject: [PATCH 003/151] Make homepage hero full width with frosted text
overlay
---
assets/section-cellife-home.css | 18 ++++++++++++------
docs/HOMEPAGE.md | 14 ++++++++------
sections/cellife-hero.liquid | 6 +++---
3 files changed, 23 insertions(+), 15 deletions(-)
diff --git a/assets/section-cellife-home.css b/assets/section-cellife-home.css
index f9d5acaf052..3ccefa0dfb8 100644
--- a/assets/section-cellife-home.css
+++ b/assets/section-cellife-home.css
@@ -15,8 +15,14 @@
}
.cellife-home h1, .cellife-home h2, .cellife-home h3 { color: var(--cellife-blue); font-family: var(--cellife-font-heading); font-weight: 500; letter-spacing: -.025em; margin: 0; overflow-wrap: anywhere; }
.cellife-home a { color: inherit; }
-.cellife-hero { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
-.cellife-hero__copy { padding: clamp(32px, 5vw, 96px); align-self: center; }
+.cellife-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 680px; padding: clamp(32px, 5vw, 80px); }
+.cellife-hero__copy { position: relative; z-index: 1; width: 100%; max-width: 620px; min-width: 0; padding: clamp(28px, 3.5vw, 56px); align-self: center; background: rgba(244, 244, 245, .96); border: 1px solid rgba(255, 255, 255, .7); border-radius: 12px; }
+@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
+ .cellife-hero__copy { background: rgba(244, 244, 245, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
+}
+@media (prefers-reduced-transparency: reduce) {
+ .cellife-hero__copy { background: var(--cellife-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
+}
/* Red is a single small accent, never a competing action colour. */
.cellife-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--cellife-red); }
.cellife-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; line-height: 1.5; margin: 0 0 24px; }
@@ -27,7 +33,8 @@
.cellife-home .cellife-action--outline { color: var(--cellife-blue); background: transparent; }
.cellife-home a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cellife-home a:focus-visible { outline: 3px solid var(--cellife-blue); outline-offset: 5px; }
-.cellife-hero__media { min-width: 0; min-height: 620px; position: relative; background: var(--cellife-media-surface); }
+.cellife-hero__media { position: absolute; inset: 0; z-index: 0; min-width: 0; background: var(--cellife-media-surface); }
+.cellife-hero__media > .cellife-placeholder { align-items: flex-end; justify-content: flex-start; padding: 32px; }
.cellife-hero__media picture { display: block; position: absolute; inset: 0; }
.cellife-hero__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--cellife-desktop-focus); }
.cellife-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: inherit; padding: 32px; background: radial-gradient(ellipse at 65% 30%, var(--cellife-surface), var(--cellife-media-surface) 75%); color: var(--cellife-blue); text-align: center; }
@@ -46,10 +53,9 @@
.cellife-text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 15px; text-underline-offset: 5px; }
@media (min-width: 750px) and (max-width: 1359px) { .cellife-pathways { padding-inline: 40px; } }
@media (max-width: 749px) {
- .cellife-hero { grid-template-columns: minmax(0, 1fr); }
- .cellife-hero__copy { padding: 48px 20px 36px; }
+ .cellife-hero { min-height: 680px; padding: 160px 20px 24px; }
+ .cellife-hero__copy { align-self: end; padding: 28px 24px; }
.cellife-hero h1 { font-size: clamp(36px, 9vw, 56px); max-width: 14ch; }
- .cellife-hero__media { min-height: 0; aspect-ratio: 1; }
.cellife-hero__image { object-position: var(--cellife-mobile-focus); }
.cellife-actions { margin-top: 24px; }
.cellife-pathways__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
diff --git a/docs/HOMEPAGE.md b/docs/HOMEPAGE.md
index ec359e31f0f..ec9fceb073e 100644
--- a/docs/HOMEPAGE.md
+++ b/docs/HOMEPAGE.md
@@ -9,8 +9,10 @@ In an authorized development theme's Customize screen, open Home page:
1. **Cellife photographic hero:** replace the marked placeholder using Desktop
image; add Mobile image for a separate crop. Edit the eyebrow, heading,
- description and two links. Desktop photography occupies the right-hand panel;
- mobile photography sits below the copy so text contrast does not depend on art.
+ description and two links. Photography spans the full hero width behind a translucent text panel. The
+ panel uses backdrop blur where supported, a more opaque fallback otherwise,
+ and a solid background when reduced transparency is requested. On mobile it
+ sits toward the bottom; long copy grows the hero rather than being clipped.
2. **Cellife shopping pathways:** replace each category image and edit its heading,
description and destination. Reorder up to four cards. The section is limited
to one homepage instance so its hero navigation anchor stays unique.
@@ -25,11 +27,11 @@ explicit placeholder. Final image alt text is managed in Shopify's image setting
## Image brief
-- Hero desktop: approximately 1800 × 1600px, product-focused still life with natural
- daylight and platinum/neutral surroundings with brand-blue cues. Product sits in the image panel;
+- Hero desktop: approximately 2400 × 1400px, product-focused still life with natural
+ daylight and platinum/neutral surroundings with brand-blue cues. Keep the product toward the right, clear of the overlaid text panel;
leave text out of the artwork. Target delivered desktop transfer ≤400KB.
-- Hero mobile: approximately 900 × 900px, a tighter composition with readable
- packaging; target delivered transfer ≤250KB.
+- Hero mobile: approximately 900 × 1400px, a portrait composition with readable
+ packaging above the lower text panel; target delivered transfer ≤250KB.
- Category images: 4:3, approximately 1200 × 900px, consistent lighting and product
scale. Supplements, respiratory tests, drug/alcohol tests and women’s/urinary
tests should be visually distinct without inventing packaging or credentials.
diff --git a/sections/cellife-hero.liquid b/sections/cellife-hero.liquid
index 074b10ca5fc..7665884b1d3 100644
--- a/sections/cellife-hero.liquid
+++ b/sections/cellife-hero.liquid
@@ -24,7 +24,7 @@
{% if section.settings.mobile_image != blank %}
{% endif %}
- {{ hero_image | image_url: width: 1800 | image_tag: widths: '400, 600, 900, 1200, 1500, 1800', sizes: '(min-width: 750px) 55vw, 100vw', loading: image_loading, fetchpriority: priority, class: 'cellife-hero__image' }}
+ {{ hero_image | image_url: width: 2400 | image_tag: widths: '400, 600, 900, 1200, 1500, 1800, 2400', sizes: '100vw', loading: image_loading, fetchpriority: priority, class: 'cellife-hero__image' }}
{% else %}
c. {{ section.settings.placeholder_label | escape }}
@@ -66,13 +66,13 @@
"type": "image_picker",
"id": "image",
"label": "Desktop image",
- "info": "Recommended: 1800 \u00d7 1600px. Use the image focal point to set the crop."
+ "info": "Recommended: 2400 \u00d7 1400px. Full-width image; keep the subject right of the text panel and set the focal point."
},
{
"type": "image_picker",
"id": "mobile_image",
"label": "Mobile image",
- "info": "Optional separate crop, approximately 900 \u00d7 900px."
+ "info": "Optional portrait crop, approximately 900 \u00d7 1400px. Text overlays the lower part of the image."
},
{
"type": "text",
From 4b234baa13bc42895a39603a287370d18d8f022a Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Fri, 23 Oct 2026 00:32:09 +0000
Subject: [PATCH 004/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified assets/section-cellife-home.css (editor not recorded)
- modified sections/cellife-hero.liquid (editor not recorded)
- modified templates/index.json (Xing Mao)
---
templates/index.json | 35 +++++++++++++++++++++++++++--------
1 file changed, 27 insertions(+), 8 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index 4a7bc774469..dfbb1022a1c 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -1,9 +1,25 @@
+/*
+ * ------------------------------------------------------------
+ * IMPORTANT: The contents of this file are auto-generated.
+ *
+ * This file may be updated by the Shopify admin theme editor
+ * or related systems. Please exercise caution as any changes
+ * made to this file may be overwritten.
+ * ------------------------------------------------------------
+ */
{
"sections": {
"cellife_hero": {
"type": "cellife-hero",
"settings": {
+ "eyebrow": "CELLIFE HEALTHCARE",
+ "heading": "Science for better everyday health.",
+ "text": "Explore Cellife supplements and diagnostic tests.
",
+ "image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion_a32a4e6f-472b-464f-8045-d5156ec92ede.png",
+ "placeholder_label": "Product photography placeholder",
+ "button_label": "Explore supplements",
"button_link": "/collections/supplements",
+ "secondary_label": "Explore test kits",
"secondary_link": "#cellife-shopping-pathways"
}
},
@@ -40,8 +56,8 @@
"pathway_3": {
"type": "pathway",
"settings": {
- "heading": "Women\u2019s & urinary health",
- "text": "Explore women\u2019s and urinary health tests.",
+ "heading": "Women’s & urinary health",
+ "text": "Explore women’s and urinary health tests.",
"link_label": "Explore range",
"link": "/collections/womens-urinary-health"
}
@@ -53,25 +69,27 @@
"pathway_2",
"pathway_3"
],
- "settings": {}
+ "settings": {
+ "eyebrow": "EXPLORE CELLIFE",
+ "heading": "Find your starting point."
+ }
},
"featured_collection": {
"type": "featured-collection",
"settings": {
+ "collection": "all",
+ "products_to_show": 4,
"title": "Explore the Cellife range",
"heading_size": "h2",
"description": "",
"show_description": false,
"description_style": "body",
- "collection": "all",
- "products_to_show": 4,
"columns_desktop": 4,
- "color_scheme": "scheme-1",
+ "enable_desktop_slider": false,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
- "enable_desktop_slider": false,
- "swipe_on_mobile": false,
+ "color_scheme": "scheme-1",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
@@ -79,6 +97,7 @@
"show_rating": false,
"quick_add": "none",
"columns_mobile": "2",
+ "swipe_on_mobile": false,
"padding_top": 44,
"padding_bottom": 36
}
From ee25063600783302f8bbf29e577add13d81acc74 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 11:36:25 +1100
Subject: [PATCH 005/151] Make hero glass panel more transparent
---
assets/section-cellife-home.css | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/assets/section-cellife-home.css b/assets/section-cellife-home.css
index 3ccefa0dfb8..15dc3920a66 100644
--- a/assets/section-cellife-home.css
+++ b/assets/section-cellife-home.css
@@ -16,9 +16,9 @@
.cellife-home h1, .cellife-home h2, .cellife-home h3 { color: var(--cellife-blue); font-family: var(--cellife-font-heading); font-weight: 500; letter-spacing: -.025em; margin: 0; overflow-wrap: anywhere; }
.cellife-home a { color: inherit; }
.cellife-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 680px; padding: clamp(32px, 5vw, 80px); }
-.cellife-hero__copy { position: relative; z-index: 1; width: 100%; max-width: 620px; min-width: 0; padding: clamp(28px, 3.5vw, 56px); align-self: center; background: rgba(244, 244, 245, .96); border: 1px solid rgba(255, 255, 255, .7); border-radius: 12px; }
+.cellife-hero__copy { position: relative; z-index: 1; width: 100%; max-width: 620px; min-width: 0; padding: clamp(28px, 3.5vw, 56px); align-self: center; background: rgba(244, 244, 245, .96); border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; }
@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
- .cellife-hero__copy { background: rgba(244, 244, 245, .88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
+ .cellife-hero__copy { background: rgba(244, 244, 245, .4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
@media (prefers-reduced-transparency: reduce) {
.cellife-hero__copy { background: var(--cellife-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
From c270cfa66bb14158a0fdbae2270e96236ffeabb2 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Fri, 23 Oct 2026 00:38:23 +0000
Subject: [PATCH 006/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified assets/section-cellife-home.css (editor not recorded)
- modified templates/index.json (Xing Mao)
---
templates/index.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/templates/index.json b/templates/index.json
index dfbb1022a1c..c9b8496ce8c 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -16,6 +16,7 @@
"heading": "Science for better everyday health.",
"text": "Explore Cellife supplements and diagnostic tests.
",
"image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion_a32a4e6f-472b-464f-8045-d5156ec92ede.png",
+ "mobile_image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion.png",
"placeholder_label": "Product photography placeholder",
"button_label": "Explore supplements",
"button_link": "/collections/supplements",
From 15233c9714626ad83cd223d49adcb52887812760 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 11:54:25 +1100
Subject: [PATCH 007/151] Add isolated supplement and diagnostic shopping
journeys
---
assets/cellife-journeys.css | 45 ++++++
assets/cellife-journeys.js | 98 +++++++++++++
config/settings_schema.json | 17 +++
docs/DUAL_PATH_MILESTONE.md | 118 ++++++++++++++++
sections/cellife-journey-collections.liquid | 80 +++++++++++
sections/cellife-journey-gateway.liquid | 133 ++++++++++++++++++
sections/cellife-journey-nav.liquid | 45 ++++++
sections/cellife-landing-intro.liquid | 46 ++++++
sections/header-group.json | 7 +-
snippets/cellife-journey-card.liquid | 14 ++
snippets/cellife-journey-url.liquid | 15 ++
templates/index.json | 7 +
templates/page.diagnostic-test-kits.json | 52 +++++++
templates/page.supplements.json | 30 ++++
tests/dual-path.cjs | 146 ++++++++++++++++++++
15 files changed, 852 insertions(+), 1 deletion(-)
create mode 100644 assets/cellife-journeys.css
create mode 100644 assets/cellife-journeys.js
create mode 100644 docs/DUAL_PATH_MILESTONE.md
create mode 100644 sections/cellife-journey-collections.liquid
create mode 100644 sections/cellife-journey-gateway.liquid
create mode 100644 sections/cellife-journey-nav.liquid
create mode 100644 sections/cellife-landing-intro.liquid
create mode 100644 snippets/cellife-journey-card.liquid
create mode 100644 snippets/cellife-journey-url.liquid
create mode 100644 templates/page.diagnostic-test-kits.json
create mode 100644 templates/page.supplements.json
create mode 100644 tests/dual-path.cjs
diff --git a/assets/cellife-journeys.css b/assets/cellife-journeys.css
new file mode 100644
index 00000000000..c257c3c20fe
--- /dev/null
+++ b/assets/cellife-journeys.css
@@ -0,0 +1,45 @@
+/* Isolated shopping architecture. No overrides of the existing hero or cards. */
+.cellife-journeys, .cellife-journey-nav, .cellife-journey-dialog {
+ --journey-blue: #3e2b62;
+ --journey-ink: #262125;
+ --journey-surface: #f4f4f5;
+ color: var(--journey-ink);
+ font-family: 'Inter', var(--font-body-family, sans-serif);
+}
+.cellife-journeys { padding: 56px max(20px, calc((100% - 1280px) / 2)); background: var(--journey-surface); }
+.cellife-journeys h1, .cellife-journeys h2, .cellife-journeys h3, .cellife-journey-dialog h2 { color: var(--journey-blue); font-family: 'Broadacre', var(--font-heading-family, sans-serif); font-weight: 500; letter-spacing: -.025em; overflow-wrap: anywhere; }
+.cellife-journeys__intro { max-width: 64ch; margin-bottom: 32px; }
+.cellife-journeys__eyebrow { font-size: 12px; letter-spacing: .14em; }
+.cellife-journeys h1 { font-size: clamp(36px, 4vw, 60px); line-height: 1.1; }
+.cellife-journeys h2, .cellife-journey-dialog h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; margin: 0 0 16px; }
+.cellife-journeys p, .cellife-journey-dialog p { line-height: 1.6; }
+.cellife-journeys__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
+.cellife-journeys__grid > div, .cellife-journey-card { min-width: 0; }
+.cellife-journey-card { height: 100%; background: white; border: 1px solid #e9e6ee; border-radius: 12px; overflow: hidden; }
+.cellife-journey-card__media { aspect-ratio: 16 / 9; background: #e9e6ee; }
+.cellife-journey-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
+.cellife-journey-placeholder { height: 100%; display: grid; place-items: center; color: var(--journey-blue); background: linear-gradient(135deg, #f4f4f5, #e9e6ee); }
+.cellife-journey-placeholder span { font-size: 72px; opacity: .5; }
+.cellife-journey-card__copy { padding: 28px; }
+.cellife-journey-card h3 { font-size: 28px; line-height: 1.2; margin: 0 0 16px; }
+.cellife-journey-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: var(--journey-blue); text-underline-offset: 5px; }
+.cellife-journey-nav { display: flex; justify-content: center; gap: 12px 32px; flex-wrap: wrap; padding: 8px 20px; border-bottom: 1px solid #e9e6ee; background: white; }
+.cellife-journey-nav a { display: flex; align-items: center; min-height: 44px; color: var(--journey-blue); text-decoration: none; font-size: 15px; }
+.cellife-journey-nav a:hover, .cellife-journey-nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
+.cellife-landing-intro > .rte { max-width: 64ch; }
+.cellife-landing-intro > img { display: block; width: 100%; height: auto; margin-top: 32px; border-radius: 12px; }
+.cellife-journey-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid #e9e6ee; border-radius: 16px; background: white; }
+.cellife-journey-dialog::backdrop { background: rgba(38, 33, 37, .5); }
+.cellife-journey-dialog__panel { padding: 24px 32px 32px; }
+.cellife-journey-dialog__close { display: flex; align-items: center; gap: 16px; min-height: 44px; margin: 0 0 24px auto; padding: 8px; border: 0; color: var(--journey-blue); background: transparent; font: inherit; cursor: pointer; }
+.cellife-journey-dialog__choices { display: grid; gap: 12px; margin-top: 24px; }
+.cellife-journey-dialog__choices a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; padding: 16px; color: var(--journey-blue); border: 1px solid #3e2b62; border-radius: 6px; text-decoration: none; }
+.cellife-journeys a:focus-visible, .cellife-journey-nav a:focus-visible, .cellife-journey-dialog :focus-visible { outline: 3px solid #3e2b62; outline-offset: 4px; }
+html.cellife-journey-modal-open { overflow: hidden; }
+@media (min-width: 750px) and (max-width: 1359px) { .cellife-journeys { padding-inline: 40px; } }
+@media (max-width: 749px) {
+ .cellife-journeys { padding-block: 40px; }
+ .cellife-journeys__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
+ .cellife-journey-card__copy { padding: 24px; }
+ .cellife-journey-dialog__panel { padding: 20px; }
+}
diff --git a/assets/cellife-journeys.js b/assets/cellife-journeys.js
new file mode 100644
index 00000000000..0b29f2db388
--- /dev/null
+++ b/assets/cellife-journeys.js
@@ -0,0 +1,98 @@
+/* Category preference only. No inferred destination, redirects or commerce rules. */
+(() => {
+ if (window.cellifeJourneysInitialized) return;
+ window.cellifeJourneysInitialized = true;
+
+ const preferenceKey = 'cellife:journey:v1';
+ const entryKey = 'cellife:journey-entry:v1';
+ let firstEntry = false;
+ // If storage is unavailable, keep ordinary navigation and skip interruptions.
+ try {
+ firstEntry = sessionStorage.getItem(entryKey) === null;
+ sessionStorage.setItem(entryKey, 'visited');
+ firstEntry = firstEntry && localStorage.getItem(preferenceKey) === null;
+ } catch {
+ firstEntry = false;
+ }
+
+ const remember = (choice) => {
+ try { localStorage.setItem(preferenceKey, choice); } catch { /* Navigation still works. */ }
+ };
+
+ // Listen globally so selection via persistent links or the gateway also settles it.
+ document.addEventListener('click', (event) => {
+ const link = event.target.closest('a[data-cellife-choice]');
+ if (link) remember(link.dataset.cellifeChoice);
+ });
+
+ if (customElements.get('cellife-journey-dialog')) return;
+ customElements.define('cellife-journey-dialog', class extends HTMLElement {
+ connectedCallback() {
+ if (this.controller) return;
+ this.controller = new AbortController();
+ const options = { signal: this.controller.signal };
+ this.dialog = this.querySelector('dialog');
+ if (!this.dialog || typeof this.dialog.showModal !== 'function') return;
+
+ const close = () => {
+ if (this.dialog.open) {
+ remember(this.selectedChoice || 'dismissed');
+ this.dialog.close();
+ }
+ document.documentElement.classList.remove('cellife-journey-modal-open');
+ };
+ this.closeDialog = close;
+ this.dialog.addEventListener('close', () => {
+ remember(this.selectedChoice || 'dismissed');
+ document.documentElement.classList.remove('cellife-journey-modal-open');
+ if (this.previousFocus?.isConnected) this.previousFocus.focus({ preventScroll: true });
+ }, options);
+ // Native Escape closes the dialog and fires close, recording dismissal.
+ this.dialog.addEventListener('cancel', () => remember('dismissed'), options);
+ this.querySelector('[data-cellife-dismiss]').addEventListener('click', close, options);
+ this.dialog.addEventListener('keydown', (event) => {
+ if (event.key !== 'Tab') return;
+ const controls = [...this.dialog.querySelectorAll('a[href], button:not([disabled])')];
+ const first = controls[0];
+ const last = controls[controls.length - 1];
+ if (event.shiftKey && document.activeElement === first) {
+ event.preventDefault();
+ last.focus();
+ } else if (!event.shiftKey && document.activeElement === last) {
+ event.preventDefault();
+ first.focus();
+ }
+ }, options);
+ this.dialog.addEventListener('click', (event) => {
+ if (event.target.closest('a[data-cellife-choice]')) {
+ // Do not prevent default or alter normal/modified-link navigation.
+ const choice = event.target.closest('a[data-cellife-choice]').dataset.cellifeChoice;
+ this.selectedChoice = choice;
+ close();
+ }
+ if (event.target === this.dialog) close();
+ }, options);
+ window.addEventListener('pagehide', close, options);
+ window.addEventListener('pageshow', (event) => { if (event.persisted) close(); }, options);
+ window.addEventListener('storage', (event) => {
+ if (event.key === preferenceKey && event.newValue !== null) close();
+ }, options);
+
+ let internalReferrer = false;
+ try { internalReferrer = Boolean(document.referrer) && new URL(document.referrer).origin === location.origin; } catch { /* No usable referrer. */ }
+ const navigation = performance.getEntriesByType('navigation')[0];
+ if (!firstEntry || internalReferrer || (navigation && navigation.type !== 'navigate') || window.Shopify?.designMode) return;
+ // Consume once even if the editor or another script reconnects the element.
+ firstEntry = false;
+ this.previousFocus = document.activeElement;
+ this.dialog.showModal();
+ document.documentElement.classList.add('cellife-journey-modal-open');
+ }
+
+ disconnectedCallback() {
+ this.closeDialog?.();
+ this.controller?.abort();
+ this.controller = null;
+ }
+ });
+})();
diff --git a/config/settings_schema.json b/config/settings_schema.json
index 7a7740cd097..3d5f890a434 100644
--- a/config/settings_schema.json
+++ b/config/settings_schema.json
@@ -1466,5 +1466,22 @@
"label": "t:settings_schema.customer_accounts.settings.customer_account_menu.label"
}
]
+ },
+ {
+ "name": "Cellife shopping journeys",
+ "settings": [
+ {
+ "type": "page",
+ "id": "cellife_supplements_page",
+ "label": "Supplements landing page",
+ "info": "Assign a page using the page.supplements template. Unset defaults to /pages/supplements."
+ },
+ {
+ "type": "page",
+ "id": "cellife_diagnostics_page",
+ "label": "Diagnostic Test Kits landing page",
+ "info": "Assign a page using page.diagnostic-test-kits. Unset defaults to /pages/diagnostic-test-kits."
+ }
+ ]
}
]
diff --git a/docs/DUAL_PATH_MILESTONE.md b/docs/DUAL_PATH_MILESTONE.md
new file mode 100644
index 00000000000..7abe55bc117
--- /dev/null
+++ b/docs/DUAL_PATH_MILESTONE.md
@@ -0,0 +1,118 @@
+# Dual-path shopping milestone
+
+## Implementation plan
+
+Preserve the current Shopify-connected branch's homepage settings, hero, category
+cards and product grid. Work only on `milestone/dual-path-shopping`; do not update
+`cellife-rebuild`, upload a theme, change store menus/pages, or publish.
+
+1. Add an editable two-choice homepage gateway without replacing existing sections.
+2. Add reusable landing introduction and collection-card sections, composed through
+ `page.supplements.json` and `page.diagnostic-test-kits.json`.
+3. Add a persistent secondary shopping navigation to the existing header group;
+ use shared theme settings for both landing-page destinations.
+4. Add a default-off homepage selection dialog. Use native dialog semantics,
+ keyboard dismissal/focus restoration and ordinary navigation links. Remember
+ selection/dismissal; never infer a destination or redirect automatically.
+5. Validate desktop/mobile interactions, first/direct/return entries, Back,
+ disabled storage, no JavaScript, and missing media. Record limits honestly.
+
+## Resource evidence
+
+The public store navigation was inspected on 23 October 2026. Existing collection
+destinations are `/collections/supplements`, `/collections/respiratory-tests`,
+`/collections/respiratory-tests-copy` (Drug & Alcohol Tests), and
+`/collections/womens-urinary-health`. These are retained exactly. No combined
+diagnostics collection or new collection handle is assumed.
+
+New page URLs `/pages/supplements` and `/pages/diagnostic-test-kits` are proposed
+page records, not claims that pages already exist. Templates alone do not create
+Shopify page records. Before a future authorized preview, create those records
+in a development store and assign the matching templates, or select other page
+records under Theme settings → Cellife shopping journeys. No live records are
+created in this milestone.
+
+## What was built
+
+- `cellife-journey-gateway`: two editable image/copy cards added after the existing
+ hero. Existing homepage section settings, content and relative order are retained.
+- `cellife-landing-intro` and `cellife-journey-collections`: reusable OS 2.0 sections.
+ The Supplements page uses Dawn's existing featured collection with quick-add off;
+ Diagnostics uses the three existing diagnostic collection references.
+- `cellife-journey-nav`: persistent secondary navigation in the header group,
+ visible on mobile and desktop without opening a menu. Existing menu entries stay
+ intact. Both navigation and gateway resolve through shared destination settings.
+- A homepage-only native dialog, controlled by the gateway's **Enable first-visit
+ homepage overlay** checkbox. It defaults off and is suppressed in Theme Editor.
+ Copy, labels and imagery are editable. Buttons are ordinary links, not redirects.
+
+## Entry and persistence rules
+
+The navigation's deferred script records the first page in each browser tab using
+session storage. The dialog is rendered only on the homepage, and opens only for
+an initial homepage navigation with no same-site referrer, no saved choice/dismissal,
+and an enabled setting. Product/collection entries followed by a Home click skip
+the dialog, as do reloads and browser Back/Forward navigations.
+
+An explicit category selection is saved as `supplements` or `diagnostics` under
+`cellife:journey:v1` in local storage; a dismissal is saved as `dismissed`. No health
+answers, product details, identity or analytics are recorded. This preference stays
+in that browser until storage is cleared. Another tab's saved preference closes an
+open dialog. Clearing browser data can make the optional prompt eligible again.
+No route changes occur without clicking a link; a saved preference never redirects.
+
+If local/session storage is unavailable, skip the overlay. With JavaScript disabled
+the dialog stays hidden and gateway/navigation links remain functional. Unsupported
+native dialog browsers also keep the normal links. Escape, visible dismissal and
+backdrop dismissal are supported; Tab/Shift+Tab wrap within the dialog. Page exit
+closes it, and browser Back does not restore an open modal or locked scrolling.
+Event listeners are removed when the custom element is disconnected.
+
+## Isolated preview setup — not performed on the live store
+
+1. Connect **a new unpublished theme** to `milestone/dual-path-shopping` in an
+ authorized development store. Do not switch the existing live-connected branch.
+2. Create page records for Supplements and Diagnostic Test Kits with the proposed
+ handles (or choose different handles). Assign the `supplements` and
+ `diagnostic-test-kits` page templates respectively. Shopify may only list custom
+ templates from its published theme; use a development store where this theme
+ can be published safely, or an authorized page template-assignment workflow.
+ Do not publish the production theme to make a template selectable.
+3. Under **Theme settings → Cellife shopping journeys**, select those two pages.
+ Both the persistent navigation and gateway use these settings. Default links
+ require the proposed page records; they will be 404s until the records exist.
+4. Verify/reselect the existing collections in the landing-page editor. The source
+ store's handles need matching collections in a separate development store.
+5. Optionally enable the first-visit overlay in the homepage gateway. Test outside
+ the editor in a fresh browser context. Leave it off if the overlay is not desired.
+
+Theme code and schema are ready for those assignments; this milestone does not
+pretend a JSON template creates a Shopify page or change shared store resources.
+
+## Validation record
+
+- Dependency-free JSON/embedded-schema validation: **113 documents passed**.
+- JavaScript syntax check and whitespace check: passed.
+- Structural comparison against the captured Shopify baseline: existing homepage
+ sections/settings and relative order are unchanged; only the gateway is added.
+ Both landing templates' section references resolve to repository files.
+- Chromium interaction suite at **390px and 1440px**: initial homepage prompt,
+ focus wrapping, Escape dismissal, visible dismissal, selection, browser Back,
+ route switching, returning/new-tab visits, no automatic redirect, direct product
+ and collection entry, disabled overlay, and blocked storage. No runtime errors.
+- **320px** reflow and no-JavaScript navigation checked. Missing-media placeholders
+ were used throughout. Desktop/mobile fixture screenshots were visually reviewed.
+
+Run the local interaction harness with Node and Playwright available:
+
+```sh
+node tests/dual-path.cjs
+```
+
+If Playwright is provided outside this repository, set NODE_PATH to that installation.
+The harness serves a local fixture using the production JavaScript, CSS, card and
+dialog markup. It is **not a Shopify Liquid renderer**: its route responses stand
+in for page records, and it does not validate real catalog output or checkout.
+Actual Shopify Theme Check, server-side rendering, Theme Editor updates, real page
+assignments and Safari/iOS testing remain pending authorized development-store
+access. No live-theme upload, publication, menu edit or page creation was performed.
diff --git a/sections/cellife-journey-collections.liquid b/sections/cellife-journey-collections.liquid
new file mode 100644
index 00000000000..66955e1a17b
--- /dev/null
+++ b/sections/cellife-journey-collections.liquid
@@ -0,0 +1,80 @@
+{{ 'cellife-journeys.css' | asset_url | stylesheet_tag }}
+
+
{{ section.settings.heading | escape }}
+
+ {% for block in section.blocks %}
+ {% assign collection = block.settings.collection %}
+ {% if collection != blank %}
+ {% assign card_heading = block.settings.heading | default: collection.title %}
+ {% assign card_image = block.settings.image | default: collection.image %}
+
{% render 'cellife-journey-card', image: card_image, number: forloop.index, heading: card_heading, text: block.settings.text, url: collection.url, label: block.settings.label %}
+ {% elsif request.design_mode %}
+
Select an existing collection for this card.
+ {% endif %}
+ {% endfor %}
+
+
+
+{% schema %}
+{
+ "name": "Cellife collection cards",
+ "enabled_on": {
+ "templates": [
+ "page"
+ ]
+ },
+ "settings": [
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Shop by category"
+ }
+ ],
+ "max_blocks": 6,
+ "blocks": [
+ {
+ "type": "collection",
+ "name": "Collection card",
+ "settings": [
+ {
+ "type": "collection",
+ "id": "collection",
+ "label": "Existing collection"
+ },
+ {
+ "type": "image_picker",
+ "id": "image",
+ "label": "Optional image override"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Optional heading override"
+ },
+ {
+ "type": "text",
+ "id": "text",
+ "label": "Description"
+ },
+ {
+ "type": "text",
+ "id": "label",
+ "label": "Link label",
+ "default": "Explore range"
+ }
+ ]
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife collection cards",
+ "blocks": [
+ {
+ "type": "collection"
+ }
+ ]
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/cellife-journey-gateway.liquid b/sections/cellife-journey-gateway.liquid
new file mode 100644
index 00000000000..76f8ea9fed8
--- /dev/null
+++ b/sections/cellife-journey-gateway.liquid
@@ -0,0 +1,133 @@
+{{ 'cellife-journeys.css' | asset_url | stylesheet_tag }}
+{%- capture supplements_url -%}{%- render 'cellife-journey-url', journey: 'supplements' -%}{%- endcapture -%}
+{%- capture diagnostics_url -%}{%- render 'cellife-journey-url', journey: 'diagnostics' -%}{%- endcapture -%}
+
+ {{ section.settings.eyebrow | escape }}
{{ section.settings.heading | escape }} {{ section.settings.text | escape }}
+
+ {% render 'cellife-journey-card', image: section.settings.supplements_image, number: '01', heading: section.settings.supplements_title, text: section.settings.supplements_text, url: supplements_url, label: section.settings.supplements_label, journey: 'supplements' %}
+ {% render 'cellife-journey-card', image: section.settings.diagnostics_image, number: '02', heading: section.settings.diagnostics_title, text: section.settings.diagnostics_text, url: diagnostics_url, label: section.settings.diagnostics_label, journey: 'diagnostics' %}
+
+
+{% if section.settings.overlay_enabled and request.page_type == 'index' and request.design_mode == false %}
+
+
+
+
{{ section.settings.dismiss_label | escape }} ×
+
{{ section.settings.overlay_heading | escape }}
+
{{ section.settings.overlay_text | escape }}
+
+
+
+
+{% endif %}
+
+{% schema %}
+{
+ "name": "Cellife journey gateway",
+ "limit": 1,
+ "enabled_on": {
+ "templates": [
+ "index"
+ ]
+ },
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow",
+ "default": "TWO WAYS TO EXPLORE"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "What brings you to Cellife?"
+ },
+ {
+ "type": "text",
+ "id": "text",
+ "label": "Introduction",
+ "default": "Choose a starting point. Both ranges are always available to explore."
+ },
+ {
+ "type": "image_picker",
+ "id": "supplements_image",
+ "label": "Supplements image"
+ },
+ {
+ "type": "text",
+ "id": "supplements_title",
+ "label": "Supplements heading",
+ "default": "Supplements"
+ },
+ {
+ "type": "text",
+ "id": "supplements_text",
+ "label": "Supplements description",
+ "default": "Explore the Cellife supplement range."
+ },
+ {
+ "type": "text",
+ "id": "supplements_label",
+ "label": "Supplements link label",
+ "default": "Explore supplements"
+ },
+ {
+ "type": "image_picker",
+ "id": "diagnostics_image",
+ "label": "Diagnostic Test Kits image"
+ },
+ {
+ "type": "text",
+ "id": "diagnostics_title",
+ "label": "Diagnostic Test Kits heading",
+ "default": "Diagnostic Test Kits"
+ },
+ {
+ "type": "text",
+ "id": "diagnostics_text",
+ "label": "Diagnostic Test Kits description",
+ "default": "Browse respiratory, drug and alcohol, and women\u2019s and urinary health tests."
+ },
+ {
+ "type": "text",
+ "id": "diagnostics_label",
+ "label": "Diagnostic Test Kits link label",
+ "default": "Explore diagnostic test kits"
+ },
+ {
+ "type": "checkbox",
+ "id": "overlay_enabled",
+ "label": "Enable first-visit homepage overlay",
+ "info": "Only new homepage entries. Disabled in the Theme Editor. Choice or dismissal is remembered in this browser. Both pathways remain available below.",
+ "default": false
+ },
+ {
+ "type": "text",
+ "id": "overlay_heading",
+ "label": "Overlay heading",
+ "default": "Where would you like to start?"
+ },
+ {
+ "type": "text",
+ "id": "overlay_text",
+ "label": "Overlay description",
+ "default": "Explore supplements or diagnostic test kits. You can switch at any time."
+ },
+ {
+ "type": "text",
+ "id": "dismiss_label",
+ "label": "Dismiss label",
+ "default": "Continue browsing"
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife journey gateway"
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/cellife-journey-nav.liquid b/sections/cellife-journey-nav.liquid
new file mode 100644
index 00000000000..a1d4e41803f
--- /dev/null
+++ b/sections/cellife-journey-nav.liquid
@@ -0,0 +1,45 @@
+{{ 'cellife-journeys.css' | asset_url | stylesheet_tag }}
+
+{%- capture supplements_url -%}{%- render 'cellife-journey-url', journey: 'supplements' -%}{%- endcapture -%}
+{%- capture diagnostics_url -%}{%- render 'cellife-journey-url', journey: 'diagnostics' -%}{%- endcapture -%}
+
+ {{ section.settings.supplements_label | escape }}
+ {{ section.settings.diagnostics_label | escape }}
+
+
+{% schema %}
+{
+ "name": "Cellife journey navigation",
+ "limit": 1,
+ "enabled_on": {
+ "groups": [
+ "header"
+ ]
+ },
+ "settings": [
+ {
+ "type": "text",
+ "id": "label",
+ "label": "Navigation label",
+ "default": "Shopping pathways"
+ },
+ {
+ "type": "text",
+ "id": "supplements_label",
+ "label": "Supplements label",
+ "default": "Supplements"
+ },
+ {
+ "type": "text",
+ "id": "diagnostics_label",
+ "label": "Diagnostics label",
+ "default": "Diagnostic Test Kits"
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife journey navigation"
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/cellife-landing-intro.liquid b/sections/cellife-landing-intro.liquid
new file mode 100644
index 00000000000..bbb2148c90c
--- /dev/null
+++ b/sections/cellife-landing-intro.liquid
@@ -0,0 +1,46 @@
+{{ 'cellife-journeys.css' | asset_url | stylesheet_tag }}
+
+ {{ section.settings.eyebrow | escape }}
+ {{ section.settings.heading | default: page.title | escape }}
+ {{ section.settings.text }}
+ {% if section.settings.image != blank %}{{ section.settings.image | image_url: width: 1800 | image_tag: widths: '600, 900, 1200, 1800', sizes: '100vw', loading: 'eager' }}{% endif %}
+
+
+{% schema %}
+{
+ "name": "Cellife landing intro",
+ "enabled_on": {
+ "templates": [
+ "page"
+ ]
+ },
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow",
+ "default": "EXPLORE CELLIFE"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading"
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Introduction"
+ },
+ {
+ "type": "image_picker",
+ "id": "image",
+ "label": "Optional introductory image"
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife landing intro"
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/header-group.json b/sections/header-group.json
index d20087eb398..9d8ddac6ca8 100644
--- a/sections/header-group.json
+++ b/sections/header-group.json
@@ -45,10 +45,15 @@
"padding_top": 20,
"padding_bottom": 20
}
+ },
+ "cellife_journey_nav": {
+ "type": "cellife-journey-nav",
+ "settings": {}
}
},
"order": [
"announcement-bar",
- "header"
+ "header",
+ "cellife_journey_nav"
]
}
diff --git a/snippets/cellife-journey-card.liquid b/snippets/cellife-journey-card.liquid
new file mode 100644
index 00000000000..d74583ef2c2
--- /dev/null
+++ b/snippets/cellife-journey-card.liquid
@@ -0,0 +1,14 @@
+
+
+
+
{{ heading | escape }}
+ {% if text != blank %}
{{ text | escape }}
{% endif %}
+ {% if url != blank %}
{{ label | escape }} {% endif %}
+
+
diff --git a/snippets/cellife-journey-url.liquid b/snippets/cellife-journey-url.liquid
new file mode 100644
index 00000000000..6ad2f299020
--- /dev/null
+++ b/snippets/cellife-journey-url.liquid
@@ -0,0 +1,15 @@
+{%- liquid
+ if journey == 'supplements'
+ if settings.cellife_supplements_page != blank
+ echo settings.cellife_supplements_page.url
+ else
+ echo routes.root_url | append: '/pages/supplements' | replace: '//', '/'
+ endif
+ else
+ if settings.cellife_diagnostics_page != blank
+ echo settings.cellife_diagnostics_page.url
+ else
+ echo routes.root_url | append: '/pages/diagnostic-test-kits' | replace: '//', '/'
+ endif
+ endif
+-%}
diff --git a/templates/index.json b/templates/index.json
index c9b8496ce8c..b7b86ba9697 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -102,10 +102,17 @@
"padding_top": 44,
"padding_bottom": 36
}
+ },
+ "cellife_gateway": {
+ "type": "cellife-journey-gateway",
+ "settings": {
+ "overlay_enabled": false
+ }
}
},
"order": [
"cellife_hero",
+ "cellife_gateway",
"cellife_pathways",
"featured_collection"
]
diff --git a/templates/page.diagnostic-test-kits.json b/templates/page.diagnostic-test-kits.json
new file mode 100644
index 00000000000..1b9c22650d8
--- /dev/null
+++ b/templates/page.diagnostic-test-kits.json
@@ -0,0 +1,52 @@
+{
+ "sections": {
+ "intro": {
+ "type": "cellife-landing-intro",
+ "settings": {
+ "heading": "Diagnostic Test Kits",
+ "text": "Explore test kits by category. Read the intended use, instructions and limitations on each product page.
"
+ }
+ },
+ "categories": {
+ "type": "cellife-journey-collections",
+ "blocks": {
+ "category_0": {
+ "type": "collection",
+ "settings": {
+ "collection": "respiratory-tests",
+ "heading": "Respiratory tests",
+ "label": "Explore range"
+ }
+ },
+ "category_1": {
+ "type": "collection",
+ "settings": {
+ "collection": "respiratory-tests-copy",
+ "heading": "Drug & alcohol tests",
+ "label": "Explore range"
+ }
+ },
+ "category_2": {
+ "type": "collection",
+ "settings": {
+ "collection": "womens-urinary-health",
+ "heading": "Women\u2019s & urinary health",
+ "label": "Explore range"
+ }
+ }
+ },
+ "block_order": [
+ "category_0",
+ "category_1",
+ "category_2"
+ ],
+ "settings": {
+ "heading": "Find your test category"
+ }
+ }
+ },
+ "order": [
+ "intro",
+ "categories"
+ ]
+}
diff --git a/templates/page.supplements.json b/templates/page.supplements.json
new file mode 100644
index 00000000000..f1e246f1536
--- /dev/null
+++ b/templates/page.supplements.json
@@ -0,0 +1,30 @@
+{
+ "sections": {
+ "intro": {
+ "type": "cellife-landing-intro",
+ "settings": {
+ "heading": "Supplements",
+ "text": "Explore the Cellife supplement range. Find product details and directions on each product page.
"
+ }
+ },
+ "products": {
+ "type": "featured-collection",
+ "settings": {
+ "title": "Explore supplements",
+ "collection": "supplements",
+ "products_to_show": 8,
+ "columns_desktop": 4,
+ "columns_mobile": "2",
+ "show_view_all": true,
+ "show_vendor": false,
+ "quick_add": "none",
+ "padding_top": 32,
+ "padding_bottom": 48
+ }
+ }
+ },
+ "order": [
+ "intro",
+ "products"
+ ]
+}
diff --git a/tests/dual-path.cjs b/tests/dual-path.cjs
new file mode 100644
index 00000000000..f385bf08aa9
--- /dev/null
+++ b/tests/dual-path.cjs
@@ -0,0 +1,146 @@
+/* Interaction harness for production JS/CSS and dialog markup. Not a Liquid renderer.
+ Run: NODE_PATH= node tests/dual-path.cjs
+ Shopify rendering and Theme Editor tests require an unpublished development theme. */
+const assert = require('node:assert/strict');
+const fs = require('node:fs');
+const path = require('node:path');
+const http = require('node:http');
+const { chromium } = require('playwright');
+const root = path.resolve(__dirname, '..');
+const read = (p) => fs.readFileSync(path.join(root, p), 'utf8');
+const gateway = read('sections/cellife-journey-gateway.liquid');
+const schema = JSON.parse(gateway.split('{% schema %}')[1].split('{% endschema %}')[0]);
+const defaults = Object.fromEntries(schema.settings.map(s => [s.id, s.default || '']));
+const supplements = '/pages/supplements';
+const diagnostics = '/pages/diagnostic-test-kits';
+function substitute(html, values = {}) {
+ return html.replace(/{{\s*(.*?)\s*}}/g, (_, key) => {
+ key = key.split('|')[0].trim();
+ if (key.startsWith('section.settings.')) return defaults[key.slice(17)];
+ return ({'section.id':'test', supplements_url:supplements, diagnostics_url:diagnostics, ...values})[key] || '';
+ });
+}
+const dialog = substitute(gateway.slice(gateway.indexOf(''), gateway.indexOf(' ') + ''.length));
+function card(title, href, choice, number) {
+ let source = read('snippets/cellife-journey-card.liquid');
+ source = source.replace(/{% if image != blank %}[\s\S]*?{% else %}([\s\S]*?){% endif %}/, '$1');
+ source = source.replace(/{%[^%]*%}/g, '');
+ return substitute(source, {heading:title, url:href, journey:choice, number, text:defaults[choice === 'supplements' ? 'supplements_text' : 'diagnostics_text'], label:`Explore ${title.toLowerCase()}`});
+}
+function fixture(url) {
+ const isHome = url.pathname === '/';
+ const isSupplements = url.pathname === supplements;
+ const isDiagnostics = url.pathname === diagnostics;
+ let nav = read('sections/cellife-journey-nav.liquid');
+ nav = nav.slice(nav.indexOf('') + 6);
+ nav = nav.replace(/{% if request.path == (\w+) %}([\s\S]*?){% endif %}/g, (_, name, content) => url.pathname === (name === 'supplements_url' ? supplements : diagnostics) ? content : '');
+ nav = substitute(nav, {'section.settings.label':'Shopping pathways'}).replace('aria-label=""', 'aria-label="Shopping pathways"');
+ // Nav defaults come from its own schema, not the gateway schema.
+ nav = nav.replace(/>Explore supplementsSupplements<').replace(/>Explore diagnostic test kitsDiagnostic Test Kits<');
+ const heading = isHome ? 'Cellife homepage' : isSupplements ? 'Supplements' : isDiagnostics ? 'Diagnostic Test Kits' : 'Direct catalog visit';
+ const content = isHome ? `${defaults.eyebrow}
${defaults.heading} ${defaults.text}
${card('Supplements', supplements, 'supplements', '01')}${card('Diagnostic Test Kits', diagnostics, 'diagnostics', '02')}
` : ``;
+ return `${heading} ${nav}${content} ${isHome && url.searchParams.get('overlay') !== 'off' ? dialog : ''}`;
+}
+const server = http.createServer((req, res) => {
+ const url = new URL(req.url, 'http://localhost');
+ if (['/assets/cellife-journeys.css','/assets/cellife-journeys.js'].includes(url.pathname)) {
+ res.setHeader('Content-Type', url.pathname.endsWith('.js') ? 'text/javascript' : 'text/css');
+ return res.end(read(url.pathname.slice(1)));
+ }
+ res.setHeader('Content-Type', 'text/html');
+ res.end(fixture(url));
+});
+(async () => {
+ await new Promise(resolve => server.listen(0, '127.0.0.1', resolve));
+ const base = `http://127.0.0.1:${server.address().port}`;
+ const browser = await chromium.launch({executablePath:process.env.CHROMIUM_PATH || '/usr/bin/chromium', args:['--no-sandbox']});
+ const errors = [];
+ const newPage = async (width, options = {}) => {
+ const context = await browser.newContext({viewport:{width,height:900}, ...options});
+ const page = await context.newPage();
+ page.on('pageerror', error => errors.push(error.message));
+ return page;
+ };
+ const open = async page => page.locator('dialog').evaluate(d => d.open);
+ try {
+ for (const width of [390,1440]) {
+ let page = await newPage(width);
+ await page.goto(base);
+ await page.waitForSelector('dialog[open]');
+ if (process.env.SCREENSHOT_DIR) { fs.mkdirSync(process.env.SCREENSHOT_DIR, {recursive:true}); await page.screenshot({path:path.join(process.env.SCREENSHOT_DIR, `dialog-${width}.png`), fullPage:true}); }
+ assert(await open(page), 'first homepage entry opens enabled dialog');
+ await page.keyboard.press('Shift+Tab');
+ assert(await page.evaluate(() => Boolean(document.activeElement.closest('dialog'))), 'native focus trap');
+ await page.keyboard.press('Escape');
+ await page.waitForFunction(() => !document.querySelector('dialog').open);
+ assert.equal(await page.evaluate(() => localStorage.getItem('cellife:journey:v1')), 'dismissed');
+ await page.reload();
+ assert.equal(await open(page), false, 'return/reload does not interrupt');
+ if (process.env.SCREENSHOT_DIR) await page.screenshot({path:path.join(process.env.SCREENSHOT_DIR, `gateway-${width}.png`), fullPage:true});
+ await page.context().close();
+
+ page = await newPage(width);
+ await page.goto(base);
+ await page.waitForSelector('dialog[open]');
+ await page.locator('dialog a[data-cellife-choice="supplements"]').click();
+ await page.waitForURL(base+supplements);
+ assert.equal(await page.evaluate(() => localStorage.getItem('cellife:journey:v1')), 'supplements');
+ assert.equal(await page.locator('nav a[aria-current="page"]').count(), 1);
+ const returningTab = await page.context().newPage();
+ await returningTab.goto(base);
+ assert.equal(await open(returningTab), false, 'saved choice suppresses a new-tab homepage visit');
+ assert.equal(new URL(returningTab.url()).pathname, '/', 'saved preference never redirects');
+ await returningTab.close();
+ await page.goBack();
+ assert.equal(await open(page), false, 'Back does not reopen dialog');
+ await page.locator('.cellife-journeys a[data-cellife-choice="diagnostics"]').click();
+ await page.waitForURL(base+diagnostics);
+ assert.equal(await page.locator('h1').innerText(), 'Diagnostic Test Kits');
+ assert.equal(await page.locator('nav a').count(),2);
+ await page.context().close();
+
+ for (const direct of ['/products/sample','/collections/supplements']) {
+ page = await newPage(width);
+ await page.goto(base+direct);
+ assert.equal(await page.locator('dialog').count(),0);
+ await page.getByRole('link',{name:'Home',exact:true}).click();
+ assert.equal(await open(page), false, 'internal homepage visit skips overlay');
+ await page.context().close();
+ }
+ page = await newPage(width);
+ await page.goto(base);
+ await page.waitForSelector('dialog[open]');
+ await page.locator('[data-cellife-dismiss]').click();
+ assert.equal(await open(page), false, 'visible dismiss button works');
+ assert.equal(await page.evaluate(() => document.documentElement.classList.contains('cellife-journey-modal-open')), false, 'dismiss restores scrolling');
+ await page.context().close();
+
+ page = await newPage(width);
+ await page.goto(base+'/?overlay=off');
+ assert.equal(await page.locator('dialog').count(),0,'disabled overlay absent');
+ assert(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth),'no horizontal overflow');
+ await page.context().close();
+
+ page = await newPage(width);
+ await page.addInitScript(() => { Storage.prototype.getItem = () => { throw Error('Storage unavailable'); }; });
+ await page.goto(base);
+ assert.equal(await open(page),false,'blocked storage skips dialog');
+ await page.locator('nav a').first().click();
+ await page.waitForURL(base+supplements);
+ await page.context().close();
+ console.log(`PASS ${width}px: first/return/direct visits, focus, Escape, choice, Back, switching, disabled overlay, blocked storage`);
+ }
+ const page = await newPage(320,{javaScriptEnabled:false});
+ await page.goto(base);
+ assert.equal(await open(page),false,'no-JS dialog hidden');
+ assert(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth),'320px reflow');
+ await page.locator('nav a').last().click();
+ await page.waitForURL(base+diagnostics);
+ await page.context().close();
+ assert.deepEqual(errors,[],'no JavaScript errors');
+ console.log('PASS no JavaScript: native navigation; PASS 320px reflow; no runtime errors');
+ } finally {
+ await browser.close();
+ server.close();
+ }
+})().catch(error => { console.error(error); server.close(); process.exitCode=1; });
From 504b6af2e5ec4b73f7b9d37e114ba122ec6056d5 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 11:59:59 +1100
Subject: [PATCH 008/151] Enable first-visit homepage pathway selection overlay
---
templates/index.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/index.json b/templates/index.json
index b7b86ba9697..52a2d24af3b 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -106,7 +106,7 @@
"cellife_gateway": {
"type": "cellife-journey-gateway",
"settings": {
- "overlay_enabled": false
+ "overlay_enabled": true
}
}
},
From 6ca5b590ba563567e4e448be9c4749cd3ea56b50 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 12:04:56 +1100
Subject: [PATCH 009/151] Load journey overlay script independently of header
section settings
---
layout/theme.liquid | 1 +
sections/cellife-journey-nav.liquid | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/layout/theme.liquid b/layout/theme.liquid
index 43aeb6ddb6d..248d7121ea8 100644
--- a/layout/theme.liquid
+++ b/layout/theme.liquid
@@ -319,6 +319,7 @@
document.documentElement.classList.add('shopify-design-mode');
}
+
diff --git a/sections/cellife-journey-nav.liquid b/sections/cellife-journey-nav.liquid
index a1d4e41803f..a9fdc7330dc 100644
--- a/sections/cellife-journey-nav.liquid
+++ b/sections/cellife-journey-nav.liquid
@@ -1,5 +1,4 @@
{{ 'cellife-journeys.css' | asset_url | stylesheet_tag }}
-
{%- capture supplements_url -%}{%- render 'cellife-journey-url', journey: 'supplements' -%}{%- endcapture -%}
{%- capture diagnostics_url -%}{%- render 'cellife-journey-url', journey: 'diagnostics' -%}{%- endcapture -%}
From 378dc33969d39a1a79999b82f847256aecc10b0b Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 12:11:51 +1100
Subject: [PATCH 010/151] Make supplements the homepage while retaining pathway
popup
---
config/settings_schema.json | 6 ++----
docs/DUAL_PATH_MILESTONE.md | 26 +++++++++++++++++++++++++
sections/cellife-journey-gateway.liquid | 11 ++++++++++-
snippets/cellife-journey-url.liquid | 14 ++++---------
templates/index.json | 20 ++++++++++---------
tests/dual-path.cjs | 8 +++++---
6 files changed, 58 insertions(+), 27 deletions(-)
diff --git a/config/settings_schema.json b/config/settings_schema.json
index 3d5f890a434..38de3fe3efa 100644
--- a/config/settings_schema.json
+++ b/config/settings_schema.json
@@ -1471,10 +1471,8 @@
"name": "Cellife shopping journeys",
"settings": [
{
- "type": "page",
- "id": "cellife_supplements_page",
- "label": "Supplements landing page",
- "info": "Assign a page using the page.supplements template. Unset defaults to /pages/supplements."
+ "type": "paragraph",
+ "content": "Supplements uses the main homepage. Select the separate Diagnostic Test Kits landing page below."
},
{
"type": "page",
diff --git a/docs/DUAL_PATH_MILESTONE.md b/docs/DUAL_PATH_MILESTONE.md
index 7abe55bc117..fd49c8a725d 100644
--- a/docs/DUAL_PATH_MILESTONE.md
+++ b/docs/DUAL_PATH_MILESTONE.md
@@ -1,5 +1,31 @@
# Dual-path shopping milestone
+## Updated direction: supplements is the homepage
+
+The owner subsequently selected a supplement-focused main homepage **with the
+first-visit selection popup retained**. This supersedes the equal-weight page
+architecture described in the original milestone below:
+
+- Supplements links in the popup and persistent navigation now resolve to
+ `routes.root_url`, including localized home routes. No Supplements page record
+ is needed. The optional older `page.supplements` template remains available but
+ is no longer a primary destination.
+- The existing homepage hero imagery, headline and visual styling are retained;
+ its summary now introduces supplements and its secondary link leads to diagnostics.
+- The homepage product grid selects the verified `supplements` collection.
+- The inline two-choice gateway is hidden with a new editable checkbox while its
+ independently configurable popup remains enabled. The old four-category section
+ is retained in JSON, disabled rather than deleted, for easy restoration.
+- Diagnostic Test Kits retains its standalone page template and category cards.
+ Its page record still needs assignment through the shared theme setting.
+- The popup script now lives in `layout/theme.liquid`, independently of optional
+ header section configuration. It still remembers explicit selection/dismissal,
+ skips direct catalog entries and never redirects based on a saved preference.
+
+The local browser suite was updated for Supplements → homepage. Original preview
+setup instructions referring to a required Supplements page are superseded by this
+section; only the Diagnostics page record is required for the primary navigation.
+
## Implementation plan
Preserve the current Shopify-connected branch's homepage settings, hero, category
diff --git a/sections/cellife-journey-gateway.liquid b/sections/cellife-journey-gateway.liquid
index 76f8ea9fed8..35a81b8c047 100644
--- a/sections/cellife-journey-gateway.liquid
+++ b/sections/cellife-journey-gateway.liquid
@@ -1,6 +1,7 @@
{{ 'cellife-journeys.css' | asset_url | stylesheet_tag }}
{%- capture supplements_url -%}{%- render 'cellife-journey-url', journey: 'supplements' -%}{%- endcapture -%}
{%- capture diagnostics_url -%}{%- render 'cellife-journey-url', journey: 'diagnostics' -%}{%- endcapture -%}
+{% if section.settings.show_gateway %}
{{ section.settings.eyebrow | escape }}
{{ section.settings.heading | escape }} {{ section.settings.text | escape }}
@@ -8,6 +9,7 @@
{% render 'cellife-journey-card', image: section.settings.diagnostics_image, number: '02', heading: section.settings.diagnostics_title, text: section.settings.diagnostics_text, url: diagnostics_url, label: section.settings.diagnostics_label, journey: 'diagnostics' %}
+{% endif %}
{% if section.settings.overlay_enabled and request.page_type == 'index' and request.design_mode == false %}
@@ -34,6 +36,13 @@
]
},
"settings": [
+ {
+ "type": "checkbox",
+ "id": "show_gateway",
+ "label": "Show inline two-choice gateway",
+ "default": true,
+ "info": "The first-visit overlay can remain enabled when the inline gateway is hidden."
+ },
{
"type": "text",
"id": "eyebrow",
@@ -90,7 +99,7 @@
"type": "text",
"id": "diagnostics_text",
"label": "Diagnostic Test Kits description",
- "default": "Browse respiratory, drug and alcohol, and women\u2019s and urinary health tests."
+ "default": "Browse respiratory, drug and alcohol, and women’s and urinary health tests."
},
{
"type": "text",
diff --git a/snippets/cellife-journey-url.liquid b/snippets/cellife-journey-url.liquid
index 6ad2f299020..35b7c951d65 100644
--- a/snippets/cellife-journey-url.liquid
+++ b/snippets/cellife-journey-url.liquid
@@ -1,15 +1,9 @@
{%- liquid
if journey == 'supplements'
- if settings.cellife_supplements_page != blank
- echo settings.cellife_supplements_page.url
- else
- echo routes.root_url | append: '/pages/supplements' | replace: '//', '/'
- endif
+ echo routes.root_url
+ elsif settings.cellife_diagnostics_page != blank
+ echo settings.cellife_diagnostics_page.url
else
- if settings.cellife_diagnostics_page != blank
- echo settings.cellife_diagnostics_page.url
- else
- echo routes.root_url | append: '/pages/diagnostic-test-kits' | replace: '//', '/'
- endif
+ echo routes.root_url | append: '/pages/diagnostic-test-kits' | replace: '//', '/'
endif
-%}
diff --git a/templates/index.json b/templates/index.json
index 52a2d24af3b..17f61a5fd91 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -14,14 +14,14 @@
"settings": {
"eyebrow": "CELLIFE HEALTHCARE",
"heading": "Science for better everyday health.",
- "text": "Explore Cellife supplements and diagnostic tests.
",
+ "text": "Explore the Cellife supplement range.
",
"image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion_a32a4e6f-472b-464f-8045-d5156ec92ede.png",
"mobile_image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion.png",
"placeholder_label": "Product photography placeholder",
"button_label": "Explore supplements",
"button_link": "/collections/supplements",
- "secondary_label": "Explore test kits",
- "secondary_link": "#cellife-shopping-pathways"
+ "secondary_label": "Explore diagnostic test kits",
+ "secondary_link": "/pages/diagnostic-test-kits"
}
},
"cellife_pathways": {
@@ -73,14 +73,15 @@
"settings": {
"eyebrow": "EXPLORE CELLIFE",
"heading": "Find your starting point."
- }
+ },
+ "disabled": true
},
"featured_collection": {
"type": "featured-collection",
"settings": {
- "collection": "all",
+ "collection": "supplements",
"products_to_show": 4,
- "title": "Explore the Cellife range",
+ "title": "Explore Cellife supplements",
"heading_size": "h2",
"description": "",
"show_description": false,
@@ -106,14 +107,15 @@
"cellife_gateway": {
"type": "cellife-journey-gateway",
"settings": {
- "overlay_enabled": true
+ "overlay_enabled": true,
+ "show_gateway": false
}
}
},
"order": [
"cellife_hero",
+ "featured_collection",
"cellife_gateway",
- "cellife_pathways",
- "featured_collection"
+ "cellife_pathways"
]
}
diff --git a/tests/dual-path.cjs b/tests/dual-path.cjs
index f385bf08aa9..be510299e05 100644
--- a/tests/dual-path.cjs
+++ b/tests/dual-path.cjs
@@ -11,7 +11,7 @@ const read = (p) => fs.readFileSync(path.join(root, p), 'utf8');
const gateway = read('sections/cellife-journey-gateway.liquid');
const schema = JSON.parse(gateway.split('{% schema %}')[1].split('{% endschema %}')[0]);
const defaults = Object.fromEntries(schema.settings.map(s => [s.id, s.default || '']));
-const supplements = '/pages/supplements';
+const supplements = '/';
const diagnostics = '/pages/diagnostic-test-kits';
function substitute(html, values = {}) {
return html.replace(/{{\s*(.*?)\s*}}/g, (_, key) => {
@@ -91,12 +91,14 @@ const server = http.createServer((req, res) => {
assert.equal(await open(returningTab), false, 'saved choice suppresses a new-tab homepage visit');
assert.equal(new URL(returningTab.url()).pathname, '/', 'saved preference never redirects');
await returningTab.close();
- await page.goBack();
- assert.equal(await open(page), false, 'Back does not reopen dialog');
+ assert.equal(await open(page), false, 'choosing Supplements on the homepage settles the dialog');
await page.locator('.cellife-journeys a[data-cellife-choice="diagnostics"]').click();
await page.waitForURL(base+diagnostics);
assert.equal(await page.locator('h1').innerText(), 'Diagnostic Test Kits');
assert.equal(await page.locator('nav a').count(),2);
+ await page.goBack();
+ await page.waitForURL(base+'/');
+ assert.equal(await open(page), false, 'Back from Diagnostics does not reopen the popup');
await page.context().close();
for (const direct of ['/products/sample','/collections/supplements']) {
From 61cc866c3b322ed64eee58574ddb27aa0457dd2b Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 12:31:52 +1100
Subject: [PATCH 011/151] Build Cellife editorial storefront with editable
content placeholders
---
assets/cellife-editorial.css | 150 ++++++++
config/settings_data.json | 36 +-
config/settings_schema.json | 21 ++
docs/EDITORIAL_OVERHAUL.md | 126 +++++++
docs/snapshots/homepage-before-editorial.json | 121 +++++++
layout/theme.liquid | 3 +-
sections/cellife-community.liquid | 167 +++++++++
sections/cellife-content-grid.liquid | 164 +++++++++
sections/cellife-editorial.liquid | 137 ++++++++
sections/cellife-faq.liquid | 120 +++++++
sections/cellife-journey-nav.liquid | 4 +-
sections/cellife-product-shelf.liquid | 99 ++++++
sections/footer-group.json | 64 +++-
sections/header-group.json | 8 +-
sections/main-product.liquid | 8 +
snippets/card-product.liquid | 4 +
snippets/cellife-media-placeholder.liquid | 4 +
templates/collection.json | 41 ++-
templates/index.json | 325 +++++++++++++++++-
templates/page.about-cellife.json | 127 +++++++
templates/page.faq.json | 64 ++++
templates/page.ingredients.json | 108 ++++++
templates/page.science.json | 127 +++++++
templates/product.json | 102 +++++-
tests/editorial.cjs | 105 ++++++
25 files changed, 2195 insertions(+), 40 deletions(-)
create mode 100644 assets/cellife-editorial.css
create mode 100644 docs/EDITORIAL_OVERHAUL.md
create mode 100644 docs/snapshots/homepage-before-editorial.json
create mode 100644 sections/cellife-community.liquid
create mode 100644 sections/cellife-content-grid.liquid
create mode 100644 sections/cellife-editorial.liquid
create mode 100644 sections/cellife-faq.liquid
create mode 100644 sections/cellife-product-shelf.liquid
create mode 100644 snippets/cellife-media-placeholder.liquid
create mode 100644 templates/page.about-cellife.json
create mode 100644 templates/page.faq.json
create mode 100644 templates/page.ingredients.json
create mode 100644 templates/page.science.json
create mode 100644 tests/editorial.cjs
diff --git a/assets/cellife-editorial.css b/assets/cellife-editorial.css
new file mode 100644
index 00000000000..c85d6444c3a
--- /dev/null
+++ b/assets/cellife-editorial.css
@@ -0,0 +1,150 @@
+/* Cellife's original editorial system. Dawn retains all commerce behavior. */
+.cellife-shell {
+ --cellife-brand: #3e2b62;
+ --cellife-accent: #8f2c26;
+ --cellife-paper: #f4f4f5;
+ --cellife-text: #262125;
+ --cellife-line: #e4e0e9;
+ --cellife-display: 'Broadacre', var(--font-heading-family, sans-serif);
+ --cellife-body: 'Inter', var(--font-body-family, sans-serif);
+ font-family: var(--cellife-body);
+ letter-spacing: 0;
+ color: var(--cellife-text);
+ background: #fff;
+}
+.cellife-shell h1, .cellife-shell h2, .cellife-shell h3 { font-family: var(--cellife-display); letter-spacing: -.035em; line-height: 1.12; }
+.cellife-shell .header-wrapper { border-bottom-color: var(--cellife-line); }
+.cellife-shell .header { max-width: 1440px; padding-block: 20px; }
+.cellife-shell .header__menu-item { font-size: 14px; letter-spacing: .01em; }
+.cellife-shell .announcement-bar__message { font-size: 12px; letter-spacing: .04em; padding-block: 9px; }
+.cellife-shell .cellife-journey-nav { background: var(--cellife-paper); border-color: var(--cellife-line); gap: 40px; padding-block: 3px; }
+.cellife-shell .cellife-journey-nav a { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
+.cellife-shell .cellife-hero { min-height: 720px; }
+.cellife-shell .cellife-hero__copy { border-radius: 16px; }
+.cellife-shell .cellife-hero h1 { max-width: 12ch; font-size: clamp(42px, 4.8vw, 76px); }
+.cellife-shell .cellife-hero .cellife-actions { gap: 12px; }
+.cellife-shell .cellife-action { font-weight: 600; }
+.cellife-container { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
+.cellife-section { padding-block: clamp(56px, 7vw, 104px); color: var(--cellife-text, #262125); background: #fff; }
+.cellife-tone--soft { background: var(--cellife-paper, #f4f4f5); }
+.cellife-tone--dark { background: var(--cellife-brand, #3e2b62); color: white; }
+.cellife-section-heading { max-width: 720px; margin-bottom: 36px; }
+.cellife-section-heading h2 { margin: 0; color: var(--cellife-brand, #3e2b62); font-size: clamp(32px, 3.5vw, 52px); }
+.cellife-tone--dark .cellife-section-heading h2, .cellife-tone--dark h3 { color: white; }
+.cellife-section-heading .rte { margin-top: 20px; max-width: 62ch; line-height: 1.7; }
+.cellife-kicker { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 600; }
+.cellife-kicker::before { content: ''; width: 18px; height: 2px; display: inline-block; vertical-align: middle; margin-right: 10px; background: var(--cellife-accent, #8f2c26); }
+.cellife-draft-label { display: block; font-size: 11px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
+.cellife-media-placeholder { min-height: 180px; height: 100%; padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; color: #3e2b62; background: linear-gradient(135deg, #f7f5f9, #e8e4ef); text-align: center; }
+.cellife-media-placeholder__shape { display: block; width: min(45%, 160px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #b5a8ca; background: repeating-radial-gradient(circle at 40% 50%, transparent 0 10px, #d6cede 11px 12px); }
+.cellife-editorial-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 14px 24px; border: 1px solid var(--cellife-brand, #3e2b62); border-radius: 6px; background: var(--cellife-brand, #3e2b62); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
+.cellife-editorial-button--outline { background: transparent; color: var(--cellife-brand, #3e2b62); }
+.cellife-tone--dark .cellife-editorial-button { background: #fff; border-color: #fff; color: #3e2b62; }
+.cellife-editorial-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; color: inherit; text-underline-offset: 5px; }
+.cellife-section a:hover { text-decoration: underline; text-underline-offset: 5px; }
+.cellife-section :focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
+.cellife-section-action { margin-top: 36px; text-align: center; }
+.cellife-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
+.cellife-content-card { min-width: 0; overflow: hidden; border-radius: 12px; background: #fff; color: var(--cellife-text, #262125); }
+.cellife-content-card__media { aspect-ratio: 4 / 3; }
+.cellife-content-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
+.cellife-content-card__body { padding: 28px; }
+.cellife-content-card h3 { margin: 12px 0 16px; color: var(--cellife-brand, #3e2b62); font-size: 24px; }
+.cellife-content-card .rte { line-height: 1.7; font-size: 15px; }
+.cellife-content-grid--logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
+.cellife-content-grid--logos .cellife-content-card { border: 1px solid var(--cellife-line, #e4e0e9); border-radius: 8px; }
+.cellife-content-grid--logos .cellife-content-card__media { aspect-ratio: 2.4; }
+.cellife-content-grid--logos .cellife-content-card__media img { object-fit: contain; padding: 20px; }
+.cellife-content-grid--logos .cellife-media-placeholder { min-height: 110px; padding: 16px; }
+.cellife-content-grid--logos .cellife-media-placeholder__shape { display: none; }
+.cellife-content-grid--logos .cellife-content-card__body { padding: 16px; }
+.cellife-content-grid--logos h3 { font-size: 17px; margin: 8px 0; }
+.cellife-content-grid--people .cellife-content-card__media { aspect-ratio: 4 / 5; }
+.cellife-content-grid--benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
+.cellife-content-grid--benefits .cellife-content-card__media { aspect-ratio: 2; }
+.cellife-content-grid--benefits .cellife-media-placeholder { min-height: 140px; }
+.cellife-content-grid--benefits .cellife-media-placeholder__shape { width: 56px; }
+.cellife-content-grid--benefits h3 { font-size: 20px; }
+.cellife-editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
+.cellife-editorial--right .cellife-editorial__media { order: 2; }
+.cellife-editorial__media { aspect-ratio: 1; border-radius: 16px; overflow: hidden; min-width: 0; }
+.cellife-editorial__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
+.cellife-editorial__copy { min-width: 0; }
+.cellife-editorial__copy .cellife-section-heading { margin-bottom: 24px; }
+.cellife-editorial__point { display: flex; gap: 20px; border-top: 1px solid currentColor; padding-block: 20px; }
+.cellife-editorial__point > span { opacity: .65; font-size: 12px; }
+.cellife-editorial__point h3 { font-size: 19px; margin: 0 0 8px; }
+.cellife-editorial__point .rte { font-size: 14px; line-height: 1.6; }
+.cellife-editorial__copy > .cellife-editorial-button { margin-top: 24px; }
+.cellife-product-shelf { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
+.cellife-product-shelf > li { min-width: 0; padding: 18px; border-radius: 12px; background: #fff; color: #262125; border: 1px solid var(--cellife-line, #e4e0e9); }
+.cellife-product-shelf .card__inner { border-radius: 8px; overflow: hidden; }
+.cellife-product-shelf .card__heading { font-size: 19px; }
+.cellife-product-shelf .price { font-size: 16px; font-weight: 600; }
+.cellife-product-shelf .cellife-editorial-link { width: 100%; font-size: 13px; }
+.cellife-shelf-placeholder > .cellife-media-placeholder { aspect-ratio: 1; min-height: 180px; height: auto; }
+.cellife-community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
+.cellife-community-card { min-width: 0; border-radius: 12px; overflow: hidden; background: white; color: #262125; border: 1px solid var(--cellife-line, #e4e0e9); }
+.cellife-community-card__media { aspect-ratio: 3 / 4; }
+.cellife-community-card__media video, .cellife-community-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
+.cellife-community-card__copy { padding: 24px; font-size: 14px; line-height: 1.7; }
+.cellife-community-card blockquote { margin: 0; border: 0; padding: 0; font-style: normal; }
+.cellife-community-app { grid-column: 1 / -1; }
+.cellife-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
+.cellife-faq-item { border-top: 1px solid var(--cellife-line, #e4e0e9); padding: 20px 0; }
+.cellife-faq-item:last-of-type { border-bottom: 1px solid var(--cellife-line, #e4e0e9); }
+.cellife-faq-item summary { cursor: pointer; font-size: 17px; line-height: 1.5; padding-right: 12px; }
+.cellife-faq-item .rte { padding-top: 16px; font-size: 15px; line-height: 1.7; }
+.cellife-shell .collection-hero { background: var(--cellife-paper); padding-block: 48px; }
+.cellife-shell .collection-hero__title { color: var(--cellife-brand); font-size: clamp(36px, 4vw, 64px); }
+.cellife-shell .collection .card--standard { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--cellife-line); border-radius: 12px; }
+.cellife-shell .collection .card__heading { font-size: 22px; }
+.cellife-shell .card-information .price { color: var(--cellife-brand); font-weight: 600; }
+.cellife-shell .card__information { padding-block: 18px; }
+.cellife-shell .cellife-card-summary { font-size: 14px; line-height: 1.6; margin-block: 12px; }
+.cellife-shell .cellife-card-action { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 16px; border: 1px solid var(--cellife-brand); border-radius: 6px; padding: 10px; text-decoration: none; color: var(--cellife-brand); font-size: 13px; }
+.cellife-product-shelf .cellife-card-action { display: none; }
+.cellife-shell .product { row-gap: 48px; }
+.cellife-shell .product__title h1 { font-size: clamp(30px, 3vw, 48px); color: var(--cellife-brand); }
+.cellife-shell .product__media-wrapper .product-media-container { border-radius: 12px; overflow: hidden; background: var(--cellife-paper); }
+.cellife-shell .product-form__submit { min-height: 54px; font-weight: 600; }
+.cellife-shell .product__description { font-size: 15px; line-height: 1.75; }
+.cellife-shell .product__info-container > * + * { margin-block: 20px; }
+.cellife-shell .product__info-container { scroll-margin-top: 140px; }
+.cellife-shell .newsletter__wrapper { padding-block: 72px; }
+.cellife-shell .newsletter__wrapper h2 { font-size: clamp(30px, 3.5vw, 48px); }
+.cellife-shell .footer { border-top: 1px solid var(--cellife-line); }
+.cellife-shell .footer-block__heading { font-size: 18px; }
+.cellife-mobile-purchase { display: none; }
+@media (max-width: 989px) {
+ .cellife-content-grid--benefits, .cellife-content-grid--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
+ .cellife-faq-layout { gap: 32px; }
+ .cellife-shell .collection .card--standard { display: flex; gap: 0; flex-direction: column; padding: 16px; }
+}
+@media (max-width: 749px) {
+ .cellife-container { width: calc(100% - 40px); }
+ .cellife-section { padding-block: 48px; }
+ .cellife-shell .header { padding-block: 14px; }
+ .cellife-shell .cellife-hero { min-height: 640px; }
+ .cellife-shell .cellife-hero h1 { font-size: clamp(36px, 9vw, 52px); }
+ .cellife-content-grid, .cellife-editorial, .cellife-faq-layout { grid-template-columns: minmax(0, 1fr); }
+ .cellife-content-grid--logos, .cellife-content-grid--benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
+ .cellife-content-card__body { padding: 20px; }
+ .cellife-content-grid--logos .cellife-content-card__body { padding: 12px; }
+ .cellife-content-grid--benefits h3 { font-size: 18px; }
+ .cellife-editorial--right .cellife-editorial__media { order: 0; }
+ .cellife-product-shelf, .cellife-community-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x proximity; gap: 16px; padding-bottom: 16px; }
+ .cellife-product-shelf > li, .cellife-community-card { scroll-snap-align: start; }
+ .cellife-product-shelf > li { padding: 16px; }
+ .cellife-shell .collection .card--standard { padding: 10px; }
+ .cellife-shell .collection .card__heading { font-size: 16px; }
+ .cellife-shell .collection .price { font-size: 14px; }
+ .cellife-shell .collection .cellife-card-summary { display: none; }
+ .cellife-shell .product { gap: 0; }
+ .cellife-shell.cellife-template-product { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
+ .cellife-mobile-purchase { position: fixed; inset: auto 0 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--cellife-line); background: #fff; color: var(--cellife-brand); }
+ .cellife-mobile-purchase > span { min-width: 0; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
+ .cellife-mobile-purchase > a { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 6px; color: #fff; background: var(--cellife-brand); text-decoration: none; font-size: 13px; }
+ .cellife-shell .newsletter__wrapper { padding-block: 48px; }
+}
+@media (prefers-reduced-motion: reduce) { .cellife-shell *, .cellife-shell *::before, .cellife-shell *::after { scroll-behavior: auto !important; } }
diff --git a/config/settings_data.json b/config/settings_data.json
index 081f5f869dd..3749eb95570 100644
--- a/config/settings_data.json
+++ b/config/settings_data.json
@@ -16,15 +16,15 @@
"heading_scale": 100,
"type_body_font": "assistant_n4",
"body_scale": 100,
- "page_width": 1200,
+ "page_width": 1360,
"spacing_sections": 0,
- "spacing_grid_horizontal": 8,
- "spacing_grid_vertical": 8,
- "animations_reveal_on_scroll": true,
+ "spacing_grid_horizontal": 24,
+ "spacing_grid_vertical": 24,
+ "animations_reveal_on_scroll": false,
"animations_hover_elements": "none",
"buttons_border_thickness": 1,
"buttons_border_opacity": 100,
- "buttons_radius": 0,
+ "buttons_radius": 6,
"buttons_shadow_opacity": 0,
"buttons_shadow_horizontal_offset": 0,
"buttons_shadow_vertical_offset": 4,
@@ -38,7 +38,7 @@
"variant_pills_shadow_blur": 5,
"inputs_border_thickness": 1,
"inputs_border_opacity": 55,
- "inputs_radius": 0,
+ "inputs_radius": 6,
"inputs_shadow_opacity": 0,
"inputs_shadow_horizontal_offset": 0,
"inputs_shadow_vertical_offset": 4,
@@ -49,7 +49,7 @@
"card_color_scheme": "scheme-2",
"card_border_thickness": 0,
"card_border_opacity": 10,
- "card_corner_radius": 0,
+ "card_corner_radius": 12,
"card_shadow_opacity": 0,
"card_shadow_horizontal_offset": 0,
"card_shadow_vertical_offset": 4,
@@ -123,7 +123,7 @@
"predictive_search_show_vendor": false,
"predictive_search_show_price": false,
"currency_code_enabled": true,
- "cart_type": "notification",
+ "cart_type": "drawer",
"show_vendor": false,
"show_cart_note": false,
"cart_drawer_collection": "",
@@ -149,31 +149,31 @@
"settings": {
"background": "#ffffff",
"background_gradient": "",
- "text": "#121212",
- "button": "#121212",
+ "text": "#262125",
+ "button": "#3e2b62",
"button_label": "#ffffff",
- "secondary_button_label": "#121212",
+ "secondary_button_label": "#262125",
"shadow": "#121212"
}
},
"scheme-2": {
"settings": {
- "background": "#f3f3f3",
+ "background": "#f4f4f5",
"background_gradient": "",
- "text": "#121212",
- "button": "#121212",
- "button_label": "#f3f3f3",
- "secondary_button_label": "#121212",
+ "text": "#262125",
+ "button": "#3e2b62",
+ "button_label": "#ffffff",
+ "secondary_button_label": "#262125",
"shadow": "#121212"
}
},
"scheme-3": {
"settings": {
- "background": "#242833",
+ "background": "#3e2b62",
"background_gradient": "",
"text": "#ffffff",
"button": "#ffffff",
- "button_label": "#000000",
+ "button_label": "#3e2b62",
"secondary_button_label": "#ffffff",
"shadow": "#121212"
}
diff --git a/config/settings_schema.json b/config/settings_schema.json
index 38de3fe3efa..da336e91302 100644
--- a/config/settings_schema.json
+++ b/config/settings_schema.json
@@ -1481,5 +1481,26 @@
"info": "Assign a page using page.diagnostic-test-kits. Unset defaults to /pages/diagnostic-test-kits."
}
]
+ },
+ {
+ "name": "Cellife editorial design",
+ "settings": [
+ {
+ "type": "paragraph",
+ "content": "Cellife uses brand-book blue and restrained red. Broadacre/Inter webfont files remain to be supplied; Dawn fonts are the fallback."
+ },
+ {
+ "type": "checkbox",
+ "id": "cellife_card_details",
+ "label": "Show editorial card detail links",
+ "default": true
+ },
+ {
+ "type": "checkbox",
+ "id": "cellife_mobile_product_link",
+ "label": "Show mobile link to purchase options",
+ "default": true
+ }
+ ]
}
]
diff --git a/docs/EDITORIAL_OVERHAUL.md b/docs/EDITORIAL_OVERHAUL.md
new file mode 100644
index 00000000000..b388dd0ab17
--- /dev/null
+++ b/docs/EDITORIAL_OVERHAUL.md
@@ -0,0 +1,126 @@
+# Cellife editorial overhaul
+
+## Scope
+
+Rework the preview theme around the reference site's shopping and editorial depth,
+using original Cellife layouts and brand colours. Retain Dawn's product form,
+variants, cart, search, filters, localization, app blocks and disclosures. Keep
+the supplement-first homepage, separate diagnostic destination and first-visit popup.
+No live-theme publication, checkout, billing, quiz or eligibility implementation.
+
+## Implementation sequence
+
+1. Inspect the rendered reference homepage, collection and product page.
+2. Add a coherent global design layer, retaining accessible native controls.
+3. Compose the homepage from reusable product shelf, evidence grid, editorial,
+ community-video, expert-profile, FAQ, campaign and native newsletter sections.
+4. Apply the same system to collection and product templates without replacing
+ their commerce logic. Add editable product information/evidence placeholders.
+5. Supply a section-by-section replacement checklist. Keep all unapproved proof,
+ testimonials, people and images explicitly identified as placeholders.
+6. Run syntax, structural and browser checks; push to the existing preview branch
+ while preserving current merchant data and snapshotting the prior composition.
+
+Research/partner claims, clinical assertions, certifications, fake review stars,
+sample customer identities and copied photography must not be used to fill gaps.
+The reference is a design source, not a source of Cellife product facts.
+
+## Rendered reference observations
+
+The [homepage](https://qore8health.com/),
+[collection](https://qore8health.com/collections/longevity-cellular-health) and
+[product page](https://qore8health.com/products/nmn-pure-max-500mg) were inspected
+at desktop and mobile sizes. Observed: a light canvas, strong display headings,
+rounded product panels, a compact header, long-form education, video/community
+cards, profiles and FAQs. Desktop collection cards pair imagery with details;
+mobile stacks their contents into two columns. Product pages retain a split
+gallery/purchase area and stack on mobile.
+
+The reference's teal/orange palette, product assertions and promotional offers
+are not Cellife specifications. Cellife retains brand-book violet-blue, restrained
+red, Broadacre/Inter font intentions and neutral surfaces. Subscription selectors,
+discount enforcement and quiz behavior are not recreated as theme simulations.
+
+## Placeholder replacement checklist
+
+All new sections are editable and reorderable in Shopify's Theme Editor. The
+reference's content has not been imported. Work through these in any order:
+
+| Preview section | What to supply | Where to replace it |
+| --- | --- | --- |
+| Photographic hero | Existing Cellife hero is retained; supply new crops only if desired | Cellife photographic hero → desktop/mobile images |
+| Quality / transparency strip | Verified references and permitted logos; approximately 600×250px logos | Cellife content grid → evidence cards; clear each draft checkbox after approval |
+| Supplement product shelf | A curated existing collection, finished packshots and correct product records | Cellife product shelf → collection; actual prices/availability stay Shopify-managed |
+| Approach tiles | Four approved statements and optional icons | Cellife content grid → Ingredients/Formulation/Quality/Directions |
+| Community stories | Consented video/portraits, exact quote/attribution, captions or transcript | Cellife community stories → video/story blocks; approval switch gates media and quotes |
+| Product spotlight | Product image and approved product-specific copy/references | Cellife editorial story → image, text, supporting points and real CTA |
+| Education cards | Original editorial images, approved articles/copy and real destinations | Cellife content grid → editorial cards |
+| People / expertise | Consented portraits, verified names/roles and bios | Cellife content grid → profile cards; no advisory-board relationship is implied |
+| Campaign panel | Landscape or square brand photography and approved copy | Cellife editorial story → campaign settings |
+| FAQs | Approved answers and policy/contact destinations | Cellife questions → individual question blocks |
+| Newsletter | Approved signup messaging; any offer only after actual eligibility configuration | Native Newsletter in Footer group → heading/copy/form |
+| Product information | Product-specific contents, directions, warnings and diagrams | Product template → content cards/editorial/FAQ; use dynamic sources where available |
+| Product card summaries | A typed single-line `cellife.short_summary` product metafield with approved copy | Shopify product metafields; optional and omitted when empty |
+
+Editorial images: aim for 1200×1200px in split panels, 1000×750px on story cards,
+800×1000px for portraits, and 800×1067px video posters. Shopify generates responsive
+sizes. Do not bake text into the artwork. Keep final media within the performance
+budgets in PROJECT_PLAN.md. Brand fonts are still fallbacks until licensed Broadacre
+and Inter webfonts are supplied.
+
+The former featured-collection and category cards are retained disabled in the
+homepage JSON. The previous composition is saved in
+`docs/snapshots/homepage-before-editorial.json`. The diagnostics landing page and
+its verified collection references are retained; its Shopify page record is still
+a separate configuration requirement. The popup remains enabled and its Supplements
+choice returns to the homepage.
+
+## Commerce and maintenance
+
+Native Dawn product forms, variants, inventory, cart updates, search, sorting,
+filtering, pagination, account links, structured data, app blocks and disclosures
+remain. The cart uses Dawn's built-in drawer. The mobile product action is a native
+anchor to the real purchase controls, with no cloned form, stale price or plan state.
+Collection cards use a two-column desktop layout; content stacks on mobile. Extra
+product links and the mobile action can be disabled under Cellife editorial design.
+
+No subscription plan, checkout restriction, first-order discount or quiz is
+simulated. Those reference features remain app/configuration work from PROJECT_PLAN.
+Existing product app slots remain available. No new storefront JavaScript, external
+font host, tracking pixel, carousel dependency or automatic video playback is added.
+
+Science, Ingredients, About Cellife and FAQ also have OS 2.0 page-template
+foundations (`page.science`, `page.ingredients`, `page.about-cellife`, `page.faq`).
+They reuse the same sections and explicit draft content. Create/assign page records
+and add their destinations to Shopify navigation when ready. These templates do
+not create live pages, and uncreated destinations are not added as dead menu links.
+The existing Contact page retains Shopify's native form.
+
+## Validation
+
+- Shopify CLI **4.9.4** Theme Check: **0 errors, 9 warnings**. The warnings match
+ the unchanged source baseline (legacy variable naming/complexity/unused values).
+ The old journey-nav schema name length error was corrected in this change.
+- JSON/embedded section schema syntax: **122 documents** validated.
+- Local custom Liquid rendering and Chromium checks at **320, 390 and 1440px**:
+ no page overflow, FAQ interaction, primary journey links, saved-popup behavior,
+ and unapproved story/media gates passed. No JavaScript runtime errors.
+- Template setting/block references and select values were checked; merchant hero
+ configuration and native product/app/disclosure hooks were preserved.
+- The local screenshots use absent-media/product placeholders. Shopify-specific
+ catalog rendering, native forms, app behavior, real video, cart mutations, Safari
+ and field performance need development-theme testing with final content.
+
+Temporary local tooling lives outside the repository. Reproduce checks with
+Shopify CLI and Node/Playwright/LiquidJS available:
+
+```sh
+shopify theme check
+python3 scripts/check-theme-json.py
+node tests/editorial.cjs
+node tests/dual-path.cjs
+```
+
+The LiquidJS fixture renders actual custom section templates with Shopify-like
+globals and empty media, not Shopify's full native commerce runtime. It complements
+Theme Check and does not establish that the checkout or app integrations passed.
diff --git a/docs/snapshots/homepage-before-editorial.json b/docs/snapshots/homepage-before-editorial.json
new file mode 100644
index 00000000000..17f61a5fd91
--- /dev/null
+++ b/docs/snapshots/homepage-before-editorial.json
@@ -0,0 +1,121 @@
+/*
+ * ------------------------------------------------------------
+ * IMPORTANT: The contents of this file are auto-generated.
+ *
+ * This file may be updated by the Shopify admin theme editor
+ * or related systems. Please exercise caution as any changes
+ * made to this file may be overwritten.
+ * ------------------------------------------------------------
+ */
+{
+ "sections": {
+ "cellife_hero": {
+ "type": "cellife-hero",
+ "settings": {
+ "eyebrow": "CELLIFE HEALTHCARE",
+ "heading": "Science for better everyday health.",
+ "text": "Explore the Cellife supplement range.
",
+ "image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion_a32a4e6f-472b-464f-8045-d5156ec92ede.png",
+ "mobile_image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion.png",
+ "placeholder_label": "Product photography placeholder",
+ "button_label": "Explore supplements",
+ "button_link": "/collections/supplements",
+ "secondary_label": "Explore diagnostic test kits",
+ "secondary_link": "/pages/diagnostic-test-kits"
+ }
+ },
+ "cellife_pathways": {
+ "type": "cellife-pathways",
+ "blocks": {
+ "pathway_0": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Supplements",
+ "text": "Explore the supplement range.",
+ "link_label": "Explore range",
+ "link": "/collections/supplements"
+ }
+ },
+ "pathway_1": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Respiratory tests",
+ "text": "Explore respiratory test kits.",
+ "link_label": "Explore range",
+ "link": "/collections/respiratory-tests"
+ }
+ },
+ "pathway_2": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Drug & alcohol tests",
+ "text": "Explore drug and alcohol test kits.",
+ "link_label": "Explore range",
+ "link": "/collections/respiratory-tests-copy"
+ }
+ },
+ "pathway_3": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Women’s & urinary health",
+ "text": "Explore women’s and urinary health tests.",
+ "link_label": "Explore range",
+ "link": "/collections/womens-urinary-health"
+ }
+ }
+ },
+ "block_order": [
+ "pathway_0",
+ "pathway_1",
+ "pathway_2",
+ "pathway_3"
+ ],
+ "settings": {
+ "eyebrow": "EXPLORE CELLIFE",
+ "heading": "Find your starting point."
+ },
+ "disabled": true
+ },
+ "featured_collection": {
+ "type": "featured-collection",
+ "settings": {
+ "collection": "supplements",
+ "products_to_show": 4,
+ "title": "Explore Cellife supplements",
+ "heading_size": "h2",
+ "description": "",
+ "show_description": false,
+ "description_style": "body",
+ "columns_desktop": 4,
+ "enable_desktop_slider": false,
+ "full_width": false,
+ "show_view_all": true,
+ "view_all_style": "solid",
+ "color_scheme": "scheme-1",
+ "image_ratio": "adapt",
+ "image_shape": "default",
+ "show_secondary_image": true,
+ "show_vendor": false,
+ "show_rating": false,
+ "quick_add": "none",
+ "columns_mobile": "2",
+ "swipe_on_mobile": false,
+ "padding_top": 44,
+ "padding_bottom": 36
+ }
+ },
+ "cellife_gateway": {
+ "type": "cellife-journey-gateway",
+ "settings": {
+ "overlay_enabled": true,
+ "show_gateway": false
+ }
+ }
+ },
+ "order": [
+ "cellife_hero",
+ "featured_collection",
+ "cellife_gateway",
+ "cellife_pathways"
+ ]
+}
diff --git a/layout/theme.liquid b/layout/theme.liquid
index 248d7121ea8..37ba859350f 100644
--- a/layout/theme.liquid
+++ b/layout/theme.liquid
@@ -279,6 +279,7 @@
{% endstyle %}
{{ 'base.css' | asset_url | stylesheet_tag }}
+ {{ 'cellife-editorial.css' | asset_url | stylesheet_tag }}
{%- if settings.cart_type == 'drawer' -%}
@@ -322,7 +323,7 @@
-
+
{{ 'accessibility.skip_to_text' | t }}
diff --git a/sections/cellife-community.liquid b/sections/cellife-community.liquid
new file mode 100644
index 00000000000..a93aa47276a
--- /dev/null
+++ b/sections/cellife-community.liquid
@@ -0,0 +1,167 @@
+
+
+ {% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
+
{{ section.settings.heading | escape }}
+ {% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
+
+
+
+
+
+{% schema %}
+{
+ "name": "Cellife community stories",
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Section heading"
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Introduction"
+ },
+ {
+ "type": "select",
+ "id": "tone",
+ "label": "Background",
+ "options": [
+ {
+ "value": "light",
+ "label": "White"
+ },
+ {
+ "value": "soft",
+ "label": "Soft platinum"
+ },
+ {
+ "value": "dark",
+ "label": "Brand blue"
+ }
+ ],
+ "default": "light"
+ },
+ {
+ "type": "text",
+ "id": "placeholder_label",
+ "label": "Missing-media label",
+ "default": "Video story placeholder"
+ },
+ {
+ "type": "text",
+ "id": "draft_label",
+ "label": "Unapproved content label",
+ "default": "Unpublished story placeholder"
+ },
+ {
+ "type": "text",
+ "id": "placeholder_text",
+ "label": "Placeholder description",
+ "default": "Add a consented customer story, accurate attribution and captions or transcript."
+ },
+ {
+ "type": "text",
+ "id": "transcript_label",
+ "label": "Transcript label",
+ "default": "Read transcript"
+ }
+ ],
+ "max_blocks": 8,
+ "blocks": [
+ {
+ "type": "story",
+ "name": "Video / customer story",
+ "settings": [
+ {
+ "type": "checkbox",
+ "id": "approved",
+ "label": "Content and consent approved",
+ "info": "Only enable after reviewing the story, attribution, usage consent and accessibility.",
+ "default": false
+ },
+ {
+ "type": "video",
+ "id": "video",
+ "label": "Shopify-hosted video"
+ },
+ {
+ "type": "image_picker",
+ "id": "poster",
+ "label": "Poster image"
+ },
+ {
+ "type": "text",
+ "id": "quote",
+ "label": "Approved customer quote"
+ },
+ {
+ "type": "text",
+ "id": "attribution",
+ "label": "Approved attribution"
+ },
+ {
+ "type": "richtext",
+ "id": "transcript",
+ "label": "Transcript"
+ },
+ {
+ "type": "product",
+ "id": "product",
+ "label": "Related product"
+ }
+ ]
+ },
+ {
+ "type": "@app"
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife community stories",
+ "blocks": [
+ {
+ "type": "story"
+ },
+ {
+ "type": "story"
+ },
+ {
+ "type": "story"
+ }
+ ]
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/cellife-content-grid.liquid b/sections/cellife-content-grid.liquid
new file mode 100644
index 00000000000..c4a491cc2d5
--- /dev/null
+++ b/sections/cellife-content-grid.liquid
@@ -0,0 +1,164 @@
+
+
+ {% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
+
{{ section.settings.heading | escape }}
+ {% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
+
+
+ {% for block in section.blocks %}
+
+
+ {% if block.settings.image != blank %}
+ {{ block.settings.image | image_url: width: 1000 | image_tag: widths: '300, 500, 750, 1000', sizes: '(min-width: 990px) 28vw, (min-width: 750px) 44vw, 90vw', loading: 'lazy' }}
+ {% else %}
+ {% render 'cellife-media-placeholder', label: block.settings.placeholder_label %}
+ {% endif %}
+
+
+ {% if block.settings.draft %}
{{ section.settings.draft_label | escape }}
{% endif %}
+
{{ block.settings.heading | escape }}
+ {% if block.settings.text != blank %}
{{ block.settings.text }}
{% endif %}
+ {% if block.settings.link != blank and block.settings.label != blank %}
{{ block.settings.label | escape }} → {% endif %}
+
+
+ {% endfor %}
+
+
+
+
+{% schema %}
+{
+ "name": "Cellife content grid",
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Section heading"
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Introduction"
+ },
+ {
+ "type": "select",
+ "id": "tone",
+ "label": "Background",
+ "options": [
+ {
+ "value": "light",
+ "label": "White"
+ },
+ {
+ "value": "soft",
+ "label": "Soft platinum"
+ },
+ {
+ "value": "dark",
+ "label": "Brand blue"
+ }
+ ],
+ "default": "light"
+ },
+ {
+ "type": "select",
+ "id": "layout",
+ "label": "Layout",
+ "options": [
+ {
+ "value": "cards",
+ "label": "Editorial cards"
+ },
+ {
+ "value": "logos",
+ "label": "Evidence / logo strip"
+ },
+ {
+ "value": "people",
+ "label": "Expert profiles"
+ },
+ {
+ "value": "benefits",
+ "label": "Product information"
+ }
+ ],
+ "default": "cards"
+ },
+ {
+ "type": "text",
+ "id": "draft_label",
+ "label": "Draft content label",
+ "default": "Content placeholder — approval required"
+ }
+ ],
+ "max_blocks": 8,
+ "blocks": [
+ {
+ "type": "item",
+ "name": "Content card",
+ "settings": [
+ {
+ "type": "image_picker",
+ "id": "image",
+ "label": "Image"
+ },
+ {
+ "type": "text",
+ "id": "placeholder_label",
+ "label": "Missing-image label",
+ "default": "Image placeholder"
+ },
+ {
+ "type": "checkbox",
+ "id": "draft",
+ "label": "Mark this content as a draft",
+ "default": true
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Content placeholder"
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Body"
+ },
+ {
+ "type": "text",
+ "id": "label",
+ "label": "Link label"
+ },
+ {
+ "type": "url",
+ "id": "link",
+ "label": "Link destination"
+ }
+ ]
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife content grid",
+ "blocks": [
+ {
+ "type": "item"
+ },
+ {
+ "type": "item"
+ },
+ {
+ "type": "item"
+ }
+ ]
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/cellife-editorial.liquid b/sections/cellife-editorial.liquid
new file mode 100644
index 00000000000..5630e2a8cc7
--- /dev/null
+++ b/sections/cellife-editorial.liquid
@@ -0,0 +1,137 @@
+
+
+
+ {% if section.settings.image != blank %}
+ {{ section.settings.image | image_url: width: 1600 | image_tag: widths: '400, 600, 900, 1200, 1600', sizes: '(min-width: 750px) 48vw, 100vw', loading: 'lazy' }}
+ {% else %}{% render 'cellife-media-placeholder', label: section.settings.placeholder_label %}{% endif %}
+
+
+ {% if section.settings.draft %}
{{ section.settings.draft_label | escape }}
{% endif %}
+
+ {% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
+
{{ section.settings.heading | escape }}
+ {% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
+
+ {% for block in section.blocks %}
{{ forloop.index | prepend: '0' }} {{ block.settings.heading | escape }} {{ block.settings.text }}
{% endfor %}
+ {% if section.settings.link != blank and section.settings.label != blank %}
{{ section.settings.label | escape }} → {% endif %}
+
+
+
+
+{% schema %}
+{
+ "name": "Cellife editorial story",
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Section heading"
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Introduction"
+ },
+ {
+ "type": "select",
+ "id": "tone",
+ "label": "Background",
+ "options": [
+ {
+ "value": "light",
+ "label": "White"
+ },
+ {
+ "value": "soft",
+ "label": "Soft platinum"
+ },
+ {
+ "value": "dark",
+ "label": "Brand blue"
+ }
+ ],
+ "default": "light"
+ },
+ {
+ "type": "image_picker",
+ "id": "image",
+ "label": "Image"
+ },
+ {
+ "type": "text",
+ "id": "placeholder_label",
+ "label": "Missing-image label",
+ "default": "Editorial image placeholder"
+ },
+ {
+ "type": "select",
+ "id": "image_position",
+ "label": "Image position",
+ "options": [
+ {
+ "value": "left",
+ "label": "Left"
+ },
+ {
+ "value": "right",
+ "label": "Right"
+ }
+ ],
+ "default": "left"
+ },
+ {
+ "type": "checkbox",
+ "id": "draft",
+ "label": "Mark story as draft",
+ "default": true
+ },
+ {
+ "type": "text",
+ "id": "draft_label",
+ "label": "Draft label",
+ "default": "Editorial placeholder — approved copy required"
+ },
+ {
+ "type": "text",
+ "id": "label",
+ "label": "Button label"
+ },
+ {
+ "type": "url",
+ "id": "link",
+ "label": "Button destination"
+ }
+ ],
+ "max_blocks": 4,
+ "blocks": [
+ {
+ "type": "point",
+ "name": "Supporting point",
+ "settings": [
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Information placeholder"
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Description"
+ }
+ ]
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife editorial story"
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/cellife-faq.liquid b/sections/cellife-faq.liquid
new file mode 100644
index 00000000000..62ab5c58779
--- /dev/null
+++ b/sections/cellife-faq.liquid
@@ -0,0 +1,120 @@
+
+
+ {% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
+
{{ section.settings.heading | escape }}
+ {% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
+
+
+ {% for block in section.blocks %}
+
+ {{ block.settings.question | escape }}
+ {% if block.settings.draft %}
{{ section.settings.draft_label | escape }}
{% endif %}{{ block.settings.answer }}
+
+ {% endfor %}
+ {% if section.settings.link != blank and section.settings.label != blank %}
{{ section.settings.label | escape }} {% endif %}
+
+
+
+
+{% schema %}
+{
+ "name": "Cellife questions",
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Section heading"
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Introduction"
+ },
+ {
+ "type": "select",
+ "id": "tone",
+ "label": "Background",
+ "options": [
+ {
+ "value": "light",
+ "label": "White"
+ },
+ {
+ "value": "soft",
+ "label": "Soft platinum"
+ },
+ {
+ "value": "dark",
+ "label": "Brand blue"
+ }
+ ],
+ "default": "light"
+ },
+ {
+ "type": "text",
+ "id": "draft_label",
+ "label": "Draft label",
+ "default": "Answer placeholder — approval required"
+ },
+ {
+ "type": "text",
+ "id": "label",
+ "label": "Contact link label"
+ },
+ {
+ "type": "url",
+ "id": "link",
+ "label": "Contact link"
+ }
+ ],
+ "max_blocks": 12,
+ "blocks": [
+ {
+ "type": "question",
+ "name": "Question",
+ "settings": [
+ {
+ "type": "text",
+ "id": "question",
+ "label": "Question",
+ "default": "Question placeholder"
+ },
+ {
+ "type": "richtext",
+ "id": "answer",
+ "label": "Answer",
+ "default": "Add an approved answer here.
"
+ },
+ {
+ "type": "checkbox",
+ "id": "draft",
+ "label": "Mark answer as draft",
+ "default": true
+ }
+ ]
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife questions",
+ "blocks": [
+ {
+ "type": "question"
+ },
+ {
+ "type": "question"
+ },
+ {
+ "type": "question"
+ }
+ ]
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/cellife-journey-nav.liquid b/sections/cellife-journey-nav.liquid
index a9fdc7330dc..d9f11666fc5 100644
--- a/sections/cellife-journey-nav.liquid
+++ b/sections/cellife-journey-nav.liquid
@@ -8,7 +8,7 @@
{% schema %}
{
- "name": "Cellife journey navigation",
+ "name": "Cellife journey nav",
"limit": 1,
"enabled_on": {
"groups": [
@@ -37,7 +37,7 @@
],
"presets": [
{
- "name": "Cellife journey navigation"
+ "name": "Cellife journey nav"
}
]
}
diff --git a/sections/cellife-product-shelf.liquid b/sections/cellife-product-shelf.liquid
new file mode 100644
index 00000000000..fb670756765
--- /dev/null
+++ b/sections/cellife-product-shelf.liquid
@@ -0,0 +1,99 @@
+{{ 'component-card.css' | asset_url | stylesheet_tag }}
+{{ 'component-price.css' | asset_url | stylesheet_tag }}
+
+
+ {% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
+
{{ section.settings.heading | escape }}
+ {% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
+
+
+ {% if section.settings.collection != blank and section.settings.label != blank %}
{% endif %}
+
+
+
+{% schema %}
+{
+ "name": "Cellife product shelf",
+ "settings": [
+ {
+ "type": "text",
+ "id": "eyebrow",
+ "label": "Eyebrow"
+ },
+ {
+ "type": "text",
+ "id": "heading",
+ "label": "Heading",
+ "default": "Section heading"
+ },
+ {
+ "type": "richtext",
+ "id": "text",
+ "label": "Introduction"
+ },
+ {
+ "type": "select",
+ "id": "tone",
+ "label": "Background",
+ "options": [
+ {
+ "value": "light",
+ "label": "White"
+ },
+ {
+ "value": "soft",
+ "label": "Soft platinum"
+ },
+ {
+ "value": "dark",
+ "label": "Brand blue"
+ }
+ ],
+ "default": "light"
+ },
+ {
+ "type": "collection",
+ "id": "collection",
+ "label": "Collection"
+ },
+ {
+ "type": "range",
+ "id": "limit",
+ "label": "Product count",
+ "min": 2,
+ "max": 8,
+ "step": 1,
+ "default": 4
+ },
+ {
+ "type": "text",
+ "id": "product_label",
+ "label": "Product link label",
+ "default": "View product"
+ },
+ {
+ "type": "text",
+ "id": "label",
+ "label": "Collection link label",
+ "default": "Explore the range"
+ },
+ {
+ "type": "text",
+ "id": "empty_label",
+ "label": "Empty collection label",
+ "default": "Product placeholder — select a collection"
+ }
+ ],
+ "presets": [
+ {
+ "name": "Cellife product shelf"
+ }
+ ]
+}
+{% endschema %}
diff --git a/sections/footer-group.json b/sections/footer-group.json
index 6234f01624f..ca1655f7b16 100644
--- a/sections/footer-group.json
+++ b/sections/footer-group.json
@@ -4,11 +4,29 @@
"sections": {
"footer": {
"type": "footer",
- "blocks": {},
- "block_order": [],
+ "blocks": {
+ "brand": {
+ "type": "text",
+ "settings": {
+ "heading": "Cellife. The fountain of you.",
+ "subtext": "Explore supplements, diagnostic test kits and product information.
"
+ }
+ },
+ "shop": {
+ "type": "link_list",
+ "settings": {
+ "heading": "Explore",
+ "menu": "main-menu"
+ }
+ }
+ },
+ "block_order": [
+ "brand",
+ "shop"
+ ],
"settings": {
- "color_scheme": "scheme-1",
- "newsletter_enable": true,
+ "color_scheme": "scheme-3",
+ "newsletter_enable": false,
"newsletter_heading": "Subscribe to our emails",
"enable_follow_on_shop": true,
"show_social": true,
@@ -17,12 +35,46 @@
"payment_enable": true,
"show_policy": true,
"margin_top": 0,
- "padding_top": 36,
- "padding_bottom": 36
+ "padding_top": 64,
+ "padding_bottom": 32
}
+ },
+ "cellife_newsletter": {
+ "type": "newsletter",
+ "settings": {
+ "color_scheme": "scheme-2",
+ "full_width": true,
+ "padding_top": 64,
+ "padding_bottom": 64
+ },
+ "blocks": {
+ "heading": {
+ "type": "heading",
+ "settings": {
+ "heading": "A note from Cellife.",
+ "heading_size": "h1"
+ }
+ },
+ "copy": {
+ "type": "paragraph",
+ "settings": {
+ "text": "Subscribe for Cellife news and product updates. You can unsubscribe at any time.
"
+ }
+ },
+ "form": {
+ "type": "email_form",
+ "settings": {}
+ }
+ },
+ "block_order": [
+ "heading",
+ "copy",
+ "form"
+ ]
}
},
"order": [
+ "cellife_newsletter",
"footer"
]
}
diff --git a/sections/header-group.json b/sections/header-group.json
index 9d8ddac6ca8..fd4df07d7ec 100644
--- a/sections/header-group.json
+++ b/sections/header-group.json
@@ -5,7 +5,7 @@
"announcement-bar": {
"type": "announcement-bar",
"settings": {
- "color_scheme": "scheme-1",
+ "color_scheme": "scheme-3",
"show_line_separator": true,
"show_social": false,
"auto_rotate": false,
@@ -17,10 +17,10 @@
"announcement-bar-0": {
"type": "announcement",
"settings": {
- "text": "Welcome to our store",
+ "text": "Explore Cellife supplements and diagnostic test kits.",
"text_alignment": "center",
- "color_scheme": "scheme-1",
- "link": ""
+ "color_scheme": "scheme-3",
+ "link": "/collections/supplements"
}
}
},
diff --git a/sections/main-product.liquid b/sections/main-product.liquid
index d5c75d5a6e7..a3a301d5378 100644
--- a/sections/main-product.liquid
+++ b/sections/main-product.liquid
@@ -82,6 +82,7 @@
{%- assign product_form_id = 'product-form-' | append: section.id -%}
@@ -753,6 +754,13 @@
+{% if settings.cellife_mobile_product_link %}
+
+{% endif %}
+
{% schema %}
{
"name": "t:sections.main-product.name",
diff --git a/snippets/card-product.liquid b/snippets/card-product.liquid
index b65762be839..fae4ee61296 100644
--- a/snippets/card-product.liquid
+++ b/snippets/card-product.liquid
@@ -207,6 +207,10 @@
{%- endif -%}
{% render 'price', product: card_product, price_class: '', show_compare_at_price: true %}
+ {% if settings.cellife_card_details %}
+ {% if card_product.metafields.cellife.short_summary != blank %}{{ card_product.metafields.cellife.short_summary.value | escape }}
{% endif %}
+ {{ 'products.product.view_full_details' | t }}
+ {% endif %}
{%- if card_product.quantity_price_breaks_configured? -%}
{% if card_product.variants_count == 1 and quick_add == 'bulk' %}
{% liquid
diff --git a/snippets/cellife-media-placeholder.liquid b/snippets/cellife-media-placeholder.liquid
new file mode 100644
index 00000000000..a9d2a2f9089
--- /dev/null
+++ b/snippets/cellife-media-placeholder.liquid
@@ -0,0 +1,4 @@
+
+
+ {{ label | default: 'Image placeholder' | escape }}
+
diff --git a/templates/collection.json b/templates/collection.json
index efd0a6bef9f..92d93e8e17f 100644
--- a/templates/collection.json
+++ b/templates/collection.json
@@ -12,9 +12,9 @@
"type": "main-collection-product-grid",
"settings": {
"products_per_page": 16,
- "columns_desktop": 4,
+ "columns_desktop": 2,
"color_scheme": "scheme-1",
- "image_ratio": "adapt",
+ "image_ratio": "square",
"image_shape": "default",
"show_secondary_image": false,
"show_vendor": false,
@@ -24,13 +24,44 @@
"filter_type": "horizontal",
"enable_sorting": true,
"columns_mobile": "2",
- "padding_top": 36,
- "padding_bottom": 36
+ "padding_top": 48,
+ "padding_bottom": 64
}
+ },
+ "collection_questions": {
+ "type": "cellife-faq",
+ "settings": {
+ "heading": "Before you choose.",
+ "tone": "soft",
+ "eyebrow": "YOUR QUESTIONS"
+ },
+ "blocks": {
+ "q0": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I read product information?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q1": {
+ "type": "question",
+ "settings": {
+ "question": "How do I contact the Cellife team?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "q0",
+ "q1"
+ ]
}
},
"order": [
"banner",
- "product-grid"
+ "product-grid",
+ "collection_questions"
]
}
diff --git a/templates/index.json b/templates/index.json
index 17f61a5fd91..aad6b8d4109 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -102,7 +102,8 @@
"swipe_on_mobile": false,
"padding_top": 44,
"padding_bottom": 36
- }
+ },
+ "disabled": true
},
"cellife_gateway": {
"type": "cellife-journey-gateway",
@@ -110,12 +111,332 @@
"overlay_enabled": true,
"show_gateway": false
}
+ },
+ "evidence": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "Quality, with the details in view.",
+ "layout": "logos",
+ "tone": "soft",
+ "eyebrow": "QUALITY & TRANSPARENCY"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Evidence placeholder",
+ "text": "Add an approved testing or quality reference.
",
+ "placeholder_label": "Approved evidence mark",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Source placeholder",
+ "text": "Add a verified source or partner, if applicable.
",
+ "placeholder_label": "Approved logo placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Standards placeholder",
+ "text": "Add product-specific supporting documentation.
",
+ "placeholder_label": "Documentation placeholder",
+ "draft": true
+ }
+ },
+ "item_3": {
+ "type": "item",
+ "settings": {
+ "heading": "Transparency placeholder",
+ "text": "Add an approved supporting reference.
",
+ "placeholder_label": "Reference placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2",
+ "item_3"
+ ]
+ },
+ "product_shelf": {
+ "type": "cellife-product-shelf",
+ "settings": {
+ "eyebrow": "EXPLORE SUPPLEMENTS",
+ "heading": "Find your daily essentials.",
+ "text": "Explore the Cellife supplement range and the details behind each product.
",
+ "collection": "supplements",
+ "limit": 4,
+ "tone": "soft"
+ }
+ },
+ "approach": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "A closer look at Cellife.",
+ "layout": "benefits",
+ "tone": "light",
+ "eyebrow": "OUR APPROACH"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Ingredients",
+ "text": "Add approved ingredient sourcing information.
",
+ "placeholder_label": "Ingredient icon placeholder",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Formulation",
+ "text": "Add an approved explanation of formulation choices.
",
+ "placeholder_label": "Formulation icon placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Quality",
+ "text": "Add verified product-specific quality information.
",
+ "placeholder_label": "Quality icon placeholder",
+ "draft": true
+ }
+ },
+ "item_3": {
+ "type": "item",
+ "settings": {
+ "heading": "Directions",
+ "text": "Add approved guidance for finding and reading product instructions.
",
+ "placeholder_label": "Directions icon placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2",
+ "item_3"
+ ]
+ },
+ "community": {
+ "type": "cellife-community",
+ "settings": {
+ "heading": "Stories from the Cellife community.",
+ "eyebrow": "THE HUMAN SIDE",
+ "tone": "soft",
+ "text": "Customer story placeholders. Approved videos and testimonials will appear here.
"
+ },
+ "blocks": {
+ "story_0": {
+ "type": "story",
+ "settings": {
+ "approved": false
+ }
+ },
+ "story_1": {
+ "type": "story",
+ "settings": {
+ "approved": false
+ }
+ },
+ "story_2": {
+ "type": "story",
+ "settings": {
+ "approved": false
+ }
+ }
+ },
+ "block_order": [
+ "story_0",
+ "story_1",
+ "story_2"
+ ]
+ },
+ "product_story": {
+ "type": "cellife-editorial",
+ "settings": {
+ "heading": "The details behind the product.",
+ "text": "Replace this panel with an approved product story, product image and supporting references. Choose the featured Cellife product before adding any benefit statements.
",
+ "tone": "dark",
+ "image_position": "left",
+ "draft": true,
+ "label": "Explore supplements",
+ "link": "/collections/supplements",
+ "placeholder_label": "Editorial image placeholder"
+ }
+ },
+ "education": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "Explore the thinking behind the range.",
+ "layout": "cards",
+ "tone": "soft",
+ "eyebrow": "LEARN WITH CELLIFE"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "An ingredient, explained.",
+ "text": "Add an approved ingredient explainer and its sources.
",
+ "placeholder_label": "Ingredient editorial image",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "From formulation to routine.",
+ "text": "Add approved formulation and use information.
",
+ "placeholder_label": "Routine editorial image",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Read the label. Know the details.",
+ "text": "Add an approved product-information guide.
",
+ "placeholder_label": "Product information image",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2"
+ ]
+ },
+ "people": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "People & expertise.",
+ "layout": "people",
+ "tone": "light",
+ "eyebrow": "BEHIND THE BRAND"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add an approved name, role and biography. Do not imply an advisory board or credentials without verification.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add a consented portrait and verified biography.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add a verified Cellife team or expert profile.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2"
+ ]
+ },
+ "campaign": {
+ "type": "cellife-editorial",
+ "settings": {
+ "heading": "The fountain of you.",
+ "text": "Replace this campaign panel with your finished brand photography and approved supporting copy.
",
+ "tone": "dark",
+ "image_position": "right",
+ "draft": true,
+ "label": "Explore supplements",
+ "link": "/collections/supplements",
+ "placeholder_label": "Editorial image placeholder"
+ }
+ },
+ "questions": {
+ "type": "cellife-faq",
+ "settings": {
+ "heading": "A little clarity, before you choose.",
+ "tone": "soft",
+ "eyebrow": "YOUR QUESTIONS"
+ },
+ "blocks": {
+ "q0": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I find ingredients and directions?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q1": {
+ "type": "question",
+ "settings": {
+ "question": "How do I choose between products?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q2": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I find delivery and returns information?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q3": {
+ "type": "question",
+ "settings": {
+ "question": "How can I contact Cellife?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "q0",
+ "q1",
+ "q2",
+ "q3"
+ ]
}
},
"order": [
"cellife_hero",
- "featured_collection",
+ "evidence",
+ "product_shelf",
+ "approach",
+ "community",
+ "product_story",
+ "education",
+ "people",
+ "campaign",
+ "questions",
"cellife_gateway",
+ "featured_collection",
"cellife_pathways"
]
}
diff --git a/templates/page.about-cellife.json b/templates/page.about-cellife.json
new file mode 100644
index 00000000000..57e65cbf83d
--- /dev/null
+++ b/templates/page.about-cellife.json
@@ -0,0 +1,127 @@
+{
+ "sections": {
+ "intro": {
+ "type": "cellife-landing-intro",
+ "settings": {
+ "heading": "Cellife. The fountain of you.",
+ "eyebrow": "CELLIFE",
+ "text": "Brand story placeholder. Add your approved introduction, history and purpose.
"
+ }
+ },
+ "story": {
+ "type": "cellife-editorial",
+ "settings": {
+ "heading": "The fountain of you.",
+ "text": "Replace this campaign panel with your finished brand photography and approved supporting copy.
",
+ "tone": "dark",
+ "image_position": "right",
+ "draft": true,
+ "label": "Explore supplements",
+ "link": "/collections/supplements",
+ "placeholder_label": "Editorial image placeholder"
+ }
+ },
+ "approach": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "A closer look at Cellife.",
+ "layout": "benefits",
+ "tone": "light",
+ "eyebrow": "OUR APPROACH"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Ingredients",
+ "text": "Add approved ingredient sourcing information.
",
+ "placeholder_label": "Ingredient icon placeholder",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Formulation",
+ "text": "Add an approved explanation of formulation choices.
",
+ "placeholder_label": "Formulation icon placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Quality",
+ "text": "Add verified product-specific quality information.
",
+ "placeholder_label": "Quality icon placeholder",
+ "draft": true
+ }
+ },
+ "item_3": {
+ "type": "item",
+ "settings": {
+ "heading": "Directions",
+ "text": "Add approved guidance for finding and reading product instructions.
",
+ "placeholder_label": "Directions icon placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2",
+ "item_3"
+ ]
+ },
+ "people": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "People & expertise.",
+ "layout": "people",
+ "tone": "light",
+ "eyebrow": "BEHIND THE BRAND"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add an approved name, role and biography. Do not imply an advisory board or credentials without verification.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add a consented portrait and verified biography.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add a verified Cellife team or expert profile.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2"
+ ]
+ }
+ },
+ "order": [
+ "intro",
+ "story",
+ "approach",
+ "people"
+ ]
+}
diff --git a/templates/page.faq.json b/templates/page.faq.json
new file mode 100644
index 00000000000..6a36dd95ebe
--- /dev/null
+++ b/templates/page.faq.json
@@ -0,0 +1,64 @@
+{
+ "sections": {
+ "intro": {
+ "type": "cellife-landing-intro",
+ "settings": {
+ "heading": "Your questions.",
+ "eyebrow": "CELLIFE",
+ "text": "FAQ page placeholder. Replace draft answers with approved product and policy information.
"
+ }
+ },
+ "questions": {
+ "type": "cellife-faq",
+ "settings": {
+ "heading": "A little clarity, before you choose.",
+ "tone": "soft",
+ "eyebrow": "YOUR QUESTIONS"
+ },
+ "blocks": {
+ "q0": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I find ingredients and directions?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q1": {
+ "type": "question",
+ "settings": {
+ "question": "How do I choose between products?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q2": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I find delivery and returns information?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q3": {
+ "type": "question",
+ "settings": {
+ "question": "How can I contact Cellife?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "q0",
+ "q1",
+ "q2",
+ "q3"
+ ]
+ }
+ },
+ "order": [
+ "intro",
+ "questions"
+ ]
+}
diff --git a/templates/page.ingredients.json b/templates/page.ingredients.json
new file mode 100644
index 00000000000..d4f47fca722
--- /dev/null
+++ b/templates/page.ingredients.json
@@ -0,0 +1,108 @@
+{
+ "sections": {
+ "intro": {
+ "type": "cellife-landing-intro",
+ "settings": {
+ "heading": "Ingredients, in context.",
+ "eyebrow": "CELLIFE",
+ "text": "Ingredient guide placeholder. Add verified ingredient information linked to the relevant Cellife products.
"
+ }
+ },
+ "education": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "Explore the thinking behind the range.",
+ "layout": "cards",
+ "tone": "soft",
+ "eyebrow": "LEARN WITH CELLIFE"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "An ingredient, explained.",
+ "text": "Add an approved ingredient explainer and its sources.
",
+ "placeholder_label": "Ingredient editorial image",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "From formulation to routine.",
+ "text": "Add approved formulation and use information.
",
+ "placeholder_label": "Routine editorial image",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Read the label. Know the details.",
+ "text": "Add an approved product-information guide.
",
+ "placeholder_label": "Product information image",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2"
+ ]
+ },
+ "questions": {
+ "type": "cellife-faq",
+ "settings": {
+ "heading": "A little clarity, before you choose.",
+ "tone": "soft",
+ "eyebrow": "YOUR QUESTIONS"
+ },
+ "blocks": {
+ "q0": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I find ingredients and directions?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q1": {
+ "type": "question",
+ "settings": {
+ "question": "How do I choose between products?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q2": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I find delivery and returns information?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q3": {
+ "type": "question",
+ "settings": {
+ "question": "How can I contact Cellife?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "q0",
+ "q1",
+ "q2",
+ "q3"
+ ]
+ }
+ },
+ "order": [
+ "intro",
+ "education",
+ "questions"
+ ]
+}
diff --git a/templates/page.science.json b/templates/page.science.json
new file mode 100644
index 00000000000..dec84c9ca3c
--- /dev/null
+++ b/templates/page.science.json
@@ -0,0 +1,127 @@
+{
+ "sections": {
+ "intro": {
+ "type": "cellife-landing-intro",
+ "settings": {
+ "heading": "The details behind the range.",
+ "eyebrow": "CELLIFE",
+ "text": "Science page placeholder. Add approved Cellife research, product-specific evidence and references.
"
+ }
+ },
+ "evidence": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "Quality, with the details in view.",
+ "layout": "logos",
+ "tone": "soft",
+ "eyebrow": "QUALITY & TRANSPARENCY"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Evidence placeholder",
+ "text": "Add an approved testing or quality reference.
",
+ "placeholder_label": "Approved evidence mark",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Source placeholder",
+ "text": "Add a verified source or partner, if applicable.
",
+ "placeholder_label": "Approved logo placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Standards placeholder",
+ "text": "Add product-specific supporting documentation.
",
+ "placeholder_label": "Documentation placeholder",
+ "draft": true
+ }
+ },
+ "item_3": {
+ "type": "item",
+ "settings": {
+ "heading": "Transparency placeholder",
+ "text": "Add an approved supporting reference.
",
+ "placeholder_label": "Reference placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2",
+ "item_3"
+ ]
+ },
+ "story": {
+ "type": "cellife-editorial",
+ "settings": {
+ "heading": "The details behind the product.",
+ "text": "Replace this panel with an approved product story, product image and supporting references. Choose the featured Cellife product before adding any benefit statements.
",
+ "tone": "dark",
+ "image_position": "left",
+ "draft": true,
+ "label": "Explore supplements",
+ "link": "/collections/supplements",
+ "placeholder_label": "Editorial image placeholder"
+ }
+ },
+ "education": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "Explore the thinking behind the range.",
+ "layout": "cards",
+ "tone": "soft",
+ "eyebrow": "LEARN WITH CELLIFE"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "An ingredient, explained.",
+ "text": "Add an approved ingredient explainer and its sources.
",
+ "placeholder_label": "Ingredient editorial image",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "From formulation to routine.",
+ "text": "Add approved formulation and use information.
",
+ "placeholder_label": "Routine editorial image",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Read the label. Know the details.",
+ "text": "Add an approved product-information guide.
",
+ "placeholder_label": "Product information image",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2"
+ ]
+ }
+ },
+ "order": [
+ "intro",
+ "evidence",
+ "story",
+ "education"
+ ]
+}
diff --git a/templates/product.json b/templates/product.json
index 36db58c03c6..1fb59b4078b 100644
--- a/templates/product.json
+++ b/templates/product.json
@@ -57,12 +57,12 @@
"enable_sticky_info": true,
"color_scheme": "scheme-1",
"media_position": "left",
- "gallery_layout": "stacked",
+ "gallery_layout": "thumbnail_slider",
"media_size": "large",
"constrain_to_viewport": true,
"media_fit": "contain",
"image_zoom": "lightbox",
- "mobile_thumbnails": "hide",
+ "mobile_thumbnails": "show",
"hide_variants": true,
"enable_video_looping": false,
"padding_top": 36,
@@ -93,11 +93,109 @@
"padding_top": 36,
"padding_bottom": 28
}
+ },
+ "product_details": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "Get to know your product.",
+ "layout": "benefits",
+ "tone": "soft",
+ "eyebrow": ""
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Ingredients / contents",
+ "text": "Connect approved product-specific content using a dynamic source.
",
+ "placeholder_label": "Contents infographic placeholder",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Directions / intended use",
+ "text": "Add the product’s approved directions, intended use and limitations.
",
+ "placeholder_label": "Directions infographic placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Suitability & warnings",
+ "text": "Add product-specific warnings and suitability information.
",
+ "placeholder_label": "Warning infographic placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2"
+ ]
+ },
+ "product_story": {
+ "type": "cellife-editorial",
+ "settings": {
+ "heading": "A closer look.",
+ "text": "Add approved product-specific imagery, information and evidence here. This section is a draft, not a product claim.
",
+ "tone": "light",
+ "image_position": "left",
+ "draft": true,
+ "label": "",
+ "link": "",
+ "placeholder_label": "Editorial image placeholder"
+ }
+ },
+ "product_questions": {
+ "type": "cellife-faq",
+ "settings": {
+ "heading": "Product questions.",
+ "tone": "soft",
+ "eyebrow": "YOUR QUESTIONS"
+ },
+ "blocks": {
+ "q0": {
+ "type": "question",
+ "settings": {
+ "question": "What is included?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q1": {
+ "type": "question",
+ "settings": {
+ "question": "Where are the directions and warnings?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q2": {
+ "type": "question",
+ "settings": {
+ "question": "How do I find delivery information?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "q0",
+ "q1",
+ "q2"
+ ]
}
},
"order": [
"main",
"disclosures",
+ "product_details",
+ "product_story",
+ "product_questions",
"related-products"
]
}
diff --git a/tests/editorial.cjs b/tests/editorial.cjs
new file mode 100644
index 00000000000..6c99e0b4538
--- /dev/null
+++ b/tests/editorial.cjs
@@ -0,0 +1,105 @@
+/* Renders the custom Liquid sections with LiquidJS + real CSS, without Shopify APIs.
+ Native Shopify commerce and app blocks still require a development-theme check. */
+const fs=require('node:fs'),path=require('node:path'),http=require('node:http'),assert=require('node:assert/strict');
+const {Liquid}=require('liquidjs');
+const {chromium}=require('playwright');
+const root=path.resolve(__dirname,'..');
+const read=p=>fs.readFileSync(path.join(root,p),'utf8');
+const json=p=>{const s=read(p);return JSON.parse(s.slice(s.indexOf('{')))};
+const engine=new Liquid({root:[path.join(root,'snippets'),path.join(root,'sections')],extname:'.liquid',strictFilters:true});
+engine.registerFilter('asset_url',s=>`/assets/${s}`);
+engine.registerFilter('stylesheet_tag',s=>` `);
+engine.registerFilter('image_url',()=> '');
+engine.registerFilter('image_tag',()=> '');
+engine.registerFilter('video_tag',()=> '');
+const settings={...json('config/settings_data.json').current};
+const schema=JSON.parse(read('config/settings_schema.json'));
+for(const group of schema)for(const s of group.settings||[])if(settings[s.id]===undefined && s.default!==undefined)settings[s.id]=s.default;
+const sourceFor=type=>read(`sections/${type}.liquid`).split('{% schema %}')[0];
+const sectionSchema=type=>JSON.parse(read(`sections/${type}.liquid`).split('{% schema %}')[1].split('{% endschema %}')[0]);
+const defaults=list=>Object.fromEntries((list||[]).filter(x=>x.id).map(x=>[x.id,x.default===undefined?null:x.default]));
+const home=json('templates/index.json');
+const customTypes=new Set(['cellife-hero','cellife-journey-gateway','cellife-content-grid','cellife-editorial','cellife-product-shelf','cellife-community','cellife-faq']);
+function context(type,section,id,index=1){
+ const schema=sectionSchema(type),sectionSettings={...defaults(schema.settings),...section.settings};
+ // Fixture media are intentionally absent; no remote images or invented products.
+ sectionSettings.image=null;sectionSettings.mobile_image=null;
+ if(sectionSettings.collection)sectionSettings.collection={products:[],url:'/collections/supplements'};
+ const blocks=(section.block_order||[]).map(key=>{const b=section.blocks[key],definition=schema.blocks.find(x=>x.type===b.type);return {id:key,type:b.type,settings:{...defaults(definition?.settings),...b.settings},shopify_attributes:''}});
+ return {section:{id,index,settings:sectionSettings,blocks},settings,request:{page_type:'index',design_mode:false,path:'/'},routes:{root_url:'/'},page:{title:'Cellife'},Shopify:{designMode:false}};
+}
+async function renderSection(type,data,id,index){return engine.parseAndRender(sourceFor(type),context(type,data,id,index),{globals:{settings,routes:{root_url:'/'}}});}
+async function build(){
+ let body='';let index=0;
+ for(const id of home.order){const section=home.sections[id];if(section.disabled||!customTypes.has(section.type))continue;body+=await renderSection(section.type,section,id,++index);}
+ const nav=await renderSection('cellife-journey-nav',{settings:{}},'journey-nav',0);
+ const wrap=(content,kind='index')=>`Cellife editorial layout fixture ${nav}${content} Cellife · Footer layout placeholder `;
+ return wrap(body);
+}
+function structuralChecks(){
+ assert.equal(home.sections.cellife_gateway.settings.overlay_enabled,true);
+ assert.equal(home.sections.cellife_gateway.settings.show_gateway,false);
+ assert.equal(home.sections.product_shelf.settings.collection,'supplements');
+ const old=json('docs/snapshots/homepage-before-editorial.json');
+ assert.deepEqual(home.sections.cellife_hero,old.sections.cellife_hero,'preserve merchant hero');
+ assert(read('layout/theme.liquid').includes("'cellife-journeys.js'"),'global popup initialization');
+ for(const p of ['templates/index.json','templates/product.json','templates/collection.json','templates/page.science.json','templates/page.ingredients.json','templates/page.about-cellife.json','templates/page.faq.json']){
+ const template=json(p);
+ for(const id of template.order){
+ const section=template.sections[id];assert(section,`${p} ordered section ${id} exists`);
+ const schema=sectionSchema(section.type);
+ const known=new Map(schema.settings.filter(x=>x.id).map(x=>[x.id,x]));
+ for(const [key,val]of Object.entries(section.settings||{})){
+ assert(known.has(key),`${p}/${id} unknown setting ${key}`);
+ const field=known.get(key);
+ if(field.type==='select')assert(field.options.some(x=>x.value===val),`${p}/${id} invalid ${key}`);
+ }
+ for(const block of Object.values(section.blocks||{}))assert(schema.blocks?.some(x=>x.type===block.type),`${p}/${id} unknown block ${block.type}`);
+ }
+ }
+ const main=read('sections/main-product.liquid');
+ assert(main.includes("render 'buy-buttons'"));assert(main.includes('"type": "@app"'));assert(main.includes('product | structured_data'));
+ assert(read('snippets/product-disclosures.liquid').includes('metafields.shopify.disclosure'));
+ assert.equal(home.sections.community.blocks.story_0.settings.approved,false);
+ console.log('PASS schema references/options, real product source, preserved hero, native product/app/disclosure hooks, unapproved story gates');
+}
+(async()=>{
+ structuralChecks();
+ const html=await build();assert(!html.includes('{%'),'no unrendered custom Liquid tags');
+ const server=http.createServer((req,res)=>{if(req.url.startsWith('/assets/')){const p=req.url.slice(1);if(!/^assets\/[a-z0-9.-]+$/.test(p)){res.statusCode=404;return res.end();}res.setHeader('Content-Type',p.endsWith('.js')?'text/javascript':'text/css');return res.end(read(p));}res.setHeader('Content-Type','text/html; charset=utf-8');res.end(html);});
+ await new Promise(resolve=>server.listen(0,'127.0.0.1',resolve));
+ const browser=await chromium.launch({executablePath:process.env.CHROMIUM_PATH||'/usr/bin/chromium',args:['--no-sandbox']});
+ const base=`http://127.0.0.1:${server.address().port}`;
+ try{
+ for(const width of [320,390,1440]){
+ const context=await browser.newContext({viewport:{width,height:1000}});const page=await context.newPage();const errors=[];page.on('pageerror',e=>errors.push(e.message));
+ await page.addInitScript(()=>localStorage.setItem('cellife:journey:v1','dismissed'));
+ await page.goto(base);
+ assert(await page.evaluate(()=>document.documentElement.scrollWidth<=innerWidth),`${width}px has no page overflow`);
+ assert.equal(await page.locator('dialog').evaluate(d=>d.open),false);
+ assert.equal(await page.locator('.cellife-community-card blockquote').count(),0,'no unapproved customer quote');
+ assert.equal(await page.locator('.cellife-community-card video').count(),0,'no unapproved video');
+ assert.equal(await page.locator('.cellife-community-card').count(),3);
+ assert.equal(await page.locator('.cellife-faq-item').count(),4);
+ await page.locator('.cellife-faq-item summary').first().click();
+ assert.equal(await page.locator('.cellife-faq-item').first().evaluate(d=>d.open),true);
+ assert.equal(await page.locator('nav a').first().getAttribute('href'),'/');
+ assert.equal(await page.locator('nav a').last().getAttribute('href'),'/pages/diagnostic-test-kits');
+ assert.deepEqual(errors,[]);
+ if(process.env.SCREENSHOT_DIR){fs.mkdirSync(process.env.SCREENSHOT_DIR,{recursive:true});await page.screenshot({path:path.join(process.env.SCREENSHOT_DIR,`editorial-${width}.png`),fullPage:true});}
+ console.log(`PASS ${width}px: actual custom Liquid rendered, no overflow, FAQ, navigation, placeholder gates, no runtime errors`);
+ await context.close();
+ const firstContext=await browser.newContext({viewport:{width,height:1000}});
+ const firstPage=await firstContext.newPage();
+ await firstPage.goto(base);
+ await firstPage.waitForSelector('dialog[open]');
+ assert.equal(await firstPage.locator('.cellife-gateway').count(),0,'inline gateway remains hidden');
+ assert.equal(await firstPage.locator('dialog a').first().getAttribute('href'),'/','popup supplements returns home');
+ await firstPage.keyboard.press('Escape');
+ await firstPage.waitForFunction(()=>!document.querySelector('dialog').open);
+ assert.equal(await firstPage.evaluate(()=>localStorage.getItem('cellife:journey:v1')),'dismissed');
+ await firstContext.close();
+ console.log(`PASS ${width}px: integrated first-entry popup works while inline gateway stays hidden`);
+ }
+ }finally{await browser.close();server.close();}
+})().catch(e=>{console.error(e);process.exit(1);});
From b829d12533e2b003bdf17a2541ad40d07ced5152 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 12:37:59 +1100
Subject: [PATCH 012/151] Record Shopify preview verification and review
limitations
---
docs/EDITORIAL_OVERHAUL.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/docs/EDITORIAL_OVERHAUL.md b/docs/EDITORIAL_OVERHAUL.md
index b388dd0ab17..5cc0eb63a00 100644
--- a/docs/EDITORIAL_OVERHAUL.md
+++ b/docs/EDITORIAL_OVERHAUL.md
@@ -111,6 +111,20 @@ The existing Contact page retains Shopify's native form.
catalog rendering, native forms, app behavior, real video, cart mutations, Safari
and field performance need development-theme testing with final content.
+Subsequent read-only verification of the actual preview confirmed the homepage,
+real supplement shelf, collection, product gallery, displayed price/quantity and
+purchase controls, first-entry popup, FAQ expansion and newsletter field at desktop
+and mobile sizes. No obvious Liquid errors, broken images or mobile overflow were
+observed. The Shopify preview toolbar covers the mobile bottom action; hide the
+toolbar when reviewing that action. This is a preview-environment overlay, not a
+reason to place theme controls above Shopify's toolbar.
+
+Inspected preview routes: `/`, `/collections/supplements`, and
+`/products/cellife-ampk-fatburst-60s` on
+`cc94u8jqife1m0hi-85851341113.shopifypreview.com`. Cart mutations, checkout, accounts,
+form submissions, third-party app compatibility, video with final media, Safari
+and field performance remain unverified. The published live theme was not changed.
+
Temporary local tooling lives outside the repository. Reproduce checks with
Shopify CLI and Node/Playwright/LiquidJS available:
From 48cf2c6bf67d3ca92ac22f5b63d5c4497688a0d5 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 23 Oct 2026 13:18:21 +1100
Subject: [PATCH 013/151] Focus homepage on products, moving stories, quiz and
welcome offer
---
assets/cellife-editorial.css | 41 ++
assets/cellife-story-rail.js | 75 +++
config/settings_schema.json | 6 +
docs/FOCUSED_HOMEPAGE.md | 80 ++++
.../homepage-before-focused-sequence.json | 442 ++++++++++++++++++
sections/cellife-community.liquid | 45 +-
sections/cellife-first-offer.liquid | 114 +++++
sections/cellife-hero.liquid | 15 +-
sections/cellife-product-shelf.liquid | 14 +-
sections/cellife-quiz-banner.liquid | 88 ++++
sections/footer-group.json | 10 +-
snippets/cellife-product-badges.liquid | 17 +
snippets/cellife-quiz-url.liquid | 1 +
templates/index.json | 89 ++--
tests/editorial.cjs | 68 ++-
15 files changed, 1064 insertions(+), 41 deletions(-)
create mode 100644 assets/cellife-story-rail.js
create mode 100644 docs/FOCUSED_HOMEPAGE.md
create mode 100644 docs/snapshots/homepage-before-focused-sequence.json
create mode 100644 sections/cellife-first-offer.liquid
create mode 100644 sections/cellife-quiz-banner.liquid
create mode 100644 snippets/cellife-product-badges.liquid
create mode 100644 snippets/cellife-quiz-url.liquid
diff --git a/assets/cellife-editorial.css b/assets/cellife-editorial.css
index c85d6444c3a..a0e5d56b377 100644
--- a/assets/cellife-editorial.css
+++ b/assets/cellife-editorial.css
@@ -83,6 +83,9 @@
.cellife-product-shelf .price { font-size: 16px; font-weight: 600; }
.cellife-product-shelf .cellife-editorial-link { width: 100%; font-size: 13px; }
.cellife-shelf-placeholder > .cellife-media-placeholder { aspect-ratio: 1; min-height: 180px; height: auto; }
+.cellife-product-shelf > li { position: relative; }
+.cellife-product-badge { position: absolute; z-index: 3; top: 24px; left: 24px; padding: 6px 12px; border-radius: 100px; background: #3e2b62; color: white; font-size: 10px; font-weight: 600; letter-spacing: .06em; line-height: 1.4; }
+.cellife-product-badge--new { background: #8f2c26; }
.cellife-community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cellife-community-card { min-width: 0; border-radius: 12px; overflow: hidden; background: white; color: #262125; border: 1px solid var(--cellife-line, #e4e0e9); }
.cellife-community-card__media { aspect-ratio: 3 / 4; }
@@ -90,6 +93,39 @@
.cellife-community-card__copy { padding: 24px; font-size: 14px; line-height: 1.7; }
.cellife-community-card blockquote { margin: 0; border: 0; padding: 0; font-style: normal; }
.cellife-community-app { grid-column: 1 / -1; }
+cellife-story-rail { display: block; min-width: 0; }
+.cellife-story-controls { display: flex; justify-content: flex-end; margin: -12px 0 16px; }
+.cellife-story-controls button { min-height: 44px; padding: 8px 16px; border: 1px solid currentColor; border-radius: 6px; color: inherit; background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
+.cellife-story-viewport { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; padding-bottom: 16px; }
+cellife-story-rail .cellife-community-grid { display: flex; gap: 24px; width: 100%; overflow: visible; padding: 0; }
+cellife-story-rail .cellife-community-card { flex: 0 0 var(--story-card-width, 360px); }
+.cellife-community-card--text { display: flex; align-items: center; min-height: 340px; }
+.cellife-community-card--text blockquote { color: #3e2b62; font-size: 24px; line-height: 1.5; }
+cellife-story-rail .cellife-community-app { flex: 0 0 100%; }
+.cellife-photo-banner { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 560px; padding: 64px max(40px, calc((100% - 1280px) / 2)); background: #3e2b62; color: white; scroll-margin-top: 100px; }
+.cellife-photo-banner__media { position: absolute; inset: 0; z-index: 0; }
+.cellife-photo-banner__media > img { width: 100%; height: 100%; object-fit: cover; }
+.cellife-photo-banner__media > .cellife-media-placeholder { align-items: flex-end; justify-content: flex-start; padding: 32px; }
+.cellife-photo-banner__copy { position: relative; z-index: 1; padding: 32px; width: min(100%, 600px); border-radius: 12px; background: rgba(62, 43, 98, .88); }
+.cellife-photo-banner h2 { font-size: clamp(32px, 4vw, 56px); color: white; margin: 0 0 20px; }
+.cellife-photo-banner .cellife-editorial-button { color: #3e2b62; background: white; border-color: white; }
+.cellife-photo-banner .cellife-editorial-button--outline { color: white; background: transparent; }
+.cellife-photo-banner .cellife-draft-label { margin-top: 24px; }
+.cellife-first-offer__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
+.cellife-first-offer h2 { margin: 0 0 20px; color: #3e2b62; font-size: clamp(32px, 4vw, 56px); }
+.cellife-first-offer fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
+.cellife-first-offer label { display: block; margin-bottom: 12px; font-size: 14px; }
+.cellife-email-row { display: flex; gap: 12px; }
+.cellife-email-row input { min-width: 0; flex: 1; min-height: 48px; border: 1px solid #b5a8ca; border-radius: 6px; background: white; color: #262125; padding: 12px; font: inherit; }
+.cellife-email-row button { flex-shrink: 0; }
+.cellife-first-offer__fineprint { font-size: 12px; line-height: 1.6; }
+.cellife-offer-code { display: inline-block; border: 1px dashed #3e2b62; padding: 12px 20px; font-size: 22px; }
+@media (max-width: 749px) {
+ .cellife-photo-banner { min-height: 520px; padding: 100px 20px 32px; align-items: end; }
+ .cellife-photo-banner__copy { padding: 24px; }
+ .cellife-first-offer__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
+ .cellife-email-row { flex-direction: column; }
+}
.cellife-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
.cellife-faq-item { border-top: 1px solid var(--cellife-line, #e4e0e9); padding: 20px 0; }
.cellife-faq-item:last-of-type { border-bottom: 1px solid var(--cellife-line, #e4e0e9); }
@@ -136,6 +172,11 @@
.cellife-product-shelf, .cellife-community-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x proximity; gap: 16px; padding-bottom: 16px; }
.cellife-product-shelf > li, .cellife-community-card { scroll-snap-align: start; }
.cellife-product-shelf > li { padding: 16px; }
+ .cellife-product-shelf { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 12px; }
+ .cellife-product-shelf > li { padding: 12px; }
+ .cellife-product-shelf .card__heading { font-size: 16px; line-height: 1.25; }
+ .cellife-product-shelf .price { font-size: 14px; }
+ .cellife-shelf-placeholder > .cellife-media-placeholder { min-height: 0; padding: 12px; }
.cellife-shell .collection .card--standard { padding: 10px; }
.cellife-shell .collection .card__heading { font-size: 16px; }
.cellife-shell .collection .price { font-size: 14px; }
diff --git a/assets/cellife-story-rail.js b/assets/cellife-story-rail.js
new file mode 100644
index 00000000000..6c6da515359
--- /dev/null
+++ b/assets/cellife-story-rail.js
@@ -0,0 +1,75 @@
+/* Move original cards, never cloned video players or duplicated accessible content. */
+if (!customElements.get('cellife-story-rail')) {
+ customElements.define('cellife-story-rail', class extends HTMLElement {
+ connectedCallback() {
+ if (this.controller) return;
+ this.controller = new AbortController();
+ const options = { signal: this.controller.signal };
+ this.viewport = this.querySelector('.cellife-story-viewport');
+ this.track = this.querySelector('[data-story-track]');
+ this.toggle = this.querySelector('[data-rail-toggle]');
+ if (!this.viewport || !this.track || !this.toggle) return;
+ this.motion = matchMedia('(prefers-reduced-motion: reduce)');
+ this.paused = this.dataset.autoScroll !== 'true' || this.motion.matches || Boolean(window.Shopify?.designMode);
+ this.hovered = false;
+ this.visible = false;
+ this.speed = Math.min(50, Math.max(10, Number(this.dataset.speed) || 24));
+ this.toggle.hidden = false;
+ const update = () => {
+ this.toggle.textContent = this.paused ? this.toggle.dataset.playLabel : this.toggle.dataset.pauseLabel;
+ this.toggle.setAttribute('aria-pressed', String(this.paused));
+ };
+ const pause = () => { this.paused = true; update(); };
+ this.toggle.addEventListener('click', () => { this.paused = !this.paused; update(); }, options);
+ this.viewport.addEventListener('pointerenter', () => { this.hovered = true; }, options);
+ this.viewport.addEventListener('pointerleave', () => { this.hovered = false; }, options);
+ this.viewport.addEventListener('pointerdown', pause, options);
+ this.viewport.addEventListener('wheel', pause, { ...options, passive: true });
+ this.viewport.addEventListener('keydown', pause, options);
+ this.viewport.addEventListener('play', pause, { ...options, capture: true });
+ this.motion.addEventListener('change', () => { if (this.motion.matches) pause(); }, options);
+ const measure = () => {
+ const first = this.track.firstElementChild;
+ const gap = parseFloat(getComputedStyle(this.track).gap) || 0;
+ const count = this.track.children.length;
+ const visibleCards = Math.min(this.viewport.clientWidth < 750 ? 1.15 : 3.2, count - 1);
+ if (visibleCards > 0) this.style.setProperty('--story-card-width', `${(this.viewport.clientWidth - gap * (visibleCards - 1)) / visibleCards}px`);
+ this.step = first ? first.getBoundingClientRect().width + gap : 0;
+ this.overflowing = this.viewport.scrollWidth > this.viewport.clientWidth + 2;
+ this.toggle.hidden = !this.overflowing || Boolean(this.querySelector('.cellife-community-app'));
+ };
+ this.resize = new ResizeObserver(measure);
+ this.resize.observe(this.viewport);
+ this.intersection = new IntersectionObserver(([entry]) => { this.visible = entry.isIntersecting; });
+ this.intersection.observe(this);
+ measure(); update();
+ let previous, position = this.viewport.scrollLeft, wasMoving = false;
+ const frame = (now) => {
+ const delta = previous === undefined ? 0 : Math.min(50, now - previous);
+ previous = now;
+ const focused = this.viewport.contains(document.activeElement);
+ const playing = [...this.querySelectorAll('video')].some(video => !video.paused);
+ const moving = !this.paused && !this.hovered && !focused && !playing && this.visible && !document.hidden && this.overflowing && this.step > 0 && !this.querySelector('.cellife-community-app');
+ if (moving) {
+ if (!wasMoving) position = this.viewport.scrollLeft;
+ position += delta * this.speed / 1000;
+ if (position >= this.step) {
+ position -= this.step;
+ this.track.append(this.track.firstElementChild);
+ }
+ this.viewport.scrollLeft = position;
+ }
+ wasMoving = moving;
+ this.frame = requestAnimationFrame(frame);
+ };
+ this.frame = requestAnimationFrame(frame);
+ }
+ disconnectedCallback() {
+ cancelAnimationFrame(this.frame);
+ this.controller?.abort();
+ this.resize?.disconnect();
+ this.intersection?.disconnect();
+ this.controller = null;
+ }
+ });
+}
diff --git a/config/settings_schema.json b/config/settings_schema.json
index da336e91302..1cd7055c608 100644
--- a/config/settings_schema.json
+++ b/config/settings_schema.json
@@ -1479,6 +1479,12 @@
"id": "cellife_diagnostics_page",
"label": "Diagnostic Test Kits landing page",
"info": "Assign a page using page.diagnostic-test-kits. Unset defaults to /pages/diagnostic-test-kits."
+ },
+ {
+ "type": "url",
+ "id": "cellife_quiz_url",
+ "label": "Quiz destination",
+ "info": "Connect the actual quiz page or app URL when ready. Until then, quiz buttons lead to the clearly marked setup placeholder in the homepage banner."
}
]
},
diff --git a/docs/FOCUSED_HOMEPAGE.md b/docs/FOCUSED_HOMEPAGE.md
new file mode 100644
index 00000000000..a1945995b33
--- /dev/null
+++ b/docs/FOCUSED_HOMEPAGE.md
@@ -0,0 +1,80 @@
+# Focused supplement homepage
+
+This revision supersedes the longer homepage in EDITORIAL_OVERHAUL.md. Active
+sequence: photographic hero → four products → four approach tiles → moving
+testimonial rail → photographic Shop/Quiz banner → first-order email offer → footer.
+The hidden first-visit chooser stays enabled. Extra editorial sections are retained
+disabled, not deleted; the prior composition is snapshot in
+`docs/snapshots/homepage-before-focused-sequence.json`.
+
+## Hero and quiz banner
+
+Both show **Shop Now** and **Take The Quiz**. Shop goes to the existing supplements
+collection. Set **Theme settings → Cellife shopping journeys → Quiz destination**
+once the real quiz page or app is ready. Until then, both quiz links go to the
+banner's clearly marked quiz-setup placeholder. No working quiz or recommendation
+logic is implied. The banner has its own editable full-width image and copy.
+
+## Four product cards
+
+The product shelf selects four products from the existing supplements collection.
+Reorder that collection to curate the four. Tag a Shopify product **BESTSELLER**
+or **NEW** to show its notification badge; the comparison is case-insensitive.
+If both are present, BESTSELLER takes precedence. Untagged products get no badge.
+Tag names can be changed in the product shelf's section settings. The theme does
+not assign tags, invent a sales ranking, change prices or create products.
+
+## Approach tiles
+
+The four editable placeholders cover origin/manufacture, ingredient choices,
+formulation and supporting information. Replace the wording and media, then clear
+the draft checkboxes. No assertion of Australian manufacture, research endorsement
+or ingredient superiority is made by these draft slots.
+
+## Testimonials: text, image or video
+
+In **Cellife community stories**, add the real quote and attribution, optional
+portrait/poster or Shopify-hosted video, and transcript. Approve content/consent
+after reviewing it. Approved text-only stories render as quote cards without an
+empty video frame. Unapproved stories remain explicit placeholders.
+
+Automatic leftward movement is optional and speed-adjustable. Pause/Resume is
+visible; hover, keyboard focus inside the stories, touch/wheel interaction and
+video playback stop movement. Reduced-motion visitors and the Theme Editor start
+paused. Offscreen/background rails do not move. Original cards are recycled;
+video players, IDs and accessible content are never cloned. Fewer cards show fewer
+at once so the rail can loop; one card remains static. Without JavaScript it is
+an ordinary horizontal scroll area. Review-app blocks disable automatic cycling.
+
+## 10% first-order email offer
+
+The panel and native Shopify customer/newsletter form are implemented. It is
+explicitly **not active** and does not accept signups until both a configured
+discount code and the readiness checkbox are set in **Footer → Cellife first-order
+offer**. This avoids collecting an email in exchange for an unconfigured reward.
+
+To activate later:
+
+1. Create the real 10% discount in Shopify. Define eligible first-order customers,
+ exclusions, expiration and combinations using Shopify configuration or an
+ established discount app. A public code or one-use limit alone does not enforce
+ first-order eligibility. Test returning customers and guest checkout.
+2. Enter that configured code in the section, review the signup/eligibility wording
+ and privacy policy, and enable **Shopify discount configured and tested**.
+3. Verify successful and invalid-email submissions in an authorized development
+ store, then eligible and ineligible checkout cases. The code is displayed only
+ after Shopify reports successful signup; discount validation stays in Shopify.
+
+No discount, customer segment or app configuration was created from theme code.
+There is no fabricated sample coupon, client-side eligibility decision, or new
+subscription/billing logic. The older generic newsletter is retained disabled so
+there is one signup panel in the requested position.
+
+## Checks
+
+Shopify Theme Check: zero errors, nine inherited warnings. JSON/schema syntax:
+124 documents. Local Liquid/Chromium checks at 320px, 390px and 1440px cover the
+requested sequence, hero and quiz links, four-product setting, merchant tag badge
+states, unconfigured/configured/signup-success offer states, original popup,
+rail motion, pause/resume, focus/playback pause, loop recycling and reduced motion.
+Actual discount eligibility and email delivery remain Shopify configuration tests.
diff --git a/docs/snapshots/homepage-before-focused-sequence.json b/docs/snapshots/homepage-before-focused-sequence.json
new file mode 100644
index 00000000000..aad6b8d4109
--- /dev/null
+++ b/docs/snapshots/homepage-before-focused-sequence.json
@@ -0,0 +1,442 @@
+/*
+ * ------------------------------------------------------------
+ * IMPORTANT: The contents of this file are auto-generated.
+ *
+ * This file may be updated by the Shopify admin theme editor
+ * or related systems. Please exercise caution as any changes
+ * made to this file may be overwritten.
+ * ------------------------------------------------------------
+ */
+{
+ "sections": {
+ "cellife_hero": {
+ "type": "cellife-hero",
+ "settings": {
+ "eyebrow": "CELLIFE HEALTHCARE",
+ "heading": "Science for better everyday health.",
+ "text": "Explore the Cellife supplement range.
",
+ "image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion_a32a4e6f-472b-464f-8045-d5156ec92ede.png",
+ "mobile_image": "shopify://shop_images/Cellife_Supplement_Bottles_in_Motion.png",
+ "placeholder_label": "Product photography placeholder",
+ "button_label": "Explore supplements",
+ "button_link": "/collections/supplements",
+ "secondary_label": "Explore diagnostic test kits",
+ "secondary_link": "/pages/diagnostic-test-kits"
+ }
+ },
+ "cellife_pathways": {
+ "type": "cellife-pathways",
+ "blocks": {
+ "pathway_0": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Supplements",
+ "text": "Explore the supplement range.",
+ "link_label": "Explore range",
+ "link": "/collections/supplements"
+ }
+ },
+ "pathway_1": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Respiratory tests",
+ "text": "Explore respiratory test kits.",
+ "link_label": "Explore range",
+ "link": "/collections/respiratory-tests"
+ }
+ },
+ "pathway_2": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Drug & alcohol tests",
+ "text": "Explore drug and alcohol test kits.",
+ "link_label": "Explore range",
+ "link": "/collections/respiratory-tests-copy"
+ }
+ },
+ "pathway_3": {
+ "type": "pathway",
+ "settings": {
+ "heading": "Women’s & urinary health",
+ "text": "Explore women’s and urinary health tests.",
+ "link_label": "Explore range",
+ "link": "/collections/womens-urinary-health"
+ }
+ }
+ },
+ "block_order": [
+ "pathway_0",
+ "pathway_1",
+ "pathway_2",
+ "pathway_3"
+ ],
+ "settings": {
+ "eyebrow": "EXPLORE CELLIFE",
+ "heading": "Find your starting point."
+ },
+ "disabled": true
+ },
+ "featured_collection": {
+ "type": "featured-collection",
+ "settings": {
+ "collection": "supplements",
+ "products_to_show": 4,
+ "title": "Explore Cellife supplements",
+ "heading_size": "h2",
+ "description": "",
+ "show_description": false,
+ "description_style": "body",
+ "columns_desktop": 4,
+ "enable_desktop_slider": false,
+ "full_width": false,
+ "show_view_all": true,
+ "view_all_style": "solid",
+ "color_scheme": "scheme-1",
+ "image_ratio": "adapt",
+ "image_shape": "default",
+ "show_secondary_image": true,
+ "show_vendor": false,
+ "show_rating": false,
+ "quick_add": "none",
+ "columns_mobile": "2",
+ "swipe_on_mobile": false,
+ "padding_top": 44,
+ "padding_bottom": 36
+ },
+ "disabled": true
+ },
+ "cellife_gateway": {
+ "type": "cellife-journey-gateway",
+ "settings": {
+ "overlay_enabled": true,
+ "show_gateway": false
+ }
+ },
+ "evidence": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "Quality, with the details in view.",
+ "layout": "logos",
+ "tone": "soft",
+ "eyebrow": "QUALITY & TRANSPARENCY"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Evidence placeholder",
+ "text": "Add an approved testing or quality reference.
",
+ "placeholder_label": "Approved evidence mark",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Source placeholder",
+ "text": "Add a verified source or partner, if applicable.
",
+ "placeholder_label": "Approved logo placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Standards placeholder",
+ "text": "Add product-specific supporting documentation.
",
+ "placeholder_label": "Documentation placeholder",
+ "draft": true
+ }
+ },
+ "item_3": {
+ "type": "item",
+ "settings": {
+ "heading": "Transparency placeholder",
+ "text": "Add an approved supporting reference.
",
+ "placeholder_label": "Reference placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2",
+ "item_3"
+ ]
+ },
+ "product_shelf": {
+ "type": "cellife-product-shelf",
+ "settings": {
+ "eyebrow": "EXPLORE SUPPLEMENTS",
+ "heading": "Find your daily essentials.",
+ "text": "Explore the Cellife supplement range and the details behind each product.
",
+ "collection": "supplements",
+ "limit": 4,
+ "tone": "soft"
+ }
+ },
+ "approach": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "A closer look at Cellife.",
+ "layout": "benefits",
+ "tone": "light",
+ "eyebrow": "OUR APPROACH"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Ingredients",
+ "text": "Add approved ingredient sourcing information.
",
+ "placeholder_label": "Ingredient icon placeholder",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Formulation",
+ "text": "Add an approved explanation of formulation choices.
",
+ "placeholder_label": "Formulation icon placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Quality",
+ "text": "Add verified product-specific quality information.
",
+ "placeholder_label": "Quality icon placeholder",
+ "draft": true
+ }
+ },
+ "item_3": {
+ "type": "item",
+ "settings": {
+ "heading": "Directions",
+ "text": "Add approved guidance for finding and reading product instructions.
",
+ "placeholder_label": "Directions icon placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2",
+ "item_3"
+ ]
+ },
+ "community": {
+ "type": "cellife-community",
+ "settings": {
+ "heading": "Stories from the Cellife community.",
+ "eyebrow": "THE HUMAN SIDE",
+ "tone": "soft",
+ "text": "Customer story placeholders. Approved videos and testimonials will appear here.
"
+ },
+ "blocks": {
+ "story_0": {
+ "type": "story",
+ "settings": {
+ "approved": false
+ }
+ },
+ "story_1": {
+ "type": "story",
+ "settings": {
+ "approved": false
+ }
+ },
+ "story_2": {
+ "type": "story",
+ "settings": {
+ "approved": false
+ }
+ }
+ },
+ "block_order": [
+ "story_0",
+ "story_1",
+ "story_2"
+ ]
+ },
+ "product_story": {
+ "type": "cellife-editorial",
+ "settings": {
+ "heading": "The details behind the product.",
+ "text": "Replace this panel with an approved product story, product image and supporting references. Choose the featured Cellife product before adding any benefit statements.
",
+ "tone": "dark",
+ "image_position": "left",
+ "draft": true,
+ "label": "Explore supplements",
+ "link": "/collections/supplements",
+ "placeholder_label": "Editorial image placeholder"
+ }
+ },
+ "education": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "Explore the thinking behind the range.",
+ "layout": "cards",
+ "tone": "soft",
+ "eyebrow": "LEARN WITH CELLIFE"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "An ingredient, explained.",
+ "text": "Add an approved ingredient explainer and its sources.
",
+ "placeholder_label": "Ingredient editorial image",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "From formulation to routine.",
+ "text": "Add approved formulation and use information.
",
+ "placeholder_label": "Routine editorial image",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Read the label. Know the details.",
+ "text": "Add an approved product-information guide.
",
+ "placeholder_label": "Product information image",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2"
+ ]
+ },
+ "people": {
+ "type": "cellife-content-grid",
+ "settings": {
+ "heading": "People & expertise.",
+ "layout": "people",
+ "tone": "light",
+ "eyebrow": "BEHIND THE BRAND"
+ },
+ "blocks": {
+ "item_0": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add an approved name, role and biography. Do not imply an advisory board or credentials without verification.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ },
+ "item_1": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add a consented portrait and verified biography.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ },
+ "item_2": {
+ "type": "item",
+ "settings": {
+ "heading": "Profile placeholder",
+ "text": "Add a verified Cellife team or expert profile.
",
+ "placeholder_label": "Portrait placeholder",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "item_0",
+ "item_1",
+ "item_2"
+ ]
+ },
+ "campaign": {
+ "type": "cellife-editorial",
+ "settings": {
+ "heading": "The fountain of you.",
+ "text": "Replace this campaign panel with your finished brand photography and approved supporting copy.
",
+ "tone": "dark",
+ "image_position": "right",
+ "draft": true,
+ "label": "Explore supplements",
+ "link": "/collections/supplements",
+ "placeholder_label": "Editorial image placeholder"
+ }
+ },
+ "questions": {
+ "type": "cellife-faq",
+ "settings": {
+ "heading": "A little clarity, before you choose.",
+ "tone": "soft",
+ "eyebrow": "YOUR QUESTIONS"
+ },
+ "blocks": {
+ "q0": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I find ingredients and directions?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q1": {
+ "type": "question",
+ "settings": {
+ "question": "How do I choose between products?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q2": {
+ "type": "question",
+ "settings": {
+ "question": "Where can I find delivery and returns information?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ },
+ "q3": {
+ "type": "question",
+ "settings": {
+ "question": "How can I contact Cellife?",
+ "answer": "Add the approved Cellife answer, relevant product guidance and any necessary policy links.
",
+ "draft": true
+ }
+ }
+ },
+ "block_order": [
+ "q0",
+ "q1",
+ "q2",
+ "q3"
+ ]
+ }
+ },
+ "order": [
+ "cellife_hero",
+ "evidence",
+ "product_shelf",
+ "approach",
+ "community",
+ "product_story",
+ "education",
+ "people",
+ "campaign",
+ "questions",
+ "cellife_gateway",
+ "featured_collection",
+ "cellife_pathways"
+ ]
+}
diff --git a/sections/cellife-community.liquid b/sections/cellife-community.liquid
index a93aa47276a..5d2e1f4e83b 100644
--- a/sections/cellife-community.liquid
+++ b/sections/cellife-community.liquid
@@ -1,14 +1,19 @@
+
{% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
{{ section.settings.heading | escape }}
{% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
-
diff --git a/snippets/cellife-icon-credits.liquid b/snippets/cellife-icon-credits.liquid
new file mode 100644
index 00000000000..e30cc3167ef
--- /dev/null
+++ b/snippets/cellife-icon-credits.liquid
@@ -0,0 +1,12 @@
+
+ Credits
+
+
From d43dc9d657094d878e8bf1c2724e66e37bdb46a8 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 06:18:25 +0000
Subject: [PATCH 029/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified assets/cellife-editorial.css (editor not recorded)
- modified sections/footer.liquid (editor not recorded)
- modified snippets/cellife-icon-credits.liquid (editor not recorded)
- modified templates/index.json (Xing Mao)
---
templates/index.json | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index 5de5e3b7a46..5e6b66809c0 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -54,21 +54,24 @@
"icon_0": {
"type": "icon",
"settings": {
- "top_caption": "Origin placeholder",
- "bottom_caption": "Placeholder caption. Add approved details here.
"
+ "top_caption": "Our Aussie beginnings",
+ "image": "shopify://shop_images/operahouse.png",
+ "bottom_caption": "Founded in Sydney in 2002.
"
}
},
"icon_1": {
"type": "icon",
"settings": {
- "top_caption": "Ingredients placeholder",
- "bottom_caption": "Placeholder caption. Add approved details here.
"
+ "top_caption": "Manufactured in Australia",
+ "image": "shopify://shop_images/aus.png",
+ "bottom_caption": "Our supplement range is manufactured in Australia.
"
}
},
"icon_2": {
"type": "icon",
"settings": {
"top_caption": "Formulation placeholder",
+ "image": "shopify://shop_images/ingredients.png",
"bottom_caption": "Placeholder caption. Add approved details here.
"
}
},
@@ -76,6 +79,7 @@
"type": "icon",
"settings": {
"top_caption": "Evidence placeholder",
+ "image": "shopify://shop_images/high-quality.png",
"bottom_caption": "Placeholder caption. Add approved details here.
"
}
}
From ec8f2ff4239cba84bf7f68b783f97c44cbb6c194 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 06:18:44 +0000
Subject: [PATCH 030/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index 5e6b66809c0..6d58d67aec4 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -70,9 +70,9 @@
"icon_2": {
"type": "icon",
"settings": {
- "top_caption": "Formulation placeholder",
+ "top_caption": "Ingredients in focus",
"image": "shopify://shop_images/ingredients.png",
- "bottom_caption": "Placeholder caption. Add approved details here.
"
+ "bottom_caption": "Explore the ingredient list and amounts for each product.
"
}
},
"icon_3": {
From 8fa1eabfff892e32a2f1f1886a7b9ffa5e49d242 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 06:19:04 +0000
Subject: [PATCH 031/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index 6d58d67aec4..f422100350b 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -78,9 +78,9 @@
"icon_3": {
"type": "icon",
"settings": {
- "top_caption": "Evidence placeholder",
+ "top_caption": "Quality in every batch",
"image": "shopify://shop_images/high-quality.png",
- "bottom_caption": "Placeholder caption. Add approved details here.
"
+ "bottom_caption": "Batch-to-batch testing helps maintain consistent product quality.
"
}
}
},
From da4c2d9073d162d849a1cb695dad1489be1b6ada Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Thu, 29 Oct 2026 17:22:06 +1100
Subject: [PATCH 032/151] Align icon headings, fixed-height image frames and
captions across shared rows
---
assets/section-cellife-icon-values.css | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/assets/section-cellife-icon-values.css b/assets/section-cellife-icon-values.css
index fa697d8be1b..fddb66dfec1 100644
--- a/assets/section-cellife-icon-values.css
+++ b/assets/section-cellife-icon-values.css
@@ -5,18 +5,17 @@
.cellife-icon-values__eyebrow { margin: 0 0 16px; color: #8f2c26; font-size: clamp(13px, 1.4vw, 18px); font-weight: 600; letter-spacing: .06em; }
.cellife-icon-values h2 { margin: 0; color: #3e2b62; font-size: clamp(30px, 3.5vw, 52px); overflow-wrap: anywhere; }
.cellife-icon-values__text { max-width: 900px; margin: 20px auto 0; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; }
-.cellife-icon-values__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); width: 100%; max-width: var(--icon-row-width, 1120px); margin: 56px auto 0; }
-.cellife-icon-values__item { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
-.cellife-icon-values h3 { width: 100%; margin: 0 0 24px; color: #3e2b62; font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; overflow-wrap: anywhere; }
-.cellife-icon-values__icon { display: grid; place-items: center; width: min(100%, var(--icon-size, 112px)); aspect-ratio: 1; margin-top: auto; color: #3e2b62; }
+.cellife-icon-values__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); row-gap: 24px; width: 100%; max-width: var(--icon-row-width, 1120px); margin: 56px auto 0; }
+.cellife-icon-values__item { display: grid; grid-template-rows: subgrid; grid-row: span 3; justify-items: center; min-width: 0; text-align: center; }
+.cellife-icon-values h3 { grid-row: 1; align-self: start; width: 100%; margin: 0; color: #3e2b62; font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; overflow-wrap: anywhere; }
+.cellife-icon-values__icon { grid-row: 2; display: grid; place-items: center; width: min(100%, var(--icon-size, 112px)); height: var(--icon-size, 112px); align-self: center; color: #3e2b62; }
.cellife-icon-values__icon img, .cellife-icon-values__icon svg { display: block; width: 100%; height: 100%; object-fit: contain; }
-.cellife-icon-values__caption { width: 100%; margin-top: 24px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
+.cellife-icon-values__caption { grid-row: 3; align-self: start; width: 100%; margin-top: 0; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.cellife-icon-values__caption > :first-child, .cellife-icon-values__text > :first-child { margin-top: 0; }
.cellife-icon-values__caption > :last-child, .cellife-icon-values__text > :last-child { margin-bottom: 0; }
@media (max-width: 749px) {
.cellife-icon-values { padding-block: 48px; }
.cellife-icon-values > .cellife-container { width: calc(100% - 40px); }
- .cellife-icon-values__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; margin-top: 40px; }
- .cellife-icon-values h3 { margin-bottom: 20px; }
- .cellife-icon-values__caption { margin-top: 20px; font-size: 14px; }
+ .cellife-icon-values__row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; margin-top: 40px; }
+ .cellife-icon-values__caption { margin-top: 0; font-size: 14px; }
}
From 81e3907aa47127677562f414f749f0602bac7f31 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:03:37 +0000
Subject: [PATCH 033/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index f422100350b..f784536f2c2 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -29,10 +29,10 @@
"product_shelf": {
"type": "cellife-product-shelf",
"settings": {
- "eyebrow": "EXPLORE SUPPLEMENTS",
+ "eyebrow": "",
"heading": "Find your daily essentials.",
"text": "Explore the Cellife supplement range and the details behind each product.
",
- "tone": "soft",
+ "tone": "dark",
"collection": "supplements",
"products": [
"cellife-ampk-fatburst-60s",
@@ -171,10 +171,10 @@
"story_5"
],
"settings": {
- "eyebrow": "THE HUMAN SIDE",
+ "eyebrow": "",
"heading": "Stories from the Cellife community.",
"text": "Customer story placeholders. Approved videos and testimonials will appear here.
",
- "tone": "soft",
+ "tone": "dark",
"placeholder_label": "Video story placeholder",
"draft_label": "Unpublished story placeholder",
"placeholder_text": "Add a consented customer story, accurate attribution and captions or transcript.",
From a367ddceff230a5af0a4d6e61b46cbb815e70adb Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:24:28 +0000
Subject: [PATCH 034/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index f784536f2c2..31c281a3d47 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -101,17 +101,19 @@
"community": {
"type": "cellife-community",
"blocks": {
- "story_0": {
+ "story_2": {
"type": "story",
"settings": {
- "approved": false,
+ "approved": true,
+ "video": "shopify://files/videos/testimonial_1.mov",
+ "poster": "shopify://shop_images/testimonial_1_poster.png",
"quote": "",
"attribution": "",
"transcript": "",
"product": ""
}
},
- "story_1": {
+ "story_0": {
"type": "story",
"settings": {
"approved": false,
@@ -121,7 +123,7 @@
"product": ""
}
},
- "story_2": {
+ "story_1": {
"type": "story",
"settings": {
"approved": false,
@@ -163,9 +165,9 @@
}
},
"block_order": [
+ "story_2",
"story_0",
"story_1",
- "story_2",
"story_3",
"story_4",
"story_5"
From 81d0b424f58d54260e383ded1e33c560f9113c4d Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 30 Oct 2026 10:32:37 +1100
Subject: [PATCH 035/151] Create mixed testimonial and portrait-video rail
preserving uploaded story
---
assets/cellife-story-rail.js | 14 ++++-
assets/section-cellife-story-mosaic.css | 25 ++++++++
docs/TESTIMONIAL_LAYOUT.md | 26 ++++++++
sections/cellife-community.liquid | 80 ++++++++++++++-----------
snippets/cellife-story-card.liquid | 26 ++++++++
templates/index.json | 15 ++++-
6 files changed, 145 insertions(+), 41 deletions(-)
create mode 100644 assets/section-cellife-story-mosaic.css
create mode 100644 docs/TESTIMONIAL_LAYOUT.md
create mode 100644 snippets/cellife-story-card.liquid
diff --git a/assets/cellife-story-rail.js b/assets/cellife-story-rail.js
index 6c6da515359..c2819b9e0ee 100644
--- a/assets/cellife-story-rail.js
+++ b/assets/cellife-story-rail.js
@@ -32,11 +32,18 @@ if (!customElements.get('cellife-story-rail')) {
const first = this.track.firstElementChild;
const gap = parseFloat(getComputedStyle(this.track).gap) || 0;
const count = this.track.children.length;
- const visibleCards = Math.min(this.viewport.clientWidth < 750 ? 1.15 : 3.2, count - 1);
+ const mobile = matchMedia('(max-width: 749px)').matches;
+ let visibleCards = Math.min(mobile ? 1.15 : 3.2, count - 1);
+ if (this.dataset.layout === 'mosaic') {
+ const weights = [...this.track.children].map(unit => !mobile && unit.classList.contains('cellife-story-unit--trio') ? 2 : 1);
+ const total = weights.reduce((sum, weight) => sum + weight, 0);
+ visibleCards = count > 1 ? Math.max(0.8, Math.min(mobile ? 1.15 : 2.8, total - Math.max(...weights) - 0.1)) : (mobile ? 1 : 2);
+ }
+ this.canCycle = count > 1 && !this.querySelector('.cellife-community-app');
if (visibleCards > 0) this.style.setProperty('--story-card-width', `${(this.viewport.clientWidth - gap * (visibleCards - 1)) / visibleCards}px`);
this.step = first ? first.getBoundingClientRect().width + gap : 0;
this.overflowing = this.viewport.scrollWidth > this.viewport.clientWidth + 2;
- this.toggle.hidden = !this.overflowing || Boolean(this.querySelector('.cellife-community-app'));
+ this.toggle.hidden = !this.overflowing || !this.canCycle;
};
this.resize = new ResizeObserver(measure);
this.resize.observe(this.viewport);
@@ -49,13 +56,14 @@ if (!customElements.get('cellife-story-rail')) {
previous = now;
const focused = this.viewport.contains(document.activeElement);
const playing = [...this.querySelectorAll('video')].some(video => !video.paused);
- const moving = !this.paused && !this.hovered && !focused && !playing && this.visible && !document.hidden && this.overflowing && this.step > 0 && !this.querySelector('.cellife-community-app');
+ const moving = !this.paused && !this.hovered && !focused && !playing && this.visible && !document.hidden && this.overflowing && this.step > 0 && this.canCycle;
if (moving) {
if (!wasMoving) position = this.viewport.scrollLeft;
position += delta * this.speed / 1000;
if (position >= this.step) {
position -= this.step;
this.track.append(this.track.firstElementChild);
+ this.step = this.track.firstElementChild.getBoundingClientRect().width + (parseFloat(getComputedStyle(this.track).gap) || 0);
}
this.viewport.scrollLeft = position;
}
diff --git a/assets/section-cellife-story-mosaic.css b/assets/section-cellife-story-mosaic.css
new file mode 100644
index 00000000000..9288c5d62de
--- /dev/null
+++ b/assets/section-cellife-story-mosaic.css
@@ -0,0 +1,25 @@
+/* Original Cellife mixed quote/video rail. Units move together without cloning media. */
+cellife-story-rail[data-layout="mosaic"] .cellife-community-grid { align-items: stretch; gap: 24px; }
+.cellife-story-unit { flex: 0 0 var(--story-card-width, 360px); min-width: 0; height: 620px; }
+.cellife-story-unit--trio { flex-basis: calc(var(--story-card-width, 360px) * 2 + 24px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 24px; }
+.cellife-story-unit--trio > :first-child { grid-column: 1 / -1; }
+.cellife-story-unit--stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 24px; }
+.cellife-story-unit > .cellife-community-card { min-width: 0; min-height: 0; margin: 0; border: 1px solid #d8cfdf; background: #f4f3f2; color: #262125; }
+.cellife-story-unit .cellife-community-card--quote { display: flex; align-items: center; overflow-y: auto; scrollbar-width: thin; }
+.cellife-story-unit .cellife-community-card__copy { width: 100%; padding: 24px; }
+.cellife-story-unit blockquote { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: #3e2b62; }
+.cellife-story-unit--trio > :first-child blockquote { font-size: clamp(20px, 1.9vw, 27px); }
+.cellife-story-attribution { margin: 20px 0 0; text-align: right; }
+.cellife-story-unit--portrait > .cellife-community-card { display: flex; flex-direction: column; height: 100%; }
+.cellife-story-unit--portrait .cellife-community-card__media { flex: 1; min-height: 0; aspect-ratio: auto; overflow: hidden; background: #e9e6ee; }
+.cellife-story-unit--portrait .cellife-community-card__media video, .cellife-story-unit--portrait .cellife-community-card__media img { height: 100%; width: 100%; object-fit: contain; }
+.cellife-story-unit--portrait .cellife-community-card__copy { flex: 0 1 auto; max-height: 35%; overflow-y: auto; }
+.cellife-story-unit--portrait .cellife-community-card__copy:empty { display: none; }
+@media (max-width: 749px) {
+ .cellife-story-unit { height: 560px; }
+ .cellife-story-unit--trio { flex-basis: var(--story-card-width, 85vw); gap: 16px; }
+ .cellife-story-unit--stack { gap: 16px; }
+ .cellife-story-unit .cellife-community-card__copy { padding: 16px; font-size: 13px; }
+ .cellife-story-unit blockquote { font-size: 15px; }
+ .cellife-story-unit--trio > :first-child blockquote { font-size: 19px; }
+}
diff --git a/docs/TESTIMONIAL_LAYOUT.md b/docs/TESTIMONIAL_LAYOUT.md
new file mode 100644
index 00000000000..1ccdaa5a887
--- /dev/null
+++ b/docs/TESTIMONIAL_LAYOUT.md
@@ -0,0 +1,26 @@
+# Community story layout
+
+The community rail repeats this seven-block order:
+
+1. Wide written testimonial.
+2. Small written testimonial beneath the wide one, left.
+3. Small written testimonial beneath the wide one, right.
+4. Portrait video.
+5. Small written testimonial at the top of a stacked pair.
+6. Small written testimonial at the bottom of that pair.
+7. Portrait video.
+
+Use the story blocks in the Theme Editor to edit and reorder content. Place video
+stories in slots 4 and 7. Up to two complete patterns are supported. The existing
+uploaded video remains in the first portrait slot; new content stays unpublished
+until its content and consent checkbox is enabled. No ratings or verification
+badges are generated.
+
+The rail cycles complete groups without cloning videos. Hover, keyboard focus,
+manual scrolling and video playback pause movement. Reduced-motion and Theme
+Editor sessions start paused. App blocks disable automatic cycling. Native
+horizontal scrolling remains available without JavaScript.
+
+On mobile the three-quote group fits within one rail panel, followed by portrait
+video and stacked quote panels. Long quotes scroll within their focusable card;
+video controls, transcripts and related product links remain available.
diff --git a/sections/cellife-community.liquid b/sections/cellife-community.liquid
index 5d2e1f4e83b..ab0388863b9 100644
--- a/sections/cellife-community.liquid
+++ b/sections/cellife-community.liquid
@@ -1,42 +1,34 @@
+{{ 'section-cellife-story-mosaic.css' | asset_url | stylesheet_tag }}
-
- {% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
-
{{ section.settings.heading | escape }}
- {% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
-
-
+
+
+ {% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow | escape }}
{% endif %}
+
{{ section.settings.heading | escape }}
+ {% if section.settings.text != blank %}
{{ section.settings.text }}
{% endif %}
+
+
{{ section.settings.pause_label | escape }}
-
-
+
@@ -45,6 +37,10 @@
{
"name": "Cellife community stories",
"settings": [
+ {
+ "type": "paragraph",
+ "content": "Each seven-story pattern uses: wide quote, two small quotes, portrait video, two stacked quotes, portrait video. Reorder story blocks to place content in those slots. Add approved media to slots 4 and 7."
+ },
{
"type": "text",
"id": "eyebrow",
@@ -139,7 +135,7 @@
"default": "Cellife customer stories"
}
],
- "max_blocks": 8,
+ "max_blocks": 14,
"blocks": [
{
"type": "story",
@@ -192,6 +188,18 @@
{
"name": "Cellife community stories",
"blocks": [
+ {
+ "type": "story"
+ },
+ {
+ "type": "story"
+ },
+ {
+ "type": "story"
+ },
+ {
+ "type": "story"
+ },
{
"type": "story"
},
diff --git a/snippets/cellife-story-card.liquid b/snippets/cellife-story-card.liquid
new file mode 100644
index 00000000000..dc5314bd020
--- /dev/null
+++ b/snippets/cellife-story-card.liquid
@@ -0,0 +1,26 @@
+
diff --git a/templates/index.json b/templates/index.json
index 31c281a3d47..eddadbbae6e 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -162,15 +162,26 @@
"transcript": "",
"product": ""
}
+ },
+ "mosaic_placeholder_0": {
+ "type": "story",
+ "settings": {
+ "approved": false,
+ "quote": "",
+ "attribution": "",
+ "transcript": "",
+ "product": ""
+ }
}
},
"block_order": [
- "story_2",
"story_0",
"story_1",
"story_3",
+ "story_2",
"story_4",
- "story_5"
+ "story_5",
+ "mosaic_placeholder_0"
],
"settings": {
"eyebrow": "",
From 058d55e7212a5b1f221605a9edc0a89a6fb59a17 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 30 Oct 2026 10:37:52 +1100
Subject: [PATCH 036/151] Add optional story ratings, verified labels and
linked video product overlays
---
assets/section-cellife-story-mosaic.css | 17 +++++++
docs/TESTIMONIAL_LAYOUT.md | 16 ++++++-
sections/cellife-community.liquid | 24 ++++++++++
snippets/cellife-story-card.liquid | 64 ++++++++++++++++++++-----
4 files changed, 108 insertions(+), 13 deletions(-)
diff --git a/assets/section-cellife-story-mosaic.css b/assets/section-cellife-story-mosaic.css
index 9288c5d62de..296b766f255 100644
--- a/assets/section-cellife-story-mosaic.css
+++ b/assets/section-cellife-story-mosaic.css
@@ -23,3 +23,20 @@ cellife-story-rail[data-layout="mosaic"] .cellife-community-grid { align-items:
.cellife-story-unit blockquote { font-size: 15px; }
.cellife-story-unit--trio > :first-child blockquote { font-size: 19px; }
}
+/* Ratings and verification appear only when explicitly supplied for an approved story. */
+.cellife-story-rating { position: relative; display: inline-block; margin-bottom: 16px; color: #d8cfdf; font-size: 24px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
+.cellife-story-rating__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #8f2c26; }
+.cellife-story-attribution { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; }
+.cellife-story-verified { display: inline-flex; align-items: center; gap: 5px; color: #3e2b62; font-size: 13px; font-weight: 600; }
+.cellife-story-unit--portrait .cellife-community-card__media { position: relative; }
+.cellife-story-product { position: absolute; inset: auto 12px 72px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #d8cfdf; border-radius: 10px; color: #262125; background: rgba(255, 255, 255, .96); text-decoration: none; }
+.cellife-story-unit--portrait .cellife-story-product img { width: 48px; height: 56px; flex-shrink: 0; object-fit: contain; }
+.cellife-story-product__details { flex: 1; min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
+.cellife-story-product__title { display: block; color: #3e2b62; font-size: 14px; font-weight: 600; }
+.cellife-story-product__price { display: block; margin-top: 4px; font-size: 12px; }
+.cellife-story-product__arrow { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #3e2b62; color: white; }
+@media (max-width: 749px) {
+ .cellife-story-product { inset-inline: 8px; gap: 8px; padding: 8px; }
+ .cellife-story-product__title { font-size: 12px; }
+ .cellife-story-product__arrow { flex-basis: 28px; height: 28px; }
+}
diff --git a/docs/TESTIMONIAL_LAYOUT.md b/docs/TESTIMONIAL_LAYOUT.md
index 1ccdaa5a887..3aa3c3b9595 100644
--- a/docs/TESTIMONIAL_LAYOUT.md
+++ b/docs/TESTIMONIAL_LAYOUT.md
@@ -14,7 +14,7 @@ Use the story blocks in the Theme Editor to edit and reorder content. Place vide
stories in slots 4 and 7. Up to two complete patterns are supported. The existing
uploaded video remains in the first portrait slot; new content stays unpublished
until its content and consent checkbox is enabled. No ratings or verification
-badges are generated.
+badges are generated automatically. Ratings default to hidden and verification defaults to off.
The rail cycles complete groups without cloning videos. Hover, keyboard focus,
manual scrolling and video playback pause movement. Reduced-motion and Theme
@@ -24,3 +24,17 @@ horizontal scrolling remains available without JavaScript.
On mobile the three-quote group fits within one rail panel, followed by portrait
video and stacked quote panels. Long quotes scroll within their focusable card;
video controls, transcripts and related product links remain available.
+
+## Ratings, verification and product overlays
+
+Each story block has a customer star rating (0 hides it; half-star increments
+are supported) and a separate manual Verified checkbox. Enter only the actual
+customer rating, and enable verification only when supported by evidence. Both
+remain hidden for unapproved stories. These controls do not verify purchases
+automatically or create aggregate review structured data.
+
+Select Related product and enable the portrait overlay toggle to show a linked
+product image, title and current Shopify price above the video controls. The
+overlay appears only for approved portrait media. Disable the toggle to keep the
+normal product link below the story. No duplicate link is rendered when the
+overlay is active. Videos keep native playback controls and transcript support.
diff --git a/sections/cellife-community.liquid b/sections/cellife-community.liquid
index ab0388863b9..10da335498e 100644
--- a/sections/cellife-community.liquid
+++ b/sections/cellife-community.liquid
@@ -168,6 +168,23 @@
"id": "attribution",
"label": "Approved attribution"
},
+ {
+ "type": "range",
+ "id": "rating",
+ "label": "Customer star rating",
+ "min": 0,
+ "max": 5,
+ "step": 0.5,
+ "default": 0,
+ "info": "0 hides stars. Enter the customer's actual rating only."
+ },
+ {
+ "type": "checkbox",
+ "id": "verified",
+ "label": "Show Verified label",
+ "default": false,
+ "info": "Enable only when this customer's identity or purchase has been independently verified. This is a manual label, not an automatic Shopify verification."
+ },
{
"type": "richtext",
"id": "transcript",
@@ -177,6 +194,13 @@
"type": "product",
"id": "product",
"label": "Related product"
+ },
+ {
+ "type": "checkbox",
+ "id": "product_overlay",
+ "label": "Overlay related product on portrait video",
+ "default": true,
+ "info": "Select a related product above. The overlay shows its current image, title and price, and links to the product page."
}
]
},
diff --git a/snippets/cellife-story-card.liquid b/snippets/cellife-story-card.liquid
index dc5314bd020..0bac7e97b9e 100644
--- a/snippets/cellife-story-card.liquid
+++ b/snippets/cellife-story-card.liquid
@@ -1,3 +1,20 @@
+{%- liquid
+ assign story_rating = block.settings.rating | default: 0 | at_least: 0 | at_most: 5
+ assign overlay_product = false
+ if portrait and block.settings.approved and block.settings.product != blank and block.settings.product_overlay
+ if block.settings.video != blank or block.settings.poster != blank
+ assign overlay_product = true
+ endif
+ endif
+ assign show_copy = false
+ if block.settings.approved != true or block.settings.quote != blank or block.settings.attribution != blank or block.settings.transcript != blank
+ assign show_copy = true
+ elsif story_rating > 0 or block.settings.verified
+ assign show_copy = true
+ elsif block.settings.product != blank and overlay_product == false
+ assign show_copy = true
+ endif
+-%}
From 273c6216a6591d7b557f00b38a69931ad2b6181c Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:41:37 +0000
Subject: [PATCH 037/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified assets/cellife-story-rail.js (editor not recorded)
- modified assets/section-cellife-story-mosaic.css (editor not recorded)
- modified sections/cellife-community.liquid (editor not recorded)
- modified snippets/cellife-story-card.liquid (editor not recorded)
- modified templates/index.json (Xing Mao)
---
templates/index.json | 53 +++++++++++++++++++++++++++++++-------------
1 file changed, 37 insertions(+), 16 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index eddadbbae6e..5c07dbc1bc2 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -101,46 +101,58 @@
"community": {
"type": "cellife-community",
"blocks": {
- "story_2": {
+ "story_0": {
"type": "story",
"settings": {
"approved": true,
- "video": "shopify://files/videos/testimonial_1.mov",
- "poster": "shopify://shop_images/testimonial_1_poster.png",
- "quote": "",
- "attribution": "",
+ "quote": "After taking NADH, I felt noticeably more alert, and my thoughts seemed sharper and more focused. I also found my mind felt more active and engaged while taking it, along with experiencing an increase in overall energy levels.",
+ "attribution": "Clement L., Pharmacist",
+ "rating": 5,
+ "verified": true,
"transcript": "",
- "product": ""
+ "product": "",
+ "product_overlay": true
}
},
- "story_0": {
+ "story_1": {
"type": "story",
"settings": {
"approved": false,
"quote": "",
"attribution": "",
+ "rating": 0,
+ "verified": false,
"transcript": "",
- "product": ""
+ "product": "",
+ "product_overlay": true
}
},
- "story_1": {
+ "story_3": {
"type": "story",
"settings": {
"approved": false,
"quote": "",
"attribution": "",
+ "rating": 0,
+ "verified": false,
"transcript": "",
- "product": ""
+ "product": "",
+ "product_overlay": true
}
},
- "story_3": {
+ "story_2": {
"type": "story",
"settings": {
- "approved": false,
+ "approved": true,
+ "video": "shopify://files/videos/testimonial_1.mov",
+ "poster": "shopify://shop_images/testimonial_1_poster.png",
"quote": "",
"attribution": "",
+ "rating": 0,
+ "verified": false,
"transcript": "",
- "product": ""
+ "product": "",
+ "product_overlay": true
}
},
"story_4": {
@@ -149,8 +161,11 @@
"approved": false,
"quote": "",
"attribution": "",
+ "rating": 0,
+ "verified": false,
"transcript": "",
- "product": ""
+ "product": "",
+ "product_overlay": true
}
},
"story_5": {
@@ -159,8 +174,11 @@
"approved": false,
"quote": "",
"attribution": "",
+ "rating": 0,
+ "verified": false,
"transcript": "",
- "product": ""
+ "product": "",
+ "product_overlay": true
}
},
"mosaic_placeholder_0": {
@@ -169,8 +187,11 @@
"approved": false,
"quote": "",
"attribution": "",
+ "rating": 0,
+ "verified": false,
"transcript": "",
- "product": ""
+ "product": "",
+ "product_overlay": true
}
}
},
From 511c2daae62f9838c25116398fbe59eea3edc8c5 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 30 Oct 2026 10:42:55 +1100
Subject: [PATCH 038/151] Add testimonial attribution subtitles with clear name
and role hierarchy
---
assets/section-cellife-story-mosaic.css | 8 ++++++++
sections/cellife-community.liquid | 9 ++++++++-
snippets/cellife-story-card.liquid | 19 +++++++++++++------
3 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/assets/section-cellife-story-mosaic.css b/assets/section-cellife-story-mosaic.css
index 296b766f255..cecde44c321 100644
--- a/assets/section-cellife-story-mosaic.css
+++ b/assets/section-cellife-story-mosaic.css
@@ -40,3 +40,11 @@ cellife-story-rail[data-layout="mosaic"] .cellife-community-grid { align-items:
.cellife-story-product__title { font-size: 12px; }
.cellife-story-product__arrow { flex-basis: 28px; height: 28px; }
}
+
+/* Keep the approved display name distinct from professional and location details. */
+.cellife-story-attribution { align-items: flex-start; }
+.cellife-story-attribution__identity { min-width: 0; width: 100%; max-width: 100%; text-align: right; overflow-wrap: anywhere; }
+.cellife-story-attribution__name { display: block; color: #3e2b62; font-weight: 600; font-size: 15px; line-height: 1.5; }
+.cellife-story-attribution__subtitle { display: block; max-width: 42ch; margin: 4px 0 0 auto; color: #514b55; font-size: 12px; font-weight: 400; line-height: 1.6; }
+.cellife-story-attribution .cellife-story-verified { margin-top: 3px; }
+.cellife-story-attribution__name-row { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: 4px 10px; }
diff --git a/sections/cellife-community.liquid b/sections/cellife-community.liquid
index 10da335498e..101eebe5779 100644
--- a/sections/cellife-community.liquid
+++ b/sections/cellife-community.liquid
@@ -166,7 +166,14 @@
{
"type": "text",
"id": "attribution",
- "label": "Approved attribution"
+ "label": "Customer name / attribution",
+ "info": "Use the customer's approved display name. Put their role, organisation and location in the subtitle below."
+ },
+ {
+ "type": "text",
+ "id": "attribution_subtitle",
+ "label": "Attribution subtitle",
+ "info": "Optional role, organisation and location, for example: Pharmacist · Blooms The Chemist · Crowsnest, NSW, Australia. Use only confirmed details."
},
{
"type": "range",
diff --git a/snippets/cellife-story-card.liquid b/snippets/cellife-story-card.liquid
index 0bac7e97b9e..4583201c978 100644
--- a/snippets/cellife-story-card.liquid
+++ b/snippets/cellife-story-card.liquid
@@ -7,7 +7,7 @@
endif
endif
assign show_copy = false
- if block.settings.approved != true or block.settings.quote != blank or block.settings.attribution != blank or block.settings.transcript != blank
+ if block.settings.approved != true or block.settings.quote != blank or block.settings.attribution != blank or block.settings.attribution_subtitle != blank or block.settings.transcript != blank
assign show_copy = true
elsif story_rating > 0 or block.settings.verified
assign show_copy = true
@@ -49,11 +49,18 @@
{% endif %}
{% if block.settings.quote != blank %}{{ block.settings.quote | escape }} {% endif %}
- {% if block.settings.attribution != blank or block.settings.verified %}
-
- {% if block.settings.attribution != blank %}{{ block.settings.attribution | escape }} {% endif %}
- {% if block.settings.verified %}✓ Verified {% endif %}
-
+ {% if block.settings.attribution != blank or block.settings.attribution_subtitle != blank or block.settings.verified %}
+
+
+ {% if block.settings.attribution != blank or block.settings.verified %}
+
+ {% if block.settings.attribution != blank %}{{ block.settings.attribution | escape }} {% endif %}
+ {% if block.settings.verified %}✓ Verified {% endif %}
+
+ {% endif %}
+ {% if block.settings.attribution_subtitle != blank %}
{{ block.settings.attribution_subtitle | escape }} {% endif %}
+
+
{% endif %}
{% if block.settings.transcript != blank %}{{ section.settings.transcript_label | escape }} {{ block.settings.transcript }}
{% endif %}
{% if block.settings.product != blank and overlay_product == false %}{{ block.settings.product.title | escape }} {% endif %}
From 94526100f8ab48f86a6f49b2943a4b12002c393c Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:44:05 +0000
Subject: [PATCH 039/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified assets/section-cellife-story-mosaic.css (editor not recorded)
- modified sections/cellife-community.liquid (editor not recorded)
- modified snippets/cellife-story-card.liquid (editor not recorded)
- modified templates/index.json (Xing Mao)
---
templates/index.json | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/templates/index.json b/templates/index.json
index 5c07dbc1bc2..ea2faeabaa4 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -106,7 +106,8 @@
"settings": {
"approved": true,
"quote": "After taking NADH, I felt noticeably more alert, and my thoughts seemed sharper and more focused. I also found my mind felt more active and engaged while taking it, along with experiencing an increase in overall energy levels.",
- "attribution": "Clement L., Pharmacist",
+ "attribution": "Clement L.",
+ "attribution_subtitle": "Pharmacist · Blooms The Chemist",
"rating": 5,
"verified": true,
"transcript": "",
@@ -120,6 +121,7 @@
"approved": false,
"quote": "",
"attribution": "",
+ "attribution_subtitle": "",
"rating": 0,
"verified": false,
"transcript": "",
@@ -133,6 +135,7 @@
"approved": false,
"quote": "",
"attribution": "",
+ "attribution_subtitle": "",
"rating": 0,
"verified": false,
"transcript": "",
@@ -148,6 +151,7 @@
"poster": "shopify://shop_images/testimonial_1_poster.png",
"quote": "",
"attribution": "",
+ "attribution_subtitle": "",
"rating": 0,
"verified": false,
"transcript": "",
@@ -161,6 +165,7 @@
"approved": false,
"quote": "",
"attribution": "",
+ "attribution_subtitle": "",
"rating": 0,
"verified": false,
"transcript": "",
@@ -174,6 +179,7 @@
"approved": false,
"quote": "",
"attribution": "",
+ "attribution_subtitle": "",
"rating": 0,
"verified": false,
"transcript": "",
@@ -187,6 +193,7 @@
"approved": false,
"quote": "",
"attribution": "",
+ "attribution_subtitle": "",
"rating": 0,
"verified": false,
"transcript": "",
From 06a0dbd33dcd71cc85d8259712180240fb52d597 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:46:05 +0000
Subject: [PATCH 040/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index ea2faeabaa4..d95931253a7 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -118,11 +118,11 @@
"story_1": {
"type": "story",
"settings": {
- "approved": false,
- "quote": "",
- "attribution": "",
- "attribution_subtitle": "",
- "rating": 0,
+ "approved": true,
+ "quote": "The Cellife NADH most definitely gave me a lift. I had the flushing due to not eating enough, so I knew it was absorbed well. Overall, the best version I have tried of a NAD+ precursor.",
+ "attribution": "Ian Z.",
+ "attribution_subtitle": "Pharmacist · HealthSave+ Custom Made Medicine",
+ "rating": 5,
"verified": false,
"transcript": "",
"product": "",
From 65ec0d5c0481d2a40a72f3a87be6757b4c1008e0 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:46:19 +0000
Subject: [PATCH 041/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/index.json b/templates/index.json
index d95931253a7..28e8eb1dfba 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -123,7 +123,7 @@
"attribution": "Ian Z.",
"attribution_subtitle": "Pharmacist · HealthSave+ Custom Made Medicine",
"rating": 5,
- "verified": false,
+ "verified": true,
"transcript": "",
"product": "",
"product_overlay": true
From f221150c007348febe3704203c4f793857c348ac Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:46:45 +0000
Subject: [PATCH 042/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/index.json b/templates/index.json
index 28e8eb1dfba..3c53b7aca93 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -119,7 +119,7 @@
"type": "story",
"settings": {
"approved": true,
- "quote": "The Cellife NADH most definitely gave me a lift. I had the flushing due to not eating enough, so I knew it was absorbed well. Overall, the best version I have tried of a NAD+ precursor.",
+ "quote": "Cellife NADH most definitely gave me a lift. I had the flushing due to not eating enough, so I knew it was absorbed well. Overall, the best version I have tried of a NAD+ precursor.",
"attribution": "Ian Z.",
"attribution_subtitle": "Pharmacist · HealthSave+ Custom Made Medicine",
"rating": 5,
From ea8eb40b470b5a5175485d7a10b113ed30bf8821 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:47:53 +0000
Subject: [PATCH 043/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index 3c53b7aca93..c7da526afcc 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -132,12 +132,12 @@
"story_3": {
"type": "story",
"settings": {
- "approved": false,
- "quote": "",
- "attribution": "",
- "attribution_subtitle": "",
- "rating": 0,
- "verified": false,
+ "approved": true,
+ "quote": "Taking Cellife NAD and NMN has given me more stamina and made it much easier to get through long days. I’ve been so happy with the results that I even have my parents taking Cellife NMN.",
+ "attribution": "Andrew S.",
+ "attribution_subtitle": "Pharmacist · Woombye Pharmacy",
+ "rating": 5,
+ "verified": true,
"transcript": "",
"product": "",
"product_overlay": true
From ce4f0488ae52bf1cb0fcbddb9985c307b1875a43 Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 30 Oct 2026 10:49:47 +1100
Subject: [PATCH 044/151] Center-fill testimonial videos and posters without
letterboxing
---
assets/section-cellife-story-mosaic.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/assets/section-cellife-story-mosaic.css b/assets/section-cellife-story-mosaic.css
index cecde44c321..c8d7b8b9191 100644
--- a/assets/section-cellife-story-mosaic.css
+++ b/assets/section-cellife-story-mosaic.css
@@ -12,7 +12,7 @@ cellife-story-rail[data-layout="mosaic"] .cellife-community-grid { align-items:
.cellife-story-attribution { margin: 20px 0 0; text-align: right; }
.cellife-story-unit--portrait > .cellife-community-card { display: flex; flex-direction: column; height: 100%; }
.cellife-story-unit--portrait .cellife-community-card__media { flex: 1; min-height: 0; aspect-ratio: auto; overflow: hidden; background: #e9e6ee; }
-.cellife-story-unit--portrait .cellife-community-card__media video, .cellife-story-unit--portrait .cellife-community-card__media img { height: 100%; width: 100%; object-fit: contain; }
+.cellife-story-unit--portrait .cellife-community-card__media > video, .cellife-story-unit--portrait .cellife-community-card__media > img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: center; }
.cellife-story-unit--portrait .cellife-community-card__copy { flex: 0 1 auto; max-height: 35%; overflow-y: auto; }
.cellife-story-unit--portrait .cellife-community-card__copy:empty { display: none; }
@media (max-width: 749px) {
From f3a18367e8ab22e285f3fd876c36d349586eb2a8 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:52:23 +0000
Subject: [PATCH 045/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified assets/section-cellife-story-mosaic.css (editor not recorded)
- modified templates/index.json (Xing Mao)
---
templates/index.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/index.json b/templates/index.json
index c7da526afcc..debe2e25b99 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -155,7 +155,7 @@
"rating": 0,
"verified": false,
"transcript": "",
- "product": "",
+ "product": "cellife-detox-60-tablets-copy",
"product_overlay": true
}
},
From dc0abe28cf68905780e93b3b7692c71ae435f3c5 Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:54:50 +0000
Subject: [PATCH 046/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index debe2e25b99..8b193ded5b8 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -162,12 +162,12 @@
"story_4": {
"type": "story",
"settings": {
- "approved": false,
- "quote": "",
- "attribution": "",
- "attribution_subtitle": "",
- "rating": 0,
- "verified": false,
+ "approved": true,
+ "quote": "I have been taking Cellife NMN Extra for several years now. Over this time, I’ve noticed a significant improvement in my energy levels and metabolism. Having used it consistently for years, I honestly can’t see myself stopping.",
+ "attribution": "Natasha L.",
+ "attribution_subtitle": "Pharmacist · Bondi Beach Chemist ",
+ "rating": 5,
+ "verified": true,
"transcript": "",
"product": "",
"product_overlay": true
From e957a8c96d7a0906235a3657faed90a91a6c164d Mon Sep 17 00:00:00 2001
From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com>
Date: Thu, 29 Oct 2026 23:55:47 +0000
Subject: [PATCH 047/151] Update from Shopify for theme
cellife-shopify-theme/cellife-rebuild by Xing Mao
Committed from shop: Cellife Health Care Australia
Changed by: Xing Mao
Files:
- modified templates/index.json (Xing Mao)
---
templates/index.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/templates/index.json b/templates/index.json
index 8b193ded5b8..70aae5b47db 100644
--- a/templates/index.json
+++ b/templates/index.json
@@ -176,12 +176,12 @@
"story_5": {
"type": "story",
"settings": {
- "approved": false,
- "quote": "",
- "attribution": "",
- "attribution_subtitle": "",
- "rating": 0,
- "verified": false,
+ "approved": true,
+ "quote": "I started taking Cellife NADH and initially felt good on it but didn’t notice a major difference at first. However, when I forgot to take it for a day, I really noticed a change—I felt more tired and less focused. Since then, I haven’t missed a day. It has genuinely made a difference to my energy levels and overall vitality.",
+ "attribution": "Chris L.",
+ "attribution_subtitle": "Pharmacist · Priceline Pharmacy",
+ "rating": 5,
+ "verified": true,
"transcript": "",
"product": "",
"product_overlay": true
From 6a6aaece48def76502dc0579c0b677d654f1cc3a Mon Sep 17 00:00:00 2001
From: Miller W <59322226+cremechese@users.noreply.github.com>
Date: Fri, 30 Oct 2026 10:59:41 +1100
Subject: [PATCH 048/151] Add per-testimonial quote size slider and prevent top
clipping on long stories
---
assets/section-cellife-story-mosaic.css | 11 ++++++-----
sections/cellife-community.liquid | 11 +++++++++++
snippets/cellife-story-card.liquid | 2 +-
3 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/assets/section-cellife-story-mosaic.css b/assets/section-cellife-story-mosaic.css
index c8d7b8b9191..1afc98b4744 100644
--- a/assets/section-cellife-story-mosaic.css
+++ b/assets/section-cellife-story-mosaic.css
@@ -5,10 +5,11 @@ cellife-story-rail[data-layout="mosaic"] .cellife-community-grid { align-items:
.cellife-story-unit--trio > :first-child { grid-column: 1 / -1; }
.cellife-story-unit--stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cellife-story-unit > .cellife-community-card { min-width: 0; min-height: 0; margin: 0; border: 1px solid #d8cfdf; background: #f4f3f2; color: #262125; }
-.cellife-story-unit .cellife-community-card--quote { display: flex; align-items: center; overflow-y: auto; scrollbar-width: thin; }
+.cellife-story-unit .cellife-community-card--quote { display: flex; flex-direction: column; align-items: stretch; overflow-y: auto; scrollbar-width: thin; }
.cellife-story-unit .cellife-community-card__copy { width: 100%; padding: 24px; }
-.cellife-story-unit blockquote { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: #3e2b62; }
-.cellife-story-unit--trio > :first-child blockquote { font-size: clamp(20px, 1.9vw, 27px); }
+.cellife-story-unit .cellife-community-card--quote > .cellife-community-card__copy { flex: 0 0 auto; margin-block: auto; }
+.cellife-story-unit blockquote { --story-quote-size: clamp(17px, 1.5vw, 21px); font-size: max(14px, calc(var(--story-quote-size) * var(--story-quote-scale, 1))); line-height: 1.5; color: #3e2b62; }
+.cellife-story-unit--trio > :first-child blockquote { --story-quote-size: clamp(20px, 1.9vw, 27px); }
.cellife-story-attribution { margin: 20px 0 0; text-align: right; }
.cellife-story-unit--portrait > .cellife-community-card { display: flex; flex-direction: column; height: 100%; }
.cellife-story-unit--portrait .cellife-community-card__media { flex: 1; min-height: 0; aspect-ratio: auto; overflow: hidden; background: #e9e6ee; }
@@ -20,8 +21,8 @@ cellife-story-rail[data-layout="mosaic"] .cellife-community-grid { align-items:
.cellife-story-unit--trio { flex-basis: var(--story-card-width, 85vw); gap: 16px; }
.cellife-story-unit--stack { gap: 16px; }
.cellife-story-unit .cellife-community-card__copy { padding: 16px; font-size: 13px; }
- .cellife-story-unit blockquote { font-size: 15px; }
- .cellife-story-unit--trio > :first-child blockquote { font-size: 19px; }
+ .cellife-story-unit blockquote { --story-quote-size: 15px; }
+ .cellife-story-unit--trio > :first-child blockquote { --story-quote-size: 19px; }
}
/* Ratings and verification appear only when explicitly supplied for an approved story. */
.cellife-story-rating { position: relative; display: inline-block; margin-bottom: 16px; color: #d8cfdf; font-size: 24px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
diff --git a/sections/cellife-community.liquid b/sections/cellife-community.liquid
index 101eebe5779..9893715ae19 100644
--- a/sections/cellife-community.liquid
+++ b/sections/cellife-community.liquid
@@ -163,6 +163,17 @@
"id": "quote",
"label": "Approved customer quote"
},
+ {
+ "type": "range",
+ "id": "quote_text_scale",
+ "label": "Quote text size",
+ "min": 70,
+ "max": 130,
+ "step": 5,
+ "unit": "%",
+ "default": 100,
+ "info": "Adjust this story only. 100% keeps the normal size; try 85–90% for a long quote. Text stays at least 14px."
+ },
{
"type": "text",
"id": "attribution",
diff --git a/snippets/cellife-story-card.liquid b/snippets/cellife-story-card.liquid
index 4583201c978..64927b96c77 100644
--- a/snippets/cellife-story-card.liquid
+++ b/snippets/cellife-story-card.liquid
@@ -15,7 +15,7 @@
assign show_copy = true
endif
-%}
-