Home » Archive

Articles Archive for July 2010

Magento »

[24 Jul 2010 | One Comment | 8,972 views]

There are different important functions that you can implement in your Collection object. The functions are present in Varien_Data_Collection_Db class. The class file is present in lib/Varien/Data/Collection/Db.php Here are some of the functions that you can use in your collection object:-

Magento »

[22 Jul 2010 | 7 Comments | 2,508 views]

Scenario: I have a fresh installation of Magento 1.4. I already have installed the sample data for Magento. Now, when I go to the category listing page, no products are displayed. It says “There are no products matching the selection.“.

Magento »

[20 Jul 2010 | 3 Comments | 2,845 views]

In my previous article, I have written about how you can change the currency symbol by making some change in the Zend (lib/Zend/Locale/Data/en.xml) file. It’s easy way but the main drawback of this method is that all your changes will vanish once you upgrade Magento.

Magento »

[20 Jul 2010 | 9 Comments | 9,116 views]

A configurable product can have multiple other products associated to it. Here is the code to fetch all the children products that are associated with a configurable product. Here goes the code :)

Magento »

[18 Jul 2010 | 8 Comments | 5,099 views]

Magento: How to change Currency symbol? I had a hectic day changing the currency symbol in Magento. Though different blogs and magento forum helped me, I am writing this article for my reference. ;) I had to change the currency symbol of Nepalese Rupee (from Nrs to Rs). By default, the currency symbol for Nepalese [...]

Magento »

[16 Jul 2010 | 5 Comments | 2,096 views]

You can see the currency Rates from Magento Admin System -> Manage Currency Rates You can change base currency and allowed currencies from System -> Configuration -> GENERAL -> Currency Setup -> Currency Options Now, here I will show you how you can get currency rates values for any given currency code.

Magento »

[14 Jul 2010 | 20 Comments | 13,122 views]

Here, I will show you, how you can change your order status programmatically (with PHP coding). First, you need to load your order. If you have order id, you can load order in the following way:-

Magento »

[12 Jul 2010 | 22 Comments | 5,778 views]

I got this error message when migrating my Magento files and database from one server to another. Notice: Undefined index: 0 in app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92 Solution:

Sports »

[9 Jul 2010 | One Comment | 118 views]

Octopus Paul has predicted that Spain will win the FIFA Worldcup 2010 by beating The Netherlands.

Facebook, Google, HTML »

[6 Jul 2010 | 24 Comments | 12,281 views]

IFrames are not supported with XHTML 1.0 Strict Doctype. When you use IFrame and your doctype is XHTML 1.0 Strict, then you cannot pass the W3C Markup Validation test. You always get errors. The errors are like:-

PHP »

[1 Jul 2010 | 2 Comments | 1,238 views]

Here is a quick tip on parsing and unparsing string and array in PHP. You can parses the string into variables by using the parse_str PHP function. Using parse_str function