Open dtfdigital opened 1 year ago
Hi @dpdesignthatfits. 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.
@magento give me 2.4-develop instance
Hi @dpdesignthatfits. Thank you for your request. I'm working on Magento instance for you.
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 @dpdesignthatfits, here is your Magento Instance: https://f68cfe99b48eaa7068588a58c0553713.instances-prod.magento-community.engineering Admin access: https://f68cfe99b48eaa7068588a58c0553713.instances-prod.magento-community.engineering/admin_484e Login: 939ee968 Password: 8d47707719c0
@engcom-Bravo Tested and confirmed reproducible on the develop instance. Can you add label for us?
Area: Inventory Reproduced on 2.4.x Issue: Confirmed
Hi @dpdesignthatfits,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.
Steps to reproduce
Since the product is in out of stock for Local source the store pickup location should not be available but still it is displaying.
Hence Confirming the issue.
Thanks.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-9561 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.
I have created a patch to fix this issue
diff --git a/vendor/magento/module-inventory-in-store-pickup/Model/ResourceModel/GetPickupLocationIntersectionForSkus.php b/vendor/magento/module-inventory-in-store-pickup/Model/ResourceModel/GetPickupLocationIntersectionForSkus.php
index 3f5e11d..d561416 100644
--- a/vendor/magento/module-inventory-in-store-pickup/Model/ResourceModel/GetPickupLocationIntersectionForSkus.php
+++ b/vendor/magento/module-inventory-in-store-pickup/Model/ResourceModel/GetPickupLocationIntersectionForSkus.php
@@ -70,6 +70,7 @@ class GetPickupLocationIntersectionForSkus
$this->sourceResource->getMainTable() . '.' . SourceInterface::SOURCE_CODE
)
->where(SourceItemInterface::SKU . ' in (?) ', $skus)
+ ->where(SourceItemInterface::STATUS . ' = 1')
->where(SourceInterface::ENABLED . ' = 1')
->where(PickupLocationInterface::IS_PICKUP_LOCATION_ACTIVE . ' = 1')
->reset(Select::COLUMNS)
Any update on this, @devendra-nulogic fix works if you only have one pickup location
Preconditions and environment
Steps to reproduce
Expected result
As the product is out of stock for the Local stock source, the store pickup location for this should not appear (or show as unavailable).
Actual result
The store pickup location for the Local stock source shows as available.
Additional information
In order to resolve the issue the product needs to be removed from the Local stock source when out of stock which negates the point of having the out of stock status on these?
Release note
No response
Triage and priority