function startPrice(variants) {
  return variants.reduce((min, variant) => {
    return Math.min(min, variant.price);
  }, Infinity);
}
Calculates the starting price of a product's variants.
@param {Variant[]} variants - The variants of the product.
@returns {number} The starting price.