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

[Checkout] Add grouped product to Cart #144

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

[Checkout] Add grouped product to Cart #144

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

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 grouped product 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
@eugene-shab eugene-shab self-assigned this Oct 26, 2018
magento-engcom-team added a commit that referenced this issue Dec 6, 2018
 - Merge Pull Request magento-engcom/import-export-improvements#144 from maxalmonte14/import-export-improvements:improvement/supress_undefined_customerCollection_property_error
 - Merged commits:
   1. 5181674
   2. b272c4e
   3. e973095
   4. 2d45eb3
   5. bb946c4
@naydav naydav added this to the Release: 2.3.1 milestone Dec 12, 2018
@naydav naydav changed the title [Mutations] Cart Operations > Add grouped product to Cart [Cart Operations] Add grouped product to Cart Dec 12, 2018
@ldusan84 ldusan84 self-assigned this Jan 26, 2019
@naydav naydav modified the milestones: Release: 2.3.2, Release: 2.3.3 Apr 5, 2019
@naydav naydav changed the title [Cart Operations] Add grouped product to Cart [Checkout flow] Add grouped product to Cart May 2, 2019
@naydav naydav changed the title [Checkout flow] Add grouped product to Cart [Checkout] Add grouped product to Cart May 2, 2019
@naydav naydav added this to Ready For Grooming in Backlog via automation May 3, 2019
@naydav naydav moved this from Ready For Grooming to Pull Request In Progress in Backlog May 3, 2019
@magento-engcom-team magento-engcom-team added this to Ready for Grooming in Backlog Jun 10, 2019
@m2-community-project m2-community-project bot moved this from Ready for Grooming to Pull Request In Progress in Backlog Jun 10, 2019
@naydav naydav modified the milestones: Release: 2.3.3, Release: 2.3.4 Aug 1, 2019
@m2-community-project m2-community-project bot moved this from Pull Request In Progress to Ready for Grooming in Backlog Dec 10, 2019
@lenaorobei
Copy link
Contributor

As per additional investigation and conversation with PO it was decided that adding grouped product to cart scenarios can be covered using addSimpleProductsToCart mutation mutation.

DevDocs will be updated in order to reflect this data.

@m2-community-project m2-community-project bot moved this from Ready for Grooming to Done in Backlog Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Checkout Contribution Day Tickets is good for start on Contribution Day
Projects
Backlog
  
Done
Development

No branches or pull requests

6 participants