Home » Archive

Articles Archive for March 2013

Magento »

[25 Mar 2013 | 4 Comments]

Suppose, you have a custom Magento module and you wanted to add a custom tab to “Customer My Account” section, i.e. the frontend part displayed after customer login.
Here is the solution:-

Google, Magento »

[18 Mar 2013 | Comments Off on Magento: Google Analytics not working after Magento upgrade to version 1.7]

Problem:- I recently upgraded a Magento shop from version 1.6 to 1.7 and suddenly the Google Analytics stopped tracking data.
Solution:- You need to add ‘template’ attribute to googleanlytics block in app/design/frontend/your_package/your_theme/layout/googleanalytics.xml

Magento »

[11 Mar 2013 | Comments Off on Magento: Get Customer Attribute]

This article contains code snippet to get customer attributes in Magento.
Get Customer Collection

Magento »

[4 Mar 2013 | 3 Comments]

This article contains code snippet to get custom options value of all products in any Magento order.
Suppose, there is a product with a custom option dropdown list. You chose one of the option from the dropdown list and purchased that product. The code below fetches product’s custom option value selected in any particular order.
Here is the code:-