I'm having trouble overriding this block for a customization on admin orders:
Mage_GoogleTrustedStore_Block_Adminhtml_OrderCreatedConfirmation
app\code\core\Mage\GoogleTrustedStore\Block\Adminhtml\OrderCreatedConfirmation.php
class Mage_GoogleTrustedStore_Block_Adminhtml_OrderCreatedConfirmation
extends Mage_GoogleTrustedStore_Block_OrderConfirmation_Onepage
{}
<global>
<blocks>
<kmd_googletrustedstore>
<class>Kmd_Googletrustedstore_Block</class>
</kmd_googletrustedstore>
<googletrustedstore>
<rewrite>
<orderConfirmation_Onepage>Kmd_Googletrustedstore_Block_Onepage</orderConfirmation_Onepage>
</rewrite>
<rewrite>
<adminhtml_OrderCreatedConfirmation>Kmd_Googletrustedstore_Block_Adminhtml_OrderCreatedConfirmation</adminhtml_OrderCreatedConfirmation>
</rewrite>
</googletrustedstore>
</blocks>
</global>
My custom file is located here:
app\code\local\Kmd\Googletrustedstore\Block\Adminhtml\OrderCreatedConfirmation.php
class Kmd_Googletrustedstore_Block_Adminhtml_OrderCreatedConfirmation
extends Kmd_Googletrustedstore_Block_Onepage
{
}
The orderConfirmation_Onepage
rewrite works fine for frontend orders, but I can't get the adminhtml block rewrite to work - any suggestions would be greatly appreciated!
Update - I checked for conflicting overrides, none found.