Car Battery Pro
Day-to-Day OperationsPage templates

Page template: FAQs

How the FAQs page is built and how to add or curate questions.

Page template: FAQs

๐Ÿ‘ค Ops ยท ๐Ÿ›  Dev

The FAQs page lives at /pages/faqs and uses the page.faqs template. Its content comes from the faq_entries metaobject.

Structure

  1. Standard hero โ€” Find answers fast.
  2. Main FAQs โ€” a section that lists all faq_entries metaobjects automatically.
  3. FAQ accordion โ€” currently disabled in the live template; used when curating a hand-picked list rather than the full set.

Adding or changing FAQs

  • To add a new FAQ to the page: add a new entry under Shopify Admin โ†’ Content โ†’ Metaobjects โ†’ FAQ entries. The Main FAQs section picks it up automatically โ€” no editing of the page itself.
  • To curate or re-order a hand-picked subset: a developer must enable the FAQ accordion section and reference each entry by handle.

See Metaobjects: FAQs & Reviews for the entry fields and the handle.

Editing the hero / page title

With the FAQs page open in the theme editor, click Standard hero to change the title, subtitle, breadcrumbs, or background image.

Developer reference

  • Template: templates/page.faqs.json.
  • sections/main-faqs.liquid iterates shop.metaobjects.faq_entries.values.
  • sections/faq-accordion.liquid is curated; its entries use Liquid string interpolation in JSON to look up metaobjects by handle (e.g. metaobjects.faq_entries["at-home-installation"]). If a FAQ's handle changes, update the references in admin.

On this page