vue-storefront-api
vue-storefront-api copied to clipboard
Elastic Stock cannot find product stock for configurable children
Release: Vue Storefront API 1.11.0
Steps to reproduce:
- Go to configurable product page
Expected result:
- Stock is found for product
Actual result:
- Stock cannot be found and error message "No stock information for given sku" is shown
Cause:
- Elastic stock tries to find child product of configurable and filtering results with term visibility: [2, 3, 4]
- Child products are set with visibility 1
Fix:
- Remove visibility filter for stock fetching
Thanks! Can you please propose a PR with a fix for that?