Category archives: Basics

 

 

0

Get Country Name from Country Code

Just a quick snippet of code that will return you the Country Name based on a country code, e.g if you’re looking at the Order model getting the country_id of GB, however you need United Kingdom, the following code can be used: [code]Mage::app()->getLocale()->getCountryTranslation($country_id);[/code] Simply pass in your country id value (e.g GB) and Magento will […]

 

 

0

Magento Robots.txt File

The robots.txt file on your website can help you say what gets indexed, crawled and used by the search engines. It is a vital part of your website which is often overlooked. Full details on the robots.txt file can be found on the wiki page @ http://en.wikipedia.org/wiki/Robots_exclusion_standard however below I have listed the most helpful […]

 

0

Magento Admin URL

The URL to access the Magento control panel can be manipulated and changed at anytime. Some people choose to change the URL for security reasons and others to make it easier to remember. If you want to change the URL of your Magento control panel simple follow these steps. 1. Open your FTP client and […]