Log in
Interface

ProductPriceOptionsInterface

Magento\Catalog\Model\Config\Source\ProductPriceOptionsInterface

What it does

This interface defines constants for product price option types in Magento 2, specifically 'fixed' and 'percent' values.

Developers use this interface when implementing price adjustments or discounts that can be either a fixed amount or a percentage, such as in custom options, tier pricing, or promotional rules.

It extends OptionSourceInterface to provide standardized price type options throughout the catalog module.