Magento PHP Joomla Wordpress MySQL Jquery Ajax HTML CSS Blog

Magento: Convert price from default currency to some other currency 1

Magento: Convert price from default currency to some other currency

To convert the price to some other currency we need to select that currency in allowed currency and import currency rates from System->Manage currency ->Rates . The synatx for currency conversion is currencyConvert($amount, $from,...

Magento: Check if a module is installed, enabled or active 0

Magento: Check if a module is installed, enabled or active

Here is a quick code to check if a Magento module is installed, enabled or active. The functions isModuleEnabled and isModuleOutputEnabled are present in Mage_Core_Helper_Abstract class. You can also check if the output of...

Magento: Installing New Language Package 0

Magento: Installing New Language Package

Here is the step-by-step procedure to install new language package on Magento. Let’s assume that you want to install Dutch language package. 1. Go to this link. 2. Get the extension key. 3. Login...

Magento: Add Custom Selection List in System Configuration 0

Magento: Add Custom Selection List in System Configuration

This tutorial shows how to add a custom select list in configuration settings of a custom Magento module. Suppose, your module’s namespace is YourNamespace and your module’s name is YourModule. And, you want to...

Magento – Accessing a customer’s wishlist 0

Magento – Accessing a customer’s wishlist

The array variable $arrProductIds will now contain the list of all Product IDs that have been wishlisted by that specific Customer.

0

Magento: Get real IP address behind a proxy

Get real IP address if your server or customer is behind a proxy network. Magento have function Mage::helper(‘core/http’)->getRemoteAddr(); to get client IP address, but it gives proxy IP address instead of real IP if...

How do I get a barcode in Magento email template 0

How do I get a barcode in Magento email template

I found this out while scouring the net on my quest for all my other recent problems. Zend has a built in barcode generation class, Zend_Barcode. Then googling php image output, I put together...