Skip to main content

StorefrontAppSection

A section of the live storefront page that shows in the buyer app (not hidden, not Web only by the seller's choice). The app draws the ones it can (@arc/theme-engine ARC_APP_SECTIONS) and skips the rest.

type StorefrontAppSection {
belowMain: Boolean!
blocks: [StorefrontAppBlock!]!
handle: String!
id: String!
records: [StorefrontCatalogRecord!]
settings: JSON!
version: Int!
}

Fields​

StorefrontAppSection.belowMain ● Boolean! non-null scalar​

On a store page's template (Search, Category): true when the section sits below the main area (the results or the product grid), false above it. Always false on the home page.

StorefrontAppSection.blocks ● [StorefrontAppBlock!]! non-null object​

The section's blocks buyers see, in order; hidden blocks are left out.

StorefrontAppSection.handle ● String! non-null scalar​

The section's handle in the library (slideshow, category-tiles …).

StorefrontAppSection.id ● String! non-null scalar​

The placed section's instance id in the document.

StorefrontAppSection.records ● [StorefrontCatalogRecord!] list object​

The live catalog records the section lists (Picked: in the seller's order; Automatic: catalog order). Null when the section lists no live records (typed by hand), or the catalog does not list that source in that mode.

StorefrontAppSection.settings ● JSON! non-null scalar​

The section's values, read against its definition with defaults applied (the engine's resolveValues).

StorefrontAppSection.version ● Int! non-null scalar​

The section definition's version the seller placed.

Member Of​

StorefrontAppPage object