Product
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
Specifications
The well-known vocabulary
wellKnownName and wellKnownSectionName are what make a row portable between connectors: the frontend maps a well-known name to a localized label, so a connector can emit its own upstream naming in name and still get a translated heading. Both fields are optional, and both accept a string outside the union, which passes through unmapped rather than failing.
WellKnownPropertyName identifies the row:
material, weight, dimensions, width, height, depth, length, circumference, diameter, volume, area, surface, warranty, countryOfOrigin, careInstructions, color, capacity
WellKnownSectionName groups rows under a heading:
general, dimensions, materials, care, technical, warranty, connectivity
Flags
Info
Media
Prices
Rating
SEO
Analytics
Brand
Default Variant
Option Groups
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.