I am simply trying to rewrite a community extension block, with another, created in the same location.
I want to extend block:
Belvg_Stores_Block_Front
using:
Belvg_Stores_Block_StoreLocator
Class header code:
class Belvg_Stores_Block_StoreLocator extends Belvg_Stores_Block_Front
Config.xml code(i added the rewrite section):
<blocks>
<stores>
<class>Belvg_Stores_Block</class>
</stores>
<rewrite>
<stores_front>
Belvg_Stores_Block_StoreLocator
</stores_front>
</rewrite>
</blocks>
Many thanks.
you’re close. try this;