Magento »

[21 Nov 2011 | 5 Comments]

Here is the code to get ratings and reviews for any particular product.

Displaying the ratings

Magento »

[14 Nov 2011 | 4 Comments]

Ogone is one of the leading European Payment Service Providers with more than 28.000 clients across 40 countries.
Ogone is connected through certified links to more than 200 European banks/acquirers that enable handling of international payment methods like Visa, MasterCard, American Express, Diners Club and JCB as well as local ones like iDEAL and Machtigingen in The Netherlands, Solo and Maestro UK in United Kingdom and ELV and giropay in Germany.

Miscellaneous, Ubuntu »

[7 Nov 2011 | No Comment]

The term Virtual Host refers to the practice of running more than one web site (such as and on a single machine.
Virtual hosts can be “IP-based“, meaning that you have an IP address for each web site, or “name-based“, meaning that you have more than one web site per IP address. The fact that they are running on the same physical server is not visible to the end user.

Magento »

[1 Nov 2011 | 3 Comments]

This article shows how to reindex Magento Data Programmatically (through code).
You can manually reindex data from System -> Index Management. However, this article is concerned how this can be done through code/programming.
Currently, there are 9 indexes. They are as under (with their respective key number):-


[24 Oct 2011 | One Comment]

PHPMailer is a PHP class for PHP that provides a package of functions to send email. It is an efficient way to send e-mail within PHP. The following are some features of PHPMailer:-

– Sending HTML email
– Sending email with attachments
– Sending email to multiple recepients via to, CC, BCC, etc
– Supports nearly all possiblities to send email: mail(), Sendmail, qmail & direct to SMTP server

Magento »

[17 Oct 2011 | 8 Comments]

You can manually create CMS Pages in Magento from CMS -> Pages. Similarly, you can create Static Blocks from CMS -> Static Blocks.
This article will show how to create CMS pages and Static blocks programmatically from code.

Magento »

[10 Oct 2011 | 2 Comments]

If you are developing a module which needs to give access to its content only to logged in user then the preDispatch function will be very useful. This dispatches event before action.
Just write the following function in your module’s controller and customer log in is checked before each of your controller action.

Miscellaneous »

[7 Oct 2011 | No Comment]

Steven Paul “Steve” Jobs
(February 24, 1955 – October 5, 2011)
When I was 17, I read a quote that went something like: “If you live each day as if it was your last, someday you’ll most certainly be right.” It made an impression on me, and since then, for the past 33 years, I have looked in the mirror every morning and asked myself: “If today were the last day of my life, would I want to do what I am about to do today?” And whenever the answer has been …

Magento »

[3 Oct 2011 | 3 Comments]

This article will show you how to get best selling products. You will see how to get overall best selling products as well as best selling products by category and by date time range.
Here is the code:-