magento / magento/inventory

Stock status of grouped or bundle product on custom website not considering if child products assigned to this website as well

Open
#2,985 0 comments 0 reactions 1 assignee Claimed by @nmalevanec View on GitHub
Progress: PR created
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.