Open WillC0des opened 6 months ago
This should already be caught in the check that is in: Model/ResourceModel/Carrier/Matrixrate.php around line 301
The check is: if ($condition == null || $condition == "") { $condition = 0; } Are you running the latest version of the extension?
Fix for bug where the getFreeMethodWeight() function is dependent on a value other than null is being returned to build the shipping rate array.
Use Case:
On Magento stores, applying a coupon that has a fixed discount for both the subtotal and shipping cost will throw an error for shipping total when the ratesArray is empty. This is inevitable when getFreeMethodWeight() returns null.