Log in
Model

PriceModifier

Magento\Catalog\Model\Product\PriceModifier

What it does

This class handles the removal of tier prices from products in Magento 2.

Developers use it when they need to programmatically delete specific tier pricing rules based on customer group, quantity threshold, and website scope.

It validates the tier price exists before removal and saves the updated product through the repository.

Public Methods

  • removeTierPrice()