Accounting for missing rates.
This commit is contained in:
parent
880f5dd750
commit
5320dd43d0
@ -102,8 +102,12 @@ class Ship
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Add row if it exists
|
||||
if ( ! empty($cheapest_row)) {
|
||||
$display_rates[$shipping_group][] = $cheapest_row;
|
||||
}
|
||||
}
|
||||
|
||||
return $display_rates;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user