Log in
Model

TierPrice

Magento\Catalog\Model\Product\TierPrice

What it does

This class represents a product tier price model in Magento 2, which allows merchants to offer volume-based discounts.

Developers use this class when working with product pricing rules that apply different prices based on quantity purchased and customer groups.

It's commonly used when setting up or retrieving bulk pricing configurations for products.

Public Methods

  • getQty()
  • getValue()
  • setQty()
  • setValue()
  • getCustomerGroupId()
  • setCustomerGroupId()
  • getExtensionAttributes()
  • setExtensionAttributes()