ACSD-64753: Pre-selected store in “Pickup in Store” does not update when shipping address changes
The ACSD-64753 patch fixes the issue where the pre-selected store did not update when a new shipping address was entered outside the selected store’s service radius. This patch is available when the Quality Patches Tool (QPT) 1.1.63 is installed. The patch ID is ACSD-64753. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p3
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p4
magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
The pre-selected store did not update when a new shipping address was entered outside the selected store’s service radius.
Steps to reproduce:
-
Enable In-Store Delivery by navigating to Stores > Settings > Configuration > Sales > Delivery Methods > In-Store Delivery.
-
Provide a valid Google API Key for Google Distance Provider. To do so, navigate to Stores > Configuration > Catalog > Inventory > Google Distance Provider.
-
Add a new source (Stores > Sources > Add New Source), and set the following values:
- Latitude: -41.917344
- Longitude: -88.102569
- Use as Pickup Location: Yes
- Country United: States
- State: Illinois
- City: Carol Stream
- Postcode: 60188
-
Add a new stock (Stores > Inventory > Stock > Add New Stock), assign the new source and the main website to it.
-
Edit any product, assign the product to the new Source, In Stock and qty > 0.
-
Wait until the reindex is complete.
-
On the storefront, create a new customer, and then add a California address as default billing and shipping.
-
Add another non-default Illinois address to this customer.
-
Add the product to the cart and proceed to checkout.
-
Leave the California shipping address selected and choose Pick in Store shipping method. Click Next.
Expected results:
Since the California address is outside of the maximum search radius (200km), the Illinois Source should not be available to the customer.
Actual results:
The Illinois source can be picked and the customer can proceed to checkout.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.