Open ioweb-gr opened 11 months ago
Hi @ioweb-gr. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hi @ioweb-gr,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.
Steps to reproduce
Do not add any other sources, just the default source and default stock
Create a configurable product
Add some variations to it
Add quantity to the variations e.g.
Variation 1 -> 2
Variation 2 -> 3
In inventory_stock_1 tables it is showing quantity as per the child variations.
As per the devdocs https://experienceleague.adobe.com/docs/commerce-admin/catalog/products/types/product-create-configurable.html?lang=en
Configurable product stock status depends on child variations and it is working as expected.
Thanks.
Hi I think you missed the point. On the screenshot you shared of the table rows you can see that the product with sku "configure" shows quantity as 0
If you repeat the same steps for a second stock you will notice that on table inventory_stock_2 it will not say 0
The problem is the different behavior of the default stock index table and for other stock index tables
The behavior is not consistent
This one should say 5
.
If you do the same for a second stock
you'll notice it will say 5 @engcom-Bravo
Hi @ioweb-gr,
Thanks for your update.
Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.
Steps to reproduce
Do not add any other sources, just the default source and default stock
Create a configurable product
Add some variations to it
Add quantity to the variations e.g.
Variation 1 -> 2
Variation 2 -> 3
inventory_stock_1 tables shows 0 qty for the configurable product's SKU
inventory_stock_2 tables shows 5 qty for the configurable product's SKU
Hence Confirming the issue.
Thanks.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-10524 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
@engcom-Bravo Thank you for confirming this issue because it's very important for consistency in product feeds.
Preconditions and environment
Steps to reproduce
Do not add any other sources, just the default source and default stock Create a configurable product Add some variations to it Add quantity to the variations e.g.
Expected result
inventory_stock_1 tables shows 5 qty for the configurable product's SKU
Actual result
inventory_stock_1 tables shows 0 qty for the configurable product's SKU
This doesn't happen when using MSI though, so tables inventorystock(Greather than 1) will show the correct quantity for configurables.
Additional information
I think this is important for consistency and some marketplaces actually require this quantity total to process XML feeds.
Release note
No response
Triage and priority