This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Description
Preconditions (*)
- Any supported product with more then 1 required customizable options
Steps to reproduce (*)
- Add product to cart without providing options
Expected result (*)
-
Screenshot:

-
GraphQL:
{
"errors": [
{
"message": "The product's required option(s) weren't entered.
Make sure the options are entered and try again.",
"category": "graphql-input",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"addSimpleProductsToCart"
]
}
],
"data": {
"addSimpleProductsToCart": null
}
}
Actual result (*)
- GraphQL:
{
"errors": [
{
"message": "The product's required option(s) weren't entered.
Make sure the options are entered and try again.\n
The product's required option(s) weren't entered.
Make sure the options are entered and try again.",
"category": "graphql-input",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"addSimpleProductsToCart"
]
}
],
"data": {
"addSimpleProductsToCart": null
}
}
If it is the feature then it's worth to document the benefits of such behaviour with usage example. Guidelines or devdocs are good places for this.