Allow nil value for shipping cost

Fix the validation error when the shipping cost is nil