public function saveExcellenceAction(){ if ($this->_expireAjax()) { return; } if ($this->getRequest()->isPost()) { $data = $this->getRequest()->getPost('excellence', array()); // my custom code start $custom_price = $data['like']; $quote = Mage::getSingleton('checkout/session')->getQuote();...
Sunday, August 30, 2015
Tuesday, August 4, 2015
Custom tab add in magento admin system configuration
Custom tab in magento admin system configuration :How to create custom tab or menu from magento admin system configuration section. Easiest way to create, just need to follow below stepsWe just want to create below two files, in your required place. Here my module is called ModuleName.app\code\local\NameSpace\ModuleName\etc\system.xmlapp\code\local\NameSpace\ModuleName\etc\adminhtml.xmlsystem.xml:<?xml...
Create Custom Contact us form in Magento
Step 1:app/design/frontend/default/default/template/admincontact/simple_contact.phtml <form action="<?php echo Mage::getBaseUrl().'admincontact/index/save' ?>" id="contactForm" method="post" name="contact_form"> ...