generated from AdobeDocs/dev-site-documentation-template
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from loginesta/LYNX-104
Beta2: Different tasks from Custom product EAV in GraphQL epic (LYNX-52)
- Loading branch information
Showing
14 changed files
with
828 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
### AttributeValueInterface attributes | ||
|
||
import BetaNote from '/src/pages/_includes/graphql/notes/beta.md' | ||
|
||
<BetaNote /> | ||
|
||
The `AttributeValueInterface` contains the following attributes: | ||
|
||
Attribute | Data Type | Description | ||
--- | --- | --- | ||
`code` | ID! | The attribute code | ||
`is_comparable` | Boolean | Whether a product or category attribute can be compared against another or not | ||
`is_filterable` | Boolean | Whether a product or category attribute can be filtered or not | ||
`is_filterable_in_search` | Boolean | Whether a product or category attribute can be filtered in search or not | ||
`is_html_allowed_on_front` | Boolean | Whether a product or category attribute can use HTML on front or not | ||
`is_searchable` | Boolean | Whether a product or category attribute can be searched or not | ||
`is_used_for_price_rules` | Boolean | Whether a product or category attribute can be used for price rules or not | ||
`is_used_for_promo_rules` | Boolean | Whether a product or category attribute is used for promo rules or not | ||
`is_visible_in_advanced_search` | Boolean | Whether a product or category attribute is visible in advanced search or not | ||
`is_visible_on_front` | Boolean | Whether a product or category attribute is visible on front or not | ||
`is_wysiwyg_enabled` | Boolean | Whether a product or category attribute has WYSIWYG enabled or not | ||
`used_in_product_listing` | Boolean | Whether a product or category attribute is used in product listing or not | ||
|
||
Currently, `AttributeValueInterface` has two different implementations: `AttributeValue` and `AttributeSelectedOptions`. | ||
|
||
In addition to the attributes described for `AttributeValueInterface`, the `AttributeValue` contains the following: | ||
|
||
Attribute | Data Type | Description | ||
--- | --- | --- | ||
`value` | String! | The attribute value | ||
|
||
The `AttributeSelectedOptions` object contains the following attributes: | ||
|
||
Attribute | Data Type | Description | ||
--- | --- | --- | ||
`selected_options` | [AttributeSelectedOptionInterface!]! | An array containing selected options for a select or multiselect attribute | ||
|
||
The `AttributeSelectedOptionInterface` contains the following attributes: | ||
|
||
Attribute | Data Type | Description | ||
--- | --- | --- | ||
`label` | String! | The attribute selected option label | ||
`value` | String! | The attribute selected option value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.