-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cart shipping method not being changed when changing shipping address #140
Comments
Also, we started support with Craft, but confirmed it's a Postie issue. @peteeveleigh disabled Postie, then set up a single shipping method with 3 different rules for US, Canada, International. When he changed the shipping address on the front-end, the shipping rate also changed (because the selected shipping method changed by default). |
Also just confirmed what happens in the CP when using Postie. So what could be different about doing it on the front end via the update-cart controller? |
Do you have If the previously-selected shipping method still exists for the new address, but a different price, then nothing will change (apart from the shipping cost, already applied to the order of course), but if the shipping method (the specific service for the provider) is no longer available, the shipping method with in invalidated. |
@engram-design No, |
Describe the bug
A customer sets a shipping address, then proceeds to choose a shipping method. Both are set on the cart.
They then backtrack through the checkout and change their shipping address. The new address results in the original selected shipping method being invalid but it is not removed from the cart.
The standard Commerce behaviour would be to remove the selected invalid shipping method from the cart and instead apply the first valid one available for the new shipping address.
Steps to reproduce
Craft CMS version
4.10.4
Plugin version
3.1.8
Multi-site?
No
Additional context
No response
The text was updated successfully, but these errors were encountered: