Currency code and symbol in magento

Posted by on Jan 31, 2013 in Magento, Php | No comments yet

Some times we need to show the currency code and symbol separately in magento and here is the code to do so For getting currency code : For getting currency symbol :

Get subcategories of a categories with images in magento

Posted by on Dec 14, 2012 in Magento | 4 Comments

Here is the code to show all the subcategories inside an category in magento Here 10 is the id of the parent category and to get the url for that category use You can also get the image of an …

How to add static blocks inside the phtml file

Posted by on Dec 10, 2012 in Magento | No comments yet

We can insert the static blocks inside an phtml file by using the identifier of the static block we created in the admin panel of magento Here is the code to do so, In this case identifier must be replaced …

How to get the skin,media url in magento

Posted by on Nov 19, 2012 in Magento | No comments yet

we can call the images and js files inside the template’s skin folder in an phtml file by the following code snippet And in static block we can call it as To get the media url in static block use …

Load More