Currently browsing

Magento: Get store information

Below is the code to get Magento store id, store code, store name, etc. Get store data Mage::app()->getStore(); Store Id Mage::app()->getStore()->getStoreId(); Store code Mage::app()->getStore()->getCode(); Website Id Mage::app()->getStore()->getWebsiteId(); Store Name Mage::app()->getStore()->getName(); Is Active Mage::app()->getStore()->getIsActive(); Store Home Url Mage::app()->getStore()->getHomeUrl(); Looking for improvement for your Magento Store? Facebook Connector Extension Product related article …

Magento: Redirect functions

The redirect functions are present inMage_Core_Controller_Varien_Action class. /* Redirect to certain url  */ _redirectUrl($url) /* Redirect to certain path */ _redirect($path, $arguments=array()) /* Redirect to success page */ _redirectSuccess($defaultUrl) /* Redirect to error page */ _redirectError($defaultUrl) /* Set referer url for redirect in response */ _redirectReferer($defaultUrl=null) /*  Identify referer url …

Configuration error on new Magento installation

Scenario: I am installing a fresh magento 1.3.2.1 in my Windows XP computer. I have Xampp installed. While installing magento, I had a problem at the configuration step where I had to fill database host, username, password etc. When I click continue after filling the required fields, the installation process …

Magento Manage Multiple Slideshow from admin

Download Magento Multiple Slideshow Pro Extension here. #1 Installation: Extract Magento Extension. Using your FTP client upload ‘app’ viagra 100mg directory to your Magento store root. This would not overwrite any files, just add the extension to its folder. That’s all. #2 Implement Extension To place slideshow in a CMS page: …