-
Notifications
You must be signed in to change notification settings - Fork 1.7k
magento/devdocs#: Docs: Create topic for addDownloadableProductsToCart mutation #5672
magento/devdocs#: Docs: Create topic for addDownloadableProductsToCart mutation #5672
Conversation
An admin must run tests on this PR before it can be merged. |
|
||
### DownloadableProductCartItemInput object {#DownloadableProductCartItemInput} | ||
|
||
The `DownloadableProductCartItemInput` object must contain the following attributes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We say that the object must contain the following attributes, however, downloadable_product_links
and customizable_options
are optional attributes. So "must" is not the 100% correct assumption here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really a good point.
fixed
8f5c81e
to
d479ee8
Compare
@rogyar , all your suggestions have been implemented. Could you please review? Many thanks as always |
d479ee8
to
7d241c0
Compare
@lenaorobei , could you please review? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few grammatical changes and minor edits
7d241c0
to
45df331
Compare
@keharper , all your suggestions have been implemented. Could you please review? Thanks! |
|
||
Attribute | Data Type | Description | ||
--- | --- | --- | ||
`data` | [CartItemInput!](#CartItemInputVirtual) | An object containing the `sku` and `quantity` of the product |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`data` | [CartItemInput!](#CartItemInputVirtual) | An object containing the `sku` and `quantity` of the product | |
`data` | [CartItemInput!](#CartItemInputVirtual) | Required. An object containing the `sku` and `quantity` of the product |
45df331
to
6daadd7
Compare
done :) Could you please review again? Thanks |
running tests |
@atwixfirster The linting checks are failing. Please remove the extra spaces at the end of line 48. Also, remove the comma after line 39. |
71fdf8c
to
0ea0e0d
Compare
0ea0e0d
to
0403535
Compare
done |
running tests |
Hi @atwixfirster, thank you for your contribution! |
Another new topic from @atwixfirster. Thanks! |
With my pleasure, @keharper ! Thank you! |
Purpose of this pull request
This pull request (PR) fixes magento/graphql-ce#1003 issue.
Affected DevDocs pages
Links to Magento source code
CC: @keharper
Thank you!
whatsnew
Added the addDownloadableProductsToCart mutation.