Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not tracking inventory correctly when same product in multiple bundles #207

Open
TheRealAnubis opened this issue May 13, 2021 · 0 comments

Comments

@TheRealAnubis
Copy link

Gem is failing to create multiple inventory units when there are multiple in the order. This will throw off all inventory when there is a product in multiple bundles and a user checks out with those bundles.

For Example:
Bundle 1 => { Prod A x 1, Prod B x 1 }
Bundle 2 => { Prod A x 1, Prod B x 1, Prod C x 1}

If I checkout with both bundles, the system only creates InventoryUnits and StockMovements as follows:
Prod A -> qty 1
Prod B -> qty 1
Prod C -> qty 1

It should be
Prod A -> qty 2
Prod B -> qty 2
Prod C -> qty 1

I first noticed this in the Shipment manifest as it was only rendering "qty 1" for the three distinct products instead of the correct amounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant