How to Get Product Tier Price by Customer group id Magento 2?

Tier Price offers the shoppers to shop a large amount of quantity of the specific item at a discountable rate.

Magento 2 allows tier prices based on the customer group. Customer Group may be All, Guest, Wholesaler, login, Retailer or any custom-defined. Tier Price is the way to give a different price structure for different customer groups.

Retrieve tier price of the product by customer group id in Magento 2 achieved by Magento\Catalog\Api\ScopedProductTierPriceManagementInterface.

You can define SKU and Customer group id to retrieve the list of tier prices of the specific customer groups.

You can see the Customer Group from the Admin Panel, Customers -> Customer Groups. Check the Customer group id from the grid.

echo $tierPriceData = $this->getTierPrice();
Output:

Leave a Reply