magento site : Get all items information in cartGet all items information in cart// $items = Mage::getModel(‘checkout/cart’)->getQuote()->getAllItems();$items = Mage::getSingleton(‘checkout/session’)->getQuote()->getAllItems(); foreach($items…
2013 July
<?php if(strlen($pname) > 28) {echo substr($pname,0,25);}else {echo $pname;}?>
There are numerous ways to setup multiple Magento stores that all share the same codebase and backend, but what method…
System > My Account :-If you would like to change your default password and user name, the security of your…
Make a class in css like .mainmenu li.active a{ color:#f68e1e; }<li> <a href=”<?php echo $this->getUrl(”) ?>”> Home </a> </li> <li> …
Open: appcodecoreMageCatalogBlockProductViewOptionsTypeSelect.php Alter the following lines: if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DROP_DOWN) {$select->setName(‘options[‘.$_option->getid().’]‘)->addOption(”, $this->__(‘– Please Select –’));} To: if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DROP_DOWN)…
Step 1: Declare your shell module and it’s code pool Create an xml file /app/etc/modules/Company_Web.xml (You can use any name,…
This is a pretty easy one, but it’s something that can come in very handy at times.Say you want to…
Here i paste code to remove the cache from the magento.. magento can provide a options to us to remove…
I was getting crazy trying to solve this. Finally I found the solution. After create the X Websites you need…