inventory icon indicating copy to clipboard operation
inventory copied to clipboard

Error "Sorry, no quotes are available for this order." when an order with "in store pickup" method is edited from the admin

Open joaquin-becerra opened this issue 2 years ago • 1 comments

Preconditions (*)

  1. Magento 2.4.3-p3

Steps to reproduce (*)

  1. Enable In Store pickup and add all required details to make this work
  2. Create an order from the admin area using the In Store shipping method, and, for example the check money order payment method
  3. In the admin area, go to Sales > Order. Open the order view and click 'edit' button. Click 'ok' button on the popup message
  4. Update any of the quantities of any item and click on "Update Items and Quantities"
  5. Below, click on the link "Get shipping methods and rates"

Expected result (*)

  1. The rates of the available shipping methods are shown, at least it allows you to select the pickup in store method

Actual result (*)

  1. the message "Sorry, no quotes are available for this order." is displayed.

More information

The problem is that the plugin

https://github.com/magento/inventory/blob/develop/InventoryInStorePickupSalesAdminUi/Plugin/Sales/Block/Adminhtml/Order/Create/Shipping/Address/AdaptFormPlugin.php#L47

Remove important fields for shipping estimation from the shipping address form (country_id, zipcode, etc). These fields are used in the link action "Get shipping methods and rates"

Maybe you should leave the fields as hidden and not remove them

joaquin-becerra avatar Jan 27 '23 19:01 joaquin-becerra

Hi @joaquin-becerra. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Jan 27 '23 19:01 m2-assistant[bot]