search
top

Optgroup in Magento

For a module I was working on in one of my project, I needed to display a select box, with optgroup, Magento has inbuilt function for this. Kindly go through this post Select Box in Magento of...
read more

Event and Observer in Magento

There is an Event-Observer methodology used in Magento, Magento has been programmed to raise events in crucial areas of the flow. We can use these events for our requirement. I am describing...
read more

Adminhtml Frontname in Magento

I am writing here a code snipet for fetching the name (alias) used to access admin end, which is set to ‘admin’ by default <?php echo Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName'); ?> Below...
read more

File Upload in Magento

As you already might have noticed, there are many modules in Magento which has file uploading facility in admin end. I had to make a custom form for file uploading in Magento in frontend, I am...
read more

Category and Product SOAP API in Magento

In one of my post I explained the basics of SOAP API, please refer Magento SOAP API before proceeding further I am listing here the methods to create Categories and Products using SOAP API 1)...
read more

Payment Methods in Magento

These days I am working on Payment Module. I am writing here the code which is useful and related to Payment module 1) To fetch the existing Payment Methods There is a payment module helper file...
read more

Get Table Name in Magento

I am writing here a small but useful snippet of code, for getting the table name of any module (whose table name are defined in config file). This is very useful when using joins in query. Suppose...
read more

Encode Decode image using PHP

Hello, I am describing here the way to 1) Encode image to generate a string 2) Decode image from a given encoded string 1) Here you need to specifiy the path of your image in variable ‘$image_path’ <?php ...
read more

« Previous Entries

top