//General Contact echo $name = Mage::getStoreConfig(‘trans_email/ident_general/name’); //sender name echo $email = Mage::getStoreConfig(‘trans_email/ident_general/email’); //sender email //Sales Representative echo $name = Mage::getStoreConfig(‘trans_email/ident_sales/name’); //sender name echo $email = Mage::getStoreConfig(‘trans_email/ident_sales/email’); //sender email //Customer Support echo $name = Mage::getStoreConfig(‘trans_email/ident_support/name’); //sender…
2013 August
Here, I will show you how to track visitor’s data information in Magento. By visitor’s information, I mean information like…
By default the magento admin path is ‘http://Yourwemsite/admin’. You change this name (admin) with any name while installing. To get…
<?phpclass Namespace_Module_DisplayController extends Mage_Core_Controller_Front_Action{public function popupAction(){$block = $this->getLayout()->createBlock(‘core/template’)->setTemplate(‘zipcode/popup.phtml’);$this->getResponse()->setBody($block->toHtml());}}
Create test account and useGo do Magento Dashboard: Go to System -> Configuration Select Sales -> Payment Method (in the…
Delete the locks files from var/locks or Delete var folder and create it again and give 777 premission then tried…
//To get the subtotal in shipping method (onepage checkout) $subtotal = Mage::getSingleton(‘checkout/session’)->getQuote()->getSubtotal() If cart total is less than 500 flat…
$layer = Mage::getSingleton(‘catalog/layer’);$_category = $layer->getCurrentCategory();$currentCategoryId= $_category->getId();
$customer = Mage::getSingleton(‘customer/session’)->getCustomer(); $email = $customer->getEmail(); // To get Email Address of a customer.$firstname = $customer->getFirstname(); // To get Firstname…