You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a fairly simple use case. One cart price rule which offers free shipping for the cart if it's above 60 EUR and the discount was not applying.
I then checked the code for the simple flat rate method shipped with magento and noticed that one is actually taking this into consideration separately
Is there an existing issue for this?
What's missing?
In the guide for
Add a custom shipping carrier
https://developer.adobe.com/commerce/php/tutorials/frontend/custom-checkout/add-shipping-carrier/ it seems the example is missing critical functionalityThe new carrier is added properly but it won't obey free shipping rules from cart rules because the collectTotals method is not accounting for that.
A fully working example should be given for a simple method to actually help developers build proper shipping methods.
If you could clarify this point it would help a lot.
The text was updated successfully, but these errors were encountered: