Difference between API and Web services

An API is an Application Programming Interface, means by which third parties can write code that interfaces with other code. OR An api is a collection of class which provide you some functionalities like google api gives you the opportunity to work with the google search.

Difference between unset() and unlink() in PHP

In PHP unlink() is a function for file system handling, unlink() is used to delete files (physical). Suppose you have uploaded a file and wants to delete this file through the coding then unlink() function is used to delete the file, Suppose you have an image with the name

Fatal error call to undefined function mcrypt_module_open() in Magento

I have transfers the website from the development to production environment every thing is working fine except the chekout, when I clicked on the checkout buttons then it is displaying the blank page I came across this error: Fatal error: Call to undefined function mcrypt_module_open() in /path/to/Magento/site/lib/Varien/Crypt/Mcrypt.php on line

Display related products anywhere in Magento

By default Magento displays Related products block in the product description page. Some times we wants to display the related products on the product listing page or any other places in Maganto. It is very simple just use the below code and display the related products from the product

Add custom attributes in product grid or listing page in Magento

Sometimes we want to add the the New/Custom products attributes and wants to display this attributes on the frontend products listing page. It is very easy and can done by using the steps given below:

Related products on product description page in Magento

By default Magento displays the Related products block on the product description page sidebar, and you want to move related products from default sidebar location into main product page for moving related products from the default sidebar position to the main product page follow the steps below:

How To Use jQuery In Magento?

By default, Magento uses the Prototype javascript library. You can also integrate the javascript library "jQuery" in your Magento store. There is some problem to integrating jQuery in Magento, you might get some javascript conflict errors as your Magento store is using two javascript libraries one is prototype.js

All Category Listing In Magento

Some time we wants to display all categories in homepage or any CMS pages in Magento. There are many different ways to get the category listing. I will show you how you can get list of all categories of your Magento Shop.