Price range for a Magento 2 product. The minimum and maximum bounds bracket the variant prices for products with multiple variants (Configurable, Grouped). For products with a single price both bounds are identical.
const range: Magento2PriceRange = { minimum_price: { regular_price: { value: 9.9, currency: "USD" }, final_price: { value: 9.9, currency: "USD" } }, maximum_price: { regular_price: { value: 229.9, currency: "USD" }, final_price: { value: 229.9, currency: "USD" } }}; Copy
const range: Magento2PriceRange = { minimum_price: { regular_price: { value: 9.9, currency: "USD" }, final_price: { value: 9.9, currency: "USD" } }, maximum_price: { regular_price: { value: 229.9, currency: "USD" }, final_price: { value: 229.9, currency: "USD" } }};
Lowest price across product variants
Highest price across product variants
Price range for a Magento 2 product. The minimum and maximum bounds bracket the variant prices for products with multiple variants (Configurable, Grouped). For products with a single price both bounds are identical.
Example