How to add new language in Magento store

Are you looking for adding new language in your Magento store. Follow these easy steps and enjoy your multilingual site: Go here: http://www.magentocommerce.com/translations Select the language which you want to add Download the package and upload the files on your server. You can download the desired translation through Magento connect via admin. Once installed Go to: System [...]


Get attributes from a static block in phtml : Magento

Static block is very useful in magento to make the site functional. When we create the static block it ask for some attributes like title, identifier, statuc and content. We know How to add static block to your phtml file. Now here is the solution to get other attributes in phtml file.     For example we [...]


How to check the current page is homepage or not in Magento?

In the magento all the pages define by “Identifier”. First we will check the current page is a CMS page or not after that we will check the current page identifier is “home” or not. We will check for “home” identifier because by default magento home page identifier be “home”   To check the current [...]


How to check server compatibility for Magento

If you are looking to run Magento site in your website. First you should confirm that you have magento compatible web server. You can check the System requirement from here. You can check the server compatibility with following steps Download the Magento Compatibility Check file to your computer and extract the zip file. Upload the magento-check.php file to your [...]


isShippingLabelsAvailable : Magento Issue

Magento Version 1.6 has a bug related to isShippingLabelsAvailable() method.   When you try to make shipment an order you may be get a error :   Fatal error: Call to a member function isShippingLabelsAvailable() on a non-object in app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Create/Items.php on line 132   This error lies in the Mage_Adminhtml_Block_Sales_Order_Shipment_Create_Items class on line 130 within the canCreateShippingLabel() method. [...]


How to change currency symbol in Magento?

Some day before, I got a task to change the currency symbol for New Zealand. After some research, i got the solution. Now I am putting the solution here for reference: I had to change the currency symbol of New Zeland Dollar to NZ$. By default, the currency symbol for New Zeland Dollar is $. For this, you need [...]


Service Temporarily Unavailable in Magento

Some time we face the 503 error in Magento website. Reason behind it is Magento Downloader. If you will check Magento Downloader you will get a option to unable or disable the maintenance mode. You can go to Magento Downloader directly by adding “downloader” after your domain name. E.g. http://www.yourdomain.com/downloader


How to add static block to your phtml in Magento

Static Block plays a big role in magento to show the information, links, banner etc. on the Magento sites. All the website developer use static block in a different manner. below is the process to add static block in your phtml file (Magento Theme File). 1) First login into magento admin and create a static [...]


How to get manufacturers list : Magento

If you want to show the manufacturers list on your sidebar or anywhere else in magento site.  You just need add some little code. First open the file app/code/core/Mage/Catalog/Block/Navigation.php Add the below code at the end of file public function getAllManu() { $product = Mage::getModel(‘catalog/product’); $attributes = Mage::getResourceModel(‘eav/entity_attribute_collection’) ->setEntityTypeFilter($product->getResource()->getTypeId()) ->addFieldToFilter(‘attribute_code’, ‘manufacturer’); //can be changed to any attribute [...]


How to get sub category list for specific category in magento

Below is the code to get sub categories list from specific category in magento. For example, if we make a category by name “brand” (fro example id is 35) and we want to show all the subcategory list as select dropdown. So we can use below code: <select style=”font-size:11px;” id=”select-manufacturer” onchange= “window.location.href=this.value”> <option value=”#” selected=”selected”>—-Select [...]