Allow to send 0 as price (#2620)

This commit is contained in:
Krzysztof Żuraw 2022-11-18 15:59:58 +01:00 committed by GitHub
parent e1b3d5b4f3
commit 056aab2560
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,7 @@ export function getShippingMethodChannelVariables(
channel.maxValue && orderValueRestricted ? channel.maxValue : null, channel.maxValue && orderValueRestricted ? channel.maxValue : null,
minimumOrderPrice: minimumOrderPrice:
channel.minValue && orderValueRestricted ? channel.minValue : null, channel.minValue && orderValueRestricted ? channel.minValue : null,
price: channel.price || null, price: channel.price,
})) || [], })) || [],
removeChannels, removeChannels,
}, },