The param to getWebsite is the websiteId which is default 1:Mage::app()->getWebsite(1)->getDefaultStore()->getRootCategoryId()
Very Good Post. It is very helpful me.Thanks :)
The param to getWebsite is the websiteId which is default 1:
ReplyDeleteMage::app()->getWebsite(1)->getDefaultStore()->getRootCategoryId()
Very Good Post. It is very helpful me.
ReplyDeleteThanks :)