I want to override this class : 'Magento\Checkout\Block\Cart\Item\Renderer' This class has a child like : 'Magento\ConfigurableProduct\Block\Cart\Item\Renderer'
So i use <preference for="Magento\Checkout\Block\Cart\Item\Renderer" type="Custom\Checkout\Block\Cart\Item\Renderer" />
It's works only when i use the parent class ( Cart\Item\Renderer ). but when i instantiate the child i can't use my custom function. Is there something else to do ? I have to override all the child class ?