public static class Storefront.CollectionQuery
extends <any>
| Modifier and Type | Class and Description |
|---|---|
class |
Storefront.CollectionQuery.DescriptionArguments |
static interface |
Storefront.CollectionQuery.DescriptionArgumentsDefinition |
class |
Storefront.CollectionQuery.ImageArguments |
static interface |
Storefront.CollectionQuery.ImageArgumentsDefinition |
class |
Storefront.CollectionQuery.ProductsArguments |
static interface |
Storefront.CollectionQuery.ProductsArgumentsDefinition |
| Modifier and Type | Method and Description |
|---|---|
Storefront.CollectionQuery |
description()
Stripped description of the collection, single line with HTML tags removed.
|
Storefront.CollectionQuery |
description(Storefront.CollectionQuery.DescriptionArgumentsDefinition argsDef)
Stripped description of the collection, single line with HTML tags removed.
|
Storefront.CollectionQuery |
descriptionHtml()
The description of the collection, complete with HTML formatting.
|
Storefront.CollectionQuery |
handle()
A human-friendly unique string for the collection automatically generated from its title.
|
Storefront.CollectionQuery |
image(Storefront.CollectionQuery.ImageArgumentsDefinition argsDef,
Storefront.ImageQueryDefinition queryDef)
Image associated with the collection.
|
Storefront.CollectionQuery |
image(Storefront.ImageQueryDefinition queryDef)
Image associated with the collection.
|
Storefront.CollectionQuery |
products(Storefront.CollectionQuery.ProductsArgumentsDefinition argsDef,
Storefront.ProductConnectionQueryDefinition queryDef)
List of products in the collection.
|
Storefront.CollectionQuery |
products(Storefront.ProductConnectionQueryDefinition queryDef)
List of products in the collection.
|
Storefront.CollectionQuery |
title()
The collection’s name.
|
Storefront.CollectionQuery |
updatedAt()
The date and time when the collection was last modified.
|
public Storefront.CollectionQuery description()
public Storefront.CollectionQuery description(Storefront.CollectionQuery.DescriptionArgumentsDefinition argsDef)
public Storefront.CollectionQuery descriptionHtml()
public Storefront.CollectionQuery handle()
public Storefront.CollectionQuery image(Storefront.ImageQueryDefinition queryDef)
public Storefront.CollectionQuery image(Storefront.CollectionQuery.ImageArgumentsDefinition argsDef, Storefront.ImageQueryDefinition queryDef)
public Storefront.CollectionQuery products(Storefront.ProductConnectionQueryDefinition queryDef)
public Storefront.CollectionQuery products(Storefront.CollectionQuery.ProductsArgumentsDefinition argsDef, Storefront.ProductConnectionQueryDefinition queryDef)
public Storefront.CollectionQuery title()
public Storefront.CollectionQuery updatedAt()