Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joaquin-becerra opened this issue Jan 27, 2023 · 1 comment

Comments

@joaquin-becerra
Copy link

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

@m2-assistant
Copy link

m2-assistant bot commented Jan 27, 2023

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


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant