[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

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
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the 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:

  1. Enable In-Store Delivery by navigating to Stores > Settings > Configuration > Sales > Delivery Methods > In-Store Delivery.

  2. Provide a valid Google API Key for Google Distance Provider. To do so, navigate to Stores > Configuration > Catalog > Inventory > Google Distance Provider.

  3. 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
  4. Add a new stock (Stores > Inventory > Stock > Add New Stock), assign the new source and the main website to it.

  5. Edit any product, assign the product to the new Source, In Stock and qty > 0.

  6. Wait until the reindex is complete.

  7. On the storefront, create a new customer, and then add a California address as default billing and shipping.

  8. Add another non-default Illinois address to this customer.

  9. Add the product to the cart and proceed to checkout.

  10. 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:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3