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

[Cart Operations] Add virtual product to Cart #145

Closed
misha-kotov opened this issue Aug 3, 2018 · 1 comment
Closed

[Cart Operations] Add virtual product to Cart #145

misha-kotov opened this issue Aug 3, 2018 · 1 comment
Assignees
Labels
Contribution Day Tickets is good for start on Contribution Day small

Comments

@misha-kotov
Copy link

As a Magento developer, I need to manipulate the shopping cart via GraphQL so that I can build basic ecommerce experiences for shoppers on the front-end using only GraphQL.

GraphQL needs to provide sufficient mutations (ways to create/update/delete data) for a developer to build out the storefront checkout experience for a shopper.

Use cases:

  • Both guest and registered shoppers can add virtual products to cart

Acceptance criteria:

  • Cart operations should be useable in both standard Cart and mini-cart
  • GraphQL provides the following mutations:
    • addCartItems
  • All product types are supported in a modular way (e.g. configurable-related schema and resolvers must be declared in ConfigurableProductGraphQl module and the rest of the system should still work if this module is disabled)
  • Depending on token in Authorization header (if any), customer or guest service contract should be used
  • Changes are covered with web API functional tests. See \Magento\GraphQl\TestModule\GraphQlMutationTest::testMutation as an example.

Proposed schema

My Account area impacted:

  • Cart
  • Minicart
@paliarush paliarush added the Contribution Day Tickets is good for start on Contribution Day label Sep 7, 2018
@astyczen astyczen self-assigned this Oct 8, 2018
@naydav naydav added this to the Release: 2.3.1 milestone Dec 12, 2018
@naydav naydav changed the title [Mutations] Cart Operations > Add virtual product to Cart [Cart Operations] Add virtual product to Cart Dec 12, 2018
@rogyar rogyar self-assigned this Jan 21, 2019
@naydav
Copy link
Contributor

naydav commented Feb 14, 2019

#320

@naydav naydav closed this as completed Feb 14, 2019
naydav pushed a commit that referenced this issue Jun 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Contribution Day Tickets is good for start on Contribution Day small
Projects
None yet
Development

No branches or pull requests

5 participants