How to override a controller in Magento

How to override a controller in Magento In several time ,we need to override a controlller.How to override a controller in Magento. There are two process available: 1.Basic Old process. 2.Upgrade Process from Magento CE 1.5.0. First have describe second process. It available from Magento CE 1.5.0.Where, i have Overriding controllers magento core controller .I[…]

How to change page layout in Magento

In this post,you can change page layout in Magento also set a Magento page template layout How to change page layout in Magento There are in few steps,you can page pay layouts. For change the page layout,you need to change root block  template(<reference name=”root”>) using setsetTemplate() method  ,So use <action method=”setTemplate”><template>YourPageLayoutLocation/YourLayput.phtml</template></action> and apply this template[…]

Create an magento extension with custom database table

Create an magento extension with custom database table For,a newcomer magento developer,it is not easy to create an magento extension with custom database. There are few steps to create an extension. First of all create module control file Module name as Amit_Custommodule.xml at app/etc/modules/. Which is enabling and disabling that custom module.First of all define[…]

Programmatically create invoice of an order in magento

Programmatically create invoice of an order in magento and create partial invoice of an order For some time need to create invoice of  an order.I have write code for  how to create invoice of an order pragmatically here. First of   load an order by order id/order increment id, Check which items of  that order are[…]

Magento custom collection filter and sort

Magento custom collection filter and sort   We have already know how to filter magento product ,customer,wishlist,order  collection  fields filters. But whenever we are working on  non-exiting model collection, then we facing problem.Here i have put some tricks how you can filter a custom collection by a field.In post,i have working on a writing how a[…]