-
Notifications
You must be signed in to change notification settings - Fork 171
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
[4.8.1]: Action update cart doesn't update shipping/tax #3888
Comments
Excellent spot. Spent the last hour or so trying to track this down myself based on when we updated the site. Client e-mailed wondering why a couple of orders weren't including shipping charges. |
Same happened to us, our client contacted us with an order that didn't include the right tax and shipping in production. Downgrading didn't fix the issue immediatly, I also needed to update the column relcalculate in the table commerce_orders manually. |
I was able to revert the CartController.php back to what it was before and that seems to have solved it as a temporary workaround. I'm honestly surprised this got past Pixel and Tonic's usually decent QA. |
Apologies, we have release 4.8.1.1 and 5.3.2.1 which fixes this regression. We will look into a better solution after the weekend. |
We just released 5.3.2.2 and 4.8.1.2 This patch ensures that any affected carts have the correct recalculation mode set. |
What happened?
After upgrading from
4.7.2
to4.8.1
, the cart doesn't update the tax/shipping after the first time. From what I can see in theCartController
, therecalculationMode
is set tonone
before the order is saved, so the second time you update the cart, it doesn't recalculate.CartController.php:
From what I can see in the code, the problem is probably also present in Craft Commerce
5.3.2
because of the commit Move recalculation inside of cart controllerCraft CMS version
4.14.4
Craft Commerce version
4.8.1
The text was updated successfully, but these errors were encountered: