Magento Format Price To Default Currency

Use the below code to format a price according to default currency in Magento $price = $_product->getPrice() /// This is in product details page. /// Replace it with necessary price value according to your requirement. $formatted price = Mage::helper(‘core’)->currency($price);

"Flex Library Not Loaded" Error In Magento

The Problem Image upload not working in Magento backend. Whenever entering product details getting an error alert saying Flex Library Not Loaded The Solution This happens due to improper Magento installation. Just give full permission to the following folder /js/lib That should solve the problem. Njoy 🙂

jQuery Useful Links Of Tutorials, Manual, Examples

jQuery with its huge number of plugins is a Javascript framework that can do everything … well, almost everything 😛 So I list below few links that will help people working with jQuery 1. http://jquery14.com/ (14 consecutive days of new releases for jQuery 1.4)2. http://api.jquery.com/visual/ (A jQuery Manual that is helpful and stylish)3. http://jqueryui.com/demos/ (jQuery… Continue reading jQuery Useful Links Of Tutorials, Manual, Examples

Drupal Database Installation Problem Solved

While installing Drupal sometimes you might get stuck on the database configuration page. After entering the data and submitting, the page just reloads and nothing happens. Follow the below steps for the solution. 1. I know you have already done this step, but just to mention, please go through the database details once again and… Continue reading Drupal Database Installation Problem Solved

Zen Cart header_php File Not Updating

I faced a problem last day while updating the header_php.php file for one of the pages I created in Zen Cart. Even after making changes in the header_php file, the changes were not reflected when I viewed the page in browser. The header_php.php file is present in \includes\modules\pages\{page_name}\where {page_name} should be replaced by the name… Continue reading Zen Cart header_php File Not Updating

Magento :: How To Call Static Blocks From PHTML Pages

Magento offers the web master to put static contents where ever he likes in the site with the help of CMS -> Static Blocks. These blocks can be easily edited from the admin panel. To call and show their contents on any phtml file write the following code. echo $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘identifier’)->toHtml() ; Here identifier should be… Continue reading Magento :: How To Call Static Blocks From PHTML Pages