Stock status of grouped or bundle product on custom website not considering if child products assigned to this website as well
- Dominant language
- PHP
- Stars
- 357
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
### Preconditions (*)
1. Create custom website with store and storeview
2. Create custom stock with custom source and custom website as sales channel
3. Create one simple product with qty = 5 on custom source and assign it to custom website
4. Create second simple product with qty = 20 on custom source but not assigned to custom website
5. Create bundle or grouped product with both simple products as child with default qty for both = 10, and assign it to custom website
### Steps to reproduce (*)
1. Got to bundle or grouped product page on the frontend and check stock status and try to add it to shopping cart
### Expected result (*)
1. Stock status should be 'Out of stock'
### Actual result (*)
1. Grouped or bundle product is 'In stock', but you can't add it to the shopping cart
Contributor guide
Assessment
This issue has not been assessed yet.