daffodil icon indicating copy to clipboard operation
daffodil copied to clipboard

[BUG] `DaffCompositeProductFacade#getRequiredItemPricesForConfiguration` doesn't use option quantity

Open griest024 opened this issue 2 years ago • 5 comments

:bug: Bug report

Current Behavior

When a composite product item option has a quantity set but no configuration is passed, the prices are not computed with the quantity.

Expected Behavior

The prices are returned according to the minimum saleable quantity

griest024 avatar Apr 24 '23 21:04 griest024

Can I work on this issue?

shadow0500 avatar Jun 09 '23 05:06 shadow0500

@damienwebdev sir I tried really hard and spent 2 hours on this issue but still not able to find out the solution but I will try my best to get it solve soon.

shadow0500 avatar Jun 09 '23 18:06 shadow0500

I will write a test case to repro the issue

griest024 avatar Jun 09 '23 19:06 griest024

@shadow0500 https://github.com/graycoreio/daffodil/tree/fix/product-composite/state/required-item-prices-config-quantity

-- https://github.com/graycoreio/daffodil/commit/15ac058536bd0e7dcd7513d8763fe54e00f82eac

griest024 avatar Jun 09 '23 19:06 griest024

@Thank you

shadow0500 avatar Jun 10 '23 15:06 shadow0500