Fixed features are marketing bullet points. They're assumed to be part of the base cost of plans.
You can access the fixed features available for a product by using the fixedFeatures query:
fixedFeatures(first: Int!,after: String,orderBy: ProductFixedFeaturesOrderBy): ProductFixedFeatureConnection
The query returns a paginated connection of ProductFixedFeature
nodes.
type ProductFixedFeature implements Node {id: ID!label: String!displayName: String!featureOptions: [ProductFixedFeatureOption!]}​type ProductFixedFeatureOption {value: String!displayName: String!}
For example, the two features in the screenshot above would be returned like this:
{"data": {"product": {"fixedFeatures": {"edges": [{"node": {"displayName": "Checkbox feature","featureOptions": [{"value": "true","displayName": "true"},{"value": "false","displayName": "false"}]}},{"node": {"displayName": "Text feature","featureOptions": []}}]}}}}
Field | Description |
id | The feature's unique identifier |
label | The feature's unique label |
displayName | The name of the feature. That's the value that is displaying in the features table |
featureOptions | These are the options of a feature. Not all features have options. For example, a text label feature has no options, but a checkbox will have two (true or false) |
Field | Description |
displayValue | The value displayed in the features table |
value | For now it is always the same as displayValue, but this may change in future versions |