Documentation Index
Fetch the complete documentation index at: https://docs.uselayers.com/llms.txt
Use this file to discover all available pages before exploring further.
What are attributes?
Attributes are the building blocks of your product catalog in Layers. Every piece of product data, from titles and descriptions to metafields and computed values, is represented as an attribute. By configuring how each attribute behaves, you control the entire discovery experience for your customers. Each attribute has four core properties that determine where and how it can be used across the platform:How attributes power the platform
Attributes sit at the foundation of every feature in Layers. When you mark an attribute as searchable, it becomes part of your text and image search indexes. When you mark an attribute as filterable, it becomes available as a facet so customers can narrow results by that value. When you mark an attribute as sortable, it can be used in sort orders and merchandising rules to control product ranking. When you mark an attribute as groupable, it can drive product families that group related products together for merchandising diversity. This means the attributes you configure directly shape the quality of your search results, the filters available to your customers, the sort orders you can create, and the product families used for merchandising diversity.Types of attributes
Catalog attributes come directly from your Shopify product data. They reference fields in your product schema, including standard fields, product options, taxonomy metafields, and custom metafields. Catalog attributes are automatically created during syncs. Computed attributes are dynamic values derived from logic you define in the dashboard. These let you create new data points from existing product data without modifying your Shopify catalog, such as calculating a discount percentage from price and compare-at price.Key capabilities
- Keyword search weight — Control how much influence each searchable attribute has on keyword-based ranking. For example, prioritize title matches over description matches.
- Attribute classes — Classify attributes as categorical, feature, or price to help the search engine apply specialized handling and improve relevance.
- Groupable attributes — Group results by a shared value (like a style code) to create product families, so related products are ranked and reported together.
- API visibility — Control whether an attribute appears in storefront responses or stays hidden from customer-facing API requests.
- Storefront facet sync — Choose whether filterable attributes are synced to Shopify as metaobjects for native storefront filtering.
Next steps
- Managing catalog attributes — Full guide to configuring searchable, filterable, and sortable attributes
- Catalog attributes — Codes, metafield creation, and nested key support
- Attribute options — Searchable, filterable, sortable, and visibility settings
- Attribute classes — Categorical, feature, and price classifications
- Computed attributes - Creating dynamic attribute values with Functions
- Product families — Grouping related products for merchandising diversity
- Filtering language — How attributes power the filtering language
- Sorting — How sortable attributes feed into sort orders