-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Catalog Inventory using 0 as website ID #7090
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
Comments
Thank you for the report. Internal ticket MAGETWO-60146 |
Hi @lhsatch Looks like you use method passing $websiteId = 1 (your current website) and get an empty result, because ResurceModel Stock Status uses it as a filter for cataloginventory_stock_status table. Correct way to achieve desirable behavior is to use API interface For now Magento supports single stock without linkage to websites |
Sales Rule opitimization
Preconditions
Steps to reproduce
Expected result
Actual result
If I look into the catalog_product_website table the website id used is 1.
Should the website_id be set to 1 for the first website in the cataloginventory_stock_status?
The text was updated successfully, but these errors were encountered: