In the previous blog post, we had seen the how to do various sql query in a mysql resource file. In this blog post we will see how to work with magento collection and doing various operations with collections.
In this section, we will look in all the various sql operations on collections. Collections are also very important when working on admin grids. Continue reading
In this blog we will see how magento manages email, how can we edit emails content and set email’s from and to parameters.
This is a basic tutorial for managing emails from magento admin. Continue reading
In this blog we will see basics of how to product sorting in category page and how to setup different sorting type.
We will also see how to set default sorting in product collection e.g if we want to sort products in ascending order by price,name etc. Continue reading
In this blog, we will see some important function in magento product collection class.
Product Collection class in magento is Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection. Lets look at the important functions Continue reading
In this blog we will see how generate a category tree, recursively showing all categories and sub categories.
The code is given below, will explain the code line by line Continue reading