Skip to content

Is it possible to programmatically disable customer group pricing?

I have some code that programmatically creates an order by building a quote object and then calling:

$this->cartManagementInterface->placeOrder($quote->getId());

For these specific orders I’m looking for a way to disable customer group pricing and just use the regular product pricing.

Does anyone know of a way to do this or where I could potentially hook in with a plugin to prevent customer group pricing from being applied?