LinkedIn Twitter RSS Reset

Analysis & Usage of Collections in Magento

As a Magento Programmer I am fascinated by the use & simplicity of collection used in Magento. Simplicity, does not really mean being simple (it is rather complex structured) but easy to use. With the help of one of my colleague, I got down...

Magento eCommerce: How To Reset All Test Order Information and Set Unique Prefix For Orders, Invoices, Shipments, and Credit Memos

Nice Post I stumbled upon.. from www.eliasinteractive.com. This is a very helpful hack Lee has posted to reset order information while moving from development stage to production stage. I’d tried this in Enterprise Edition as well and...

Solution: Error Message Not Showing up in Frontend in Magento

I recently got to a situation where I needed to add a new frontend template for some module and after some action show the error or success message. Not the first time though . Interesting thing was even if I added this code in the PHTML file. <?php...

Redirect to some other location from Model or Observer in Magento

Redirection in Magento’s controller is simple. You just need to call a _redirect() or _forward() function and provide appropriate router/controller/action parameter. But if you want to redirect to some other page from Model or from Observer,...

Generating Backend-Admin URL with Key and Parameters in Magento

When you log into adminstrator part of the Magento webshop, and look into the url you may see something like this. Admin URL with Keys and Parameters The part in “RED” are module controller(router)/action. And the part in “GREEN”...

Magento Module Release: Uses Layout To List Post, made by AW Blog, on the basis of Category Identifier

I’ve always wanted to contribute something in Magento Community and I think today the day has arrived. The module is named as Sirius Blog Helper, just a name, Who cares about the “Name” unless it works . The basic function...

Creating Product Links in Magento Using Custom Query

I’ve already made a post in this blog about Adding Related Product and other links to Product in Magento . But when I used the method to creating links among product’s, while importing very large number of products and creating large...

Creating Collection of Objects in Magento using a "Magical Class":Varien_Data_Collection

Have you ever wondered how Collection in Magento are built, containing array of individual Entity Objects of Magento? Collections are one of the most important data structure (if I am right) used in Magento. Most of the queries in Magento will...

Getting Ordered Items and their Detail from Order ID in Magento

Here is a small snippet of code, yet useful, to get ordered items and its details. I’ve deviced this code a lot before and posted in Magento Commerce’s Forum as well. But felt like writting it again, so that I can have a quick refrence...

Create and Download XLS Report file using Magento's Core

Reporting can be a very important part of the Module you might be developing for Mageneto. If you are showing your data in Grid that’s good, but it will be better if you add XLS file generation action on that grid, so that the site administrator...