Ubuntu »

[23 May 2011 | No Comment]

There were many solutions to install Mozilla Firefox 4 in Ubuntu 10.10. This solution helped me. It works like a charm. :)
1. Add the Firefox stable PPA.

Magento »

[17 May 2011 | 18 Comments]

You have built a custom magento extension (magento module) and you want to package it and submit it to magento connect (magento extension directory).
This article shows how to create Magento extension package. I have included images for every step which I followed while creating extension package for my module (Auto Currency Switcher).

Magento »

[16 May 2011 | 5 Comments]

I have a payment method which is displayed well in general Magento checkout. But it is not displayed in Multiple Addresses Checkout.

Magento, Zend »

[10 May 2011 | 2 Comments]

Here is a quick function code to send email in Magento. I am using the Zend_Mail class.

Hope this helps. Thanks.

Magento »

[4 May 2011 | 10 Comments]

Here, I will show you how you can assign different shipping rate for different country in Magento. Like, there might be different shipping rate for US and Canada. Moreover, there might be different shipping rate for various regions within US as well. Like, there might be different shipping rate for Florida and California.
In Magento, you can have this functionality pretty simply. There is a shipping method named ‘Table Rates‘. You can adjust the country specific shipping rates from it.

Magento »

[1 May 2011 | 3 Comments]

This article shows how to add default value to any system configuration option fields. System configuration option fields means those options under System -> Configuration.
Suppose, you have the following system.xml file. System.xml file is necessary to add admin configuration options.

Magento »

[29 Apr 2011 | One Comment]

I am getting the fatal error saying:-
Fatal error: Call to a member function getTable() on a non-object in /var/www/magento/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php on line 456
This error occurs when I try to browse Configurable product in frontend. Or, when I try to add Configurable product in backend.

Magento »

[25 Apr 2011 | 25 Comments]

Here, I will show you how you can get information about all items in your Magento Shopping Cart. You will see how you can :-
– Get products id, name, price, quantity, etc. present in your cart.
– Get number of items in cart and total quantity in cart.
– Get base total price and grand total price of items in cart.

Magento »

[18 Apr 2011 | 5 Comments]

Here, I will show you how to track visitor’s data information in Magento. By visitor’s information, I mean information like remote address, http host, user agent (browser), referer url, first visit date time, last visit date time, etc.
The following code fetches the vistor data:-