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

When trying to add Configurable product to Cart the message "Product \"configurable\" type is not supported" received #348

Closed
TomashKhamlai opened this issue Feb 6, 2019 · 1 comment
Labels
bug Something isn't working Component: QuoteGraphQl Contribution Day Tickets is good for start on Contribution Day

Comments

@TomashKhamlai
Copy link
Contributor

TomashKhamlai commented Feb 6, 2019

Preconditions (*)

  1. Add configurable product to Cart #224 is merged or [Cart Operations] Add configurable product to Cart #142 is fixed (if not need to work create a new branch based on 142_Add_configurable_product_to_Cart, not 2.3-develop)

Steps to reproduce (*)

  1. Create Configurable Product with
    Name & SKU: conf
    Weight: 1
    Price: 1
    Variations:
  • sku: conf-white, qty: 12, price: 10
  • sku: conf-black, qty: 12, price: 10
  1. Perform GraphQL query:
mutation {
  addConfigurableProductsToCart(
    input: {
      cart_id: "gbK3g1pcEiyd39h2clKomLU6qsyFLAVT"
      cartItems: [
        {
          variant_sku: "conf-black"
          data: {
            qty: 1
            sku: "conf-black"
          }
        }
        {
          variant_sku: "conf-white"
          data: {
            qty: 1
            sku: "conf-white"
          }
        }
      ]
    }
  ) {
    cart {
      items {
        id
        qty
        product {
          name
          sku
        }
        ... on ConfigurableCartItem {
          configurable_options {
            option_label
          }
        }
    }
  }
  }
}

Expected result (*)

  1. "Product "configurable" type is not supported"

Actual result (*)

stacktrace.json.txt

@naydav naydav added the Contribution Day Tickets is good for start on Contribution Day label Feb 8, 2019
@XxXgeoXxX XxXgeoXxX self-assigned this Feb 21, 2019
@XxXgeoXxX
Copy link
Member

this issue related to #380.
And fix from #383 will help to solve this problem.

@XxXgeoXxX XxXgeoXxX removed their assignment Mar 15, 2019
@TomashKhamlai TomashKhamlai added bug Something isn't working Component: QuoteGraphQl labels Mar 20, 2019
magento-engcom-team pushed a commit that referenced this issue Nov 4, 2019
Added test case Id and a formatting change.
magento-engcom-team pushed a commit that referenced this issue Nov 4, 2019
Fixing B2B failure in AdvanceCatalogSearchDownloadableByNameTest due to left over data from AdminAddingNewOptionsWithImagesAndPricesToConfigurableProductTest
magento-engcom-team pushed a commit that referenced this issue Nov 4, 2019
Adding reindexing and caching to fix B2B failures due to products not appearing on storefront
magento-engcom-team pushed a commit that referenced this issue Nov 4, 2019
Fixed StoreFrontMyAccountWithMultishipmentTest to pick specific order id from the grid.
magento-engcom-team pushed a commit that referenced this issue Nov 4, 2019
Added cache flush and reindex for SearchEntityResults
magento-engcom-team pushed a commit that referenced this issue Nov 4, 2019
Fixed StorefrontAddToCartFromQuickSearch to hover over by product name instead of index. Added data clean up step.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Component: QuoteGraphQl Contribution Day Tickets is good for start on Contribution Day
Projects
None yet
Development

No branches or pull requests

3 participants