Articles on: Reference

Smart Collection Fields

Smart collections automatically group products based on conditions you define. Products that match these conditions are automatically added to the collection.

Collection Fields



These are all the fields you can import or export for smart collections in Altera.

General



FieldDescriptionExample Value
IDUnique collection identifier12345678
HandleURL-friendly version of the titlesummer-sale
CommandAction to perform on this collectionMERGE
TitleCollection nameSummer Sale Items
Body HTMLCollection description<p>All our summer sale items</p>
Sort OrderHow products are sortedMANUAL
Template SuffixAlternative template for collectionsale-template
Updated AtWhen collection was last modified2023-06-20T15:30:00Z
PublishedWhether collection is publishedtrue
Published AtWhen collection was published2023-06-01T10:00:00Z
Published ScopeVisibility scopeweb


Images



FieldDescriptionExample Value
Image SrcURL of collection imagehttps://cdn.shopify.com/images/collection.jpg
Image WidthImage width in pixels1200
Image HeightImage height in pixels800
Image Alt TextAlternative text for imageSummer sale collection banner


Rules



FieldDescriptionExample Value
Must MatchWhether all conditions must matchtrue
Rule: Product ColumnField to checkvendor
Rule: RelationHow to compare valuesEQUALS
Rule: ConditionValue to compare againstNike


Products



FieldDescriptionExample Value
Product: IDProduct identifier987654
Product: HandleProduct URL handleblue-t-shirt
Product: PositionDisplay order in collection1
Products CountTotal number of products25


Metafields



FieldDescriptionExample Value
MetafieldsCollection metafields{"collection.featured": "true"}


Collection Filters



You can use these filters to limit which collections are exported:

- handle: Filter by collection handle
- publishable_status: Filter by status (published/unpublished)
- published_at: Filter by publish date
- title: Filter by collection title
- updated_at: Filter by last update date

Updated on: 11/02/2025