shippinh rates
This commit is contained in:
parent
57a751536d
commit
ccf11a4b64
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ const shippingService = {
|
|||
// Filter by allowed carriers
|
||||
let filteredRates = rates.filter(rate =>
|
||||
config.shipping.carriersAllowed.some(carrier =>
|
||||
rate.carrier.toUpperCase().includes(carrier.toUpperCase())
|
||||
rate.carrier.toUpperCase().replaceAll(' ', '').includes(carrier.toUpperCase().replaceAll(' ', ''))
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue