All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
Storefront.ProductQuery |
availableForSale()
Indicates if at least one product variant is available for sale.
|
Storefront.ProductQuery |
collections(Storefront.CollectionConnectionQueryDefinition queryDef)
List of collections a product belongs to.
|
Storefront.ProductQuery |
collections(Storefront.ProductQuery.CollectionsArgumentsDefinition argsDef,
Storefront.CollectionConnectionQueryDefinition queryDef)
List of collections a product belongs to.
|
Storefront.ProductQuery |
compareAtPriceRange(Storefront.ProductPriceRangeQueryDefinition queryDef)
The compare at price of the product across all variants.
|
Storefront.ProductQuery |
createdAt()
The date and time when the product was created.
|
Storefront.ProductQuery |
description()
Stripped description of the product, single line with HTML tags removed.
|
Storefront.ProductQuery |
description(Storefront.ProductQuery.DescriptionArgumentsDefinition argsDef)
Stripped description of the product, single line with HTML tags removed.
|
Storefront.ProductQuery |
descriptionHtml()
The description of the product, complete with HTML formatting.
|
Storefront.ProductQuery |
handle()
A human-friendly unique string for the Product automatically generated from its title.
|
Storefront.ProductQuery |
images(Storefront.ImageConnectionQueryDefinition queryDef)
List of images associated with the product.
|
Storefront.ProductQuery |
images(Storefront.ProductQuery.ImagesArgumentsDefinition argsDef,
Storefront.ImageConnectionQueryDefinition queryDef)
List of images associated with the product.
|
Storefront.ProductQuery |
media(Storefront.MediaConnectionQueryDefinition queryDef)
The media associated with the product.
|
Storefront.ProductQuery |
media(Storefront.ProductQuery.MediaArgumentsDefinition argsDef,
Storefront.MediaConnectionQueryDefinition queryDef)
The media associated with the product.
|
Storefront.ProductQuery |
metafield(java.lang.String namespace,
java.lang.String key,
Storefront.MetafieldQueryDefinition queryDef)
The metafield associated with the resource.
|
Storefront.ProductQuery |
metafields(Storefront.MetafieldConnectionQueryDefinition queryDef)
A paginated list of metafields associated with the resource.
|
Storefront.ProductQuery |
metafields(Storefront.ProductQuery.MetafieldsArgumentsDefinition argsDef,
Storefront.MetafieldConnectionQueryDefinition queryDef)
A paginated list of metafields associated with the resource.
|
Storefront.ProductQuery |
onlineStoreUrl()
The online store URL for the product.
|
Storefront.ProductQuery |
options(Storefront.ProductOptionQueryDefinition queryDef)
List of product options.
|
Storefront.ProductQuery |
options(Storefront.ProductQuery.OptionsArgumentsDefinition argsDef,
Storefront.ProductOptionQueryDefinition queryDef)
List of product options.
|
Storefront.ProductQuery |
presentmentPriceRanges(Storefront.ProductPriceRangeConnectionQueryDefinition queryDef)
List of price ranges in the presentment currencies for this shop.
|
Storefront.ProductQuery |
presentmentPriceRanges(Storefront.ProductQuery.PresentmentPriceRangesArgumentsDefinition argsDef,
Storefront.ProductPriceRangeConnectionQueryDefinition queryDef)
List of price ranges in the presentment currencies for this shop.
|
Storefront.ProductQuery |
priceRange(Storefront.ProductPriceRangeQueryDefinition queryDef)
The price range.
|
Storefront.ProductQuery |
productType()
A categorization that a product can be tagged with, commonly used for filtering and searching.
|
Storefront.ProductQuery |
publishedAt()
The date and time when the product was published to the channel.
|
Storefront.ProductQuery |
seo(Storefront.SEOQueryDefinition queryDef)
The product's SEO information.
|
Storefront.ProductQuery |
tags()
A comma separated list of tags that have been added to the product.
|
Storefront.ProductQuery |
title()
The product’s title.
|
Storefront.ProductQuery |
totalInventory()
The total quantity of inventory in stock for this Product.
|
Storefront.ProductQuery |
updatedAt()
The date and time when the product was last modified.
|
Storefront.ProductQuery |
variantBySelectedOptions(java.util.List<Storefront.SelectedOptionInput> selectedOptions,
Storefront.ProductVariantQueryDefinition queryDef)
Find a product’s variant based on its selected options.
|
Storefront.ProductQuery |
variants(Storefront.ProductQuery.VariantsArgumentsDefinition argsDef,
Storefront.ProductVariantConnectionQueryDefinition queryDef)
List of the product’s variants.
|
Storefront.ProductQuery |
variants(Storefront.ProductVariantConnectionQueryDefinition queryDef)
List of the product’s variants.
|
Storefront.ProductQuery |
vendor()
The product’s vendor name.
|