Skip to main content
Layers supports automatic sequence creation through configurable metafields. You can configure which metafields trigger automatic sequence creation through the dashboard at Settings > Sequences.

Configuration options

Each sequence metafield configuration requires:
  • Namespace: The metafield namespace (e.g., layers, custom)
  • Key: The metafield key (e.g., global_sequence, related_products)
  • Type: Must be list.product_reference in Shopify
  • Includes current product: Whether the metafield value already contains the current product

Default configuration

By default, Layers recognizes the layers.global_sequence metafield:
Namespace: layers
Key: global_sequence
Type: list.product_reference
Includes current product: Yes
When this metafield is present on products, Layers will automatically create a global sequence named “Auto: layers.global_sequence” during bulk data synchronization. The metafield value should contain an array of product references that should be grouped together in the sequence. During automatic sequence creation and updates, Layers resolves global sequence conflicts automatically. If a product already belongs to another global sequence, it is removed from the old group before being placed in the new one. If removing products causes an old group to contain one or fewer products, that group is deleted.

Custom configurations

You can add additional metafield configurations for different use cases. For example, a “related products” metafield:
Namespace: custom
Key: related_products
Type: list.product_reference
Includes current product: No
When “includes current product” is disabled, Layers will automatically prepend the current product to the metafield value when creating the sequence. This is useful when the metafield contains only related products, not the product itself. Each configured metafield will create sequences named as Auto: {namespace}.{key} (e.g., “Auto: custom.related_products”).
This feature is currently in beta and only processes during bulk operations, not during incremental product updates.

See also