確定是否啟用了商店檢視

Mage::app()->getStore()->getIsActive();