Smart Collection Fields
Smart collections automatically group products based on conditions you define. Products that match these conditions are automatically added to the collection.
This sample file shows the basic columns that you need in order to import smart collections to Shopify. Smart collections that have multiple rules will have multiple rows in the file.
Download sample Smart Collection Import File.
These are all the fields you can import or export for smart collections in Altera.
- TITLE
- TYPE
- PRODUCT_TAXONOMY_NODE_ID
- VENDOR
- VARIANT_TITLE
- VARIANT_COMPARE_AT_PRICE
- VARIANT_WEIGHT
- VARIANT_INVENTORY
- VARIANT_PRICE
- TAG
- PRODUCT_METAFIELD_DEFINITION
- VARIANT_METAFIELD_DEFINITION
- GREATER_THAN
- LESS_THAN
- EQUALS
- NOT_EQUALS
- STARTS_WITH
- ENDS_WITH
- CONTAINS
- NOT_CONTAINS
- IS_NOT_SET
- IS_SET
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
Sample File
This sample file shows the basic columns that you need in order to import smart collections to Shopify. Smart collections that have multiple rules will have multiple rows in the file.
Download sample Smart Collection Import File.
Collection Fields
These are all the fields you can import or export for smart collections in Altera.
General
Field | Description | Example Value |
---|---|---|
ID | Unique collection identifier | 12345678 |
Handle | URL-friendly version of the title | summer-sale |
Command | Action to perform on this collection | MERGE |
Title | Collection name | Summer Sale Items |
Body HTML | Collection description | <p>All our summer sale items</p> |
Sort Order | How products are sorted | MANUAL |
Template Suffix | Alternative template for collection | sale-template |
Updated At | When collection was last modified | 2023-06-20T15:30:00Z |
Published | Whether collection is published | true |
Published At | When collection was published | 2023-06-01T10:00:00Z |
Published Scope | Visibility scope | web |
Images
Field | Description | Example Value |
---|---|---|
Image Src | URL of collection image | https://cdn.shopify.com/images/collection.jpg |
Image Width | Image width in pixels | 1200 |
Image Height | Image height in pixels | 800 |
Image Alt Text | Alternative text for image | Summer sale collection banner |
Rules
Field | Description | Example Value |
---|---|---|
Must Match | Whether all conditions must match. Can be either all conditions or any condition | all conditions |
Rule: Product Column | Field to check | VENDOR |
Rule: Relation | How to compare values | EQUALS |
Rule: Condition | Value to compare against. Multiple tags can be separated by commas. | Nike |
Rule: Product Column Values
- TITLE
- TYPE
- PRODUCT_TAXONOMY_NODE_ID
- VENDOR
- VARIANT_TITLE
- VARIANT_COMPARE_AT_PRICE
- VARIANT_WEIGHT
- VARIANT_INVENTORY
- VARIANT_PRICE
- TAG
- PRODUCT_METAFIELD_DEFINITION
- VARIANT_METAFIELD_DEFINITION
Rule: Relation Values
- GREATER_THAN
- LESS_THAN
- EQUALS
- NOT_EQUALS
- STARTS_WITH
- ENDS_WITH
- CONTAINS
- NOT_CONTAINS
- IS_NOT_SET
- IS_SET
Products
Field | Description | Example Value |
---|---|---|
Product: ID | Product identifier | 987654 |
Product: Handle | Product URL handle | blue-t-shirt |
Product: Position | Display order in collection | 1 |
Products Count | Total number of products | 25 |
Metafields
Field | Description | Example Value |
---|---|---|
Metafields | Collection 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: 15/04/2025