CompositeProduct
ObjectA composite product object
Fields
Controls the form location of the product in the single-product page. Applicable to composite-type products.
Product addons connected to this product.
Connection between the Product type and the paColor type
Connection between the Product type and the paSize type
Connection between the ProductWithAttributes type and the ProductAttribute type
Product average count
Product backorders status
Can product be backordered?
Catalog visibility
The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility.
Whether the comments are open or closed for this particular post.
List of components that this product consists of. Applicable to composite-type products.
The content of the post.
CSS classes WordPress applies to the post-content wrapper based on the template layout attribute and theme.json settings.
Connection between the ContentNode type and the ContentType type
The name of the Content Type the node belongs to
Product or variation ID
Post publishing date.
The publishing date set in GMT.
Date on sale from
Date on sale to
Connection between the ProductWithAttributes type and the VariationAttribute type
Product description
The desired slug of the post
Controls whether the configuration of this product can be modified from the cart page. Applicable to composite-type products.
If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds
The RSS enclosure for the object
Connection between the ContentNode type and the EnqueuedScript type
Connection between the ContentNode type and the EnqueuedStylesheet type
The excerpt of the post.
If the product is featured
Connection between the NodeWithFeaturedImage type and the MediaItem type
The database identifier for the featured image node assigned to the content node
Globally unique ID of the featured image assigned to the node
Connection between the Product type and the MediaItem type
Connection between the ProductWithAttributes type and the GlobalProductAttribute type
The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table.
Whether the product object is password protected.
Product's height
Product or variation global ID
Main image
Whether the node is a Comment
Whether the node is a Content Node
Whether the node represents the front page.
Whether the node represents the blog page.
Whether the object is a node in the preview state
Whether the object is restricted from the current viewer
Whether the node is a Term
The user that most recently edited the node
Single-product template layout. Applicable to composite-type products.
Product's length
The permalink of the post
Connection between the ProductWithAttributes type and the LocalProductAttribute type
Low stock amount
If product manage stock
The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time.
The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT.
Product name
Is product on sale?
The parent of the node. The parent object can be of various types
The password for the product object.
The database id of the preview node
Whether the object is a node in the preview state
Product's active price
Connection between the Product type and the productBrand type
Connection between the Product type and the productCategory type
The id field matches the WP_Post->ID field.
Connection between the Product type and the productTag type
Connection between the Product type and the productType type
Can product be purchased?
Purchase note
Product's regular price
Product review count
Connection between the Product type and the Comment type
If reviews are allowed
Product's sale price
Scenarios data. Applicable to composite-type products.
The Yoast SEO data of the ContentNode
shipping class ID
Connection between the Product type and the shippingClass type
Does product need to be shipped?
Is product shipping taxable?
Composite catalog price calculation. Applicable to composite-type products.
Product short description
Product SKU
Product slug
If should be sold individually
Sold Individually option context. Applicable to composite-type products.
The current status of the object
Number of items available for sale
Product stock status
Tax class
Tax status
The template assigned to the node
Connection between the Product type and the TermNode type
The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made.
Number total of sales
Product type
Connection between the Product type and the ProductUnion type
The unique resource identifier path
Is product virtual?
Forces all contents of this composite to be treated as virtual.
Connection between the Product type and the visibleProduct type
Product's weight
Product's width
Connection between the Product type and the Comment type