0

I have try to doing override minicart.php block but unfortunately not getting success of override.

you can see below code what i have implemented :

    <blocks>
        <test>
            <class>ABC_Test_Block</class>
        </test>
        <minicart_head>
            <rewrite>
                <minicart_heads>ABC_Test_Block_Cart_Minicart</minicart_heads>
            </rewrite>
        </minicart_head>
    </blocks> 

can you please guide for resolve the issue.

1 Answer 1

1

Finally i resolve the issue of override minicart block for custom module.

you can use below code :

    <blocks>
        <test>
            <class>ABC_Test_Block</class>
        </test>
        <checkout>
            <rewrite>
                <cart_minicart>ABC_Test_Block_Cart_Minicart</cart_minicart>
            </rewrite>
        </checkout>
    </blocks>

It's working absolutely fine. Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.