I need to rewrite some classes per website level in Magento 1.x. Is it possible?
Basically looking some way as If website is "A" then rewrite this class & its method. But if website is "B" then don't do anything.
As for layout control per website we can do this & if we disable mymodule from backend per website my layout will not be visible.
<layout> <updates> <mymodule module="Akhil_Mymodule"> <file>mymodule.xml</file> </mymodule> </updates> </layout>
Like same way can we do something for rewrite also?