Error: Cart rules no longer applying Free Shipping

Modified on Thu, 14 Sep, 2023 at 4:30 PM

Starting in Magento 2.4.5 a change was implemented in the Magento core code that can effect stores with certain extensions installed, such as third party shipping solutions, that prevent the working functionality of the Free Shipping logic in cart rules.


If your store encounters this problem the solution will be to create a custom plugin for the function noted in the link above, reverting the line change in the collect function to remove the (int) casting.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article