You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
I would recommend postponing testing virtual products until the mutation is fixed. Currently, adding virtual products to cart does not work. Current routine does not take into account variant_sku and adds only simple products to the shopping cart.
It's also related to #349
In a few words, we need to achieve the following scenario:
Specify configurable product(s) for adding to cart
Specify super attributes (configurable options) for the configurable product
Add the configurable product to the shopping cart
Check the database, quote_item table contains a configurable product and a simple product that corresponds the selected super attributes. The simple products have configurable cart item ID in the parent_item_id field.
I have ideas about the fix but need to discuss with @naydav.
testAddOutOfStockProduct()
not covered all possible scenarios
Preconditions (*)
Steps to reproduce (*)
Name Configurable Product
SKU: configurable-product
Weight: 1
Price: 1
Variations:
Expected result (*)
When we try to add the product to the cart

When we try to proceed to checkout

Actual result (*)
The text was updated successfully, but these errors were encountered: