• Get your Drop-down and Multi Select Attributes on Magento
    Are you having any Drop-down or Multi-select attribute and you want to show those values on your Magento frontend ? So, here is how to do it. [php]$attribute = Mage::getModel('eav/config')->getAttribute('catalog_product', 'attribute_code_here'); $array = array(); foreach ($attribute->getSource()->getAllOptions(true, true) as $option){ if($option['label'] != ""){ // make sure we don't store the empty ones $array[$option['value']] = $option['label']; } } var_dump($array);[/php]...
    Read More Posted by | 0 Comments
    Posted on: May 12th, 2012
  • FIX : Magento Contact Form Email showing HTML
    We recently had a problem with Magento contact forms, where the emails were showing all the junk HTML codes in the email program. So, in order to fix it, we simply went to the Magento language folder , en_US and placed the template/contactemail.html file from base language package. Thats all....
    Read More Posted by | 0 Comments
    Posted on: April 26th, 2012
  • FIX: Transactional Email Preview showing HTML code
    We’ve noticed that with the Magento 1.6.x version, when we tried to preview the transactional emails it displayed html code only. Of course this is not right as you would want to see how the emails look like, so after some researching we came up with this fix. Goto app/code/local/Mage/Adminhtml/Block/System/Email/Template/Preview.php At Line 49 , you will see this : [php] $template->setTemplateText( $this->escapeHtml($template->getTemplateText()) ); [/php] Make it : [php]//$template->setTemplateText( //$this->escapeHtml($template->getTemplateText()) //);[/php]...
    Read More Posted by | 0 Comments
    Posted on: April 26th, 2012
  • [Magento Fix] 503 Service Temporarily Unavailable
    If you recently tried to install an extension of tried to upgrade your Magento website , then you may face an error message, "503 Service Temporarily Unavailable" This is because , magento goes into a maintenance mode. IN order to fix it, simply delete the maintenance.flag file. ...
    Read More Posted by | 0 Comments
    Posted on: April 20th, 2012
  • [FIX] PHP Fatal error: Call to a member function setCustomerId() on a non-object
    Last week, we did an upgrade from 1.4.x to 1.6.x and got this error message, when any user tries to reset the password and clicks on the reset password link on his email. So, in order to fix this, goto your custom theme's layout folder and ope customer.xml Add this code just before , [php] <customer_account_resetpassword translate="label"> <label>Reset a Password</label> <remove name="right"/> <remove name="left"/> <reference name="head"> <action method="setTitle" translate="title" module="customer"...
    Read More Posted by | 0 Comments
    Posted on: April 18th, 2012
  • [FIX] Cannot chdir after login Error at Magento Connect
    If you are getting any such error like, "Cannot chdir after login to" while trying to install something at Magento Connect, then here is a simple fix. Simply goto downloader folder and delete the connect.cfg file. Thats all....
    Read More Posted by | 0 Comments
    Posted on: April 17th, 2012
  • [FIX] An error occurred while saving the URL rewrite
    If you are getting this error while trying to reindex your URLs in Magento backend, then simply goto the database phpmyadmin and truncate the core_url_rewrite table. Refresh cache and try to reindex all again. ...
    Read More Posted by | 0 Comments
    Posted on: April 17th, 2012
  • [FIX] Wishlist on top links going to Homepage
    IF you have recently upgrade your Magento store, then you may face a crazy issue, where the Wishlist link on the top would redirect to the Homepage of your website. So, in order to fix it, rename your wishlist.xml file, template/page.links.phtml file and you should be good to go. ...
    Read More Posted by | 0 Comments
    Posted on: April 13th, 2012
Page 1 of 2512345...1020...Last »