Metaobjects: FAQs & Reviews
Managing the reusable FAQ entries and Reviews widgets used across the Car Battery Pro site.
Metaobjects: FAQs & Reviews
๐ค Ops ยท ๐ Dev
Metaobjects are reusable content entries managed in the Shopify admin under Settings โ Custom data โ Metaobjects. Unlike a section (which lives on one page), a metaobject is created once and reused wherever it's referenced. The theme uses three definitions: FAQ entries and Reviews widgets (content, below) and Postcode capabilities (which drives delivery/installation availability โ see the postcode capabilities appendix).
New to metaobjects? See Shopify's metaobjects overview.
FAQ entries (faq_entries)
Used wherever an FAQ accordion appears โ the FAQs page, and two-column / FAQs-and-CVPs sections that allow FAQs.
Fields per entry:
- Heading โ the question.
- Text โ the answer (rich text).
- Handle โ auto-generated from the heading (or set manually). This is how the theme references a specific FAQ.
Adding a new FAQ
- Shopify Admin โ Content โ Metaobjects โ FAQ entries โ Add entry.
- Fill in Heading and Text.
- Save, and note the handle shown at the top.
- To show it on a page using a Two-column or FAQ accordion section: open the page in the theme editor, find the section, and pick the entry from the metaobject picker (or paste its handle).
The standalone FAQs page lists all faq_entries automatically, so a new entry appears there
with no further steps. Only the curated FAQ accordion references entries by handle. See
Page template: FAQs.
Reviews widgets (reviews_widgets)
Used by the Reviews carousel, Hero space, and Footer sections to embed Google / Trustpilot review widgets.
Fields: the source identifier (e.g. google, trustpilot) plus widget HTML or display
settings, as defined in the metaobject schema.
Adding or changing a widget
- Shopify Admin โ Content โ Metaobjects โ Reviews widgets.
- Edit or add an entry.
- In the relevant section (Reviews carousel, Hero space, Footer), select the entry from the metaobject picker.
Postcode capabilities (postcode_capabilities)
These entries decide whether delivery and at-home installation are available for a postcode. The backend matches a customer's postcode against them and returns the result to the storefront.
To open or close an area, edit or add an entry under Shopify Admin โ Content โ Metaobjects โ
Postcode capabilities โ no code change required. The full field list (display name, suburb,
postcode, installation_service, delivery, installer calendar URL) is in the
postcode capabilities appendix.
Developer reference
- FAQ iteration:
sections/main-faqs.liquidโshop.metaobjects.faq_entries.values. - FAQ-by-handle (templated into JSON):
templates/page.faqs.jsonusesmetaobjects.faq_entries["<handle>"].heading.valueandโฆ .text | metafield_tag. - Sections consuming
reviews_widgets:sections/reviews-carousel.liquid,sections/hero-space.liquid,sections/footer.liquid. - The two-column section (
sections/two-column.liquid) acceptsfaq_entriesmetaobjects as blocks. - See
snippets/reviews.liquidLiquidDoc for the expected metaobject shape.