Entities
Product
Product entity - components, queries, links, and related actions
Your storefront encounters the Product entity when fetching catalog data: category listings, search results, and product detail pages. A Product holds general information about a buyable good or service. It is not buyable by itself; instead, each Product links to one or more ProductVariant entities that represent the actual purchasable SKUs.
Components
Base
Description
Flags
Info
Media
Prices
Rating
SEO
Analytics
Brand
Default Variant
Queries
- ProductBySlug - Retrieve a single product by its slug.
- ProductsByCategoryId - Retrieve multiple products by a category ID.
- ProductsByCategorySlug - Retrieve multiple products by a category slug.
- ProductSearch - Search for products using a query string.
Links
- ProductAllCategories
Categorymulti- All categories the product is assigned to. - ProductBreadcrumb
BreadcrumbItemmulti- Breadcrumb items for the product detail page. - ProductReviews
Reviewmulti- User-generated product reviews. - ProductVariants
ProductVariantmulti- The actual buyable SKUs. A Product must always link to at least one ProductVariant.
Related actions
- CreateReview - Create a new user review for a product.