stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > CollectionRuleColumn

AdminTypes.CollectionRuleColumn enum

Specifies the attribute of a product being used to populate the smart collection.

Signature:

export declare enum CollectionRuleColumn 

Enumeration Members

Member Value Description
IsPriceReduced "IS_PRICE_REDUCED" An attribute evaluated based on the compare_at_price attribute of the product’s variants. With is_set relation, the rule matches products with at least one variant with compare_at_price set. With is_not_set relation, the rule matches matches products with at least one variant with compare_at_price not set.
ProductMetafieldDefinition "PRODUCT_METAFIELD_DEFINITION" This category includes metafield definitions that have the useAsCollectionCondition flag set to true.
ProductTaxonomyNodeId "PRODUCT_TAXONOMY_NODE_ID" The [product_taxonomy_node_id](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-productcategory) attribute.
Tag "TAG" The [tag](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-producttype) attribute.
Title "TITLE" The [title](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-title) attribute.
Type "TYPE" The [type](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-producttype) attribute.
VariantCompareAtPrice "VARIANT_COMPARE_AT_PRICE" The [variant_compare_at_price](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-compareatprice) attribute.
VariantInventory "VARIANT_INVENTORY" The [variant_inventory](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-inventoryquantity) attribute.
VariantMetafieldDefinition "VARIANT_METAFIELD_DEFINITION" This category includes metafield definitions that have the useAsCollectionCondition flag set to true.
VariantPrice "VARIANT_PRICE" The [variant_price](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-price) attribute.
VariantTitle "VARIANT_TITLE" The [variant_title](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-title) attribute.
VariantWeight "VARIANT_WEIGHT" The [variant_weight](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-weight) attribute.
Vendor "VENDOR" The [vendor](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-product-vendor) attribute.