Home » Archive

Articles in the Magento Category

Magento »

[25 Mar 2013 | One Comment]

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 | No Comment]

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 | No Comment]

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

Magento »

[4 Mar 2013 | One Comment]

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:-

Magento »

[28 Jan 2013 | One Comment]

I was working with a custom Magento module. I had to display TinyMCE editor in an admin form field.
I was getting this error when I try to add/edit data from the custom module:-
Warning: Invalid argument supplied for foreach() in lib\Varien\Data\Form\Element\Editor.php on line 225

Guest Post, Magento »

[14 Jan 2013 | No Comment]

Getting customers to your eCommerce store and making a purchase is one set of problems. Getting them to make repeated purchases, and maintaining their level of satisfaction with your company is a different set of problems.
Customer support is not easy to get right, as we’ve seen recently with Google’s apparent eCommerce incompetence with its constantly sold out Nexus products and badly malfunctioning shopping interface.

Magento »

[7 Jan 2013 | No Comment]

Here is a quick tip to change the landing or startup page of Magento Admin. I mean to say, when you login to Magento Admin, you land up on Dashboard page. You can change it to any page you like.
For example, you might want to see Orders page (Sales -> Orders) just after you login to Magento admin instead of the Dashboard page.

Magento »

[5 Nov 2012 | 2 Comments]

Here are some ways (2 ways below) to show customer address information in registration page.
When you fill up the address fields and signup then both your billing and shipping addresses are filled up.
Here is how to enable address fields in signup page:-

Magento »

[29 Oct 2012 | No Comment]

Here is a quick tip on how meta tags – title, keywords and description work on Magento.
Meta information are not visible directly to end users but they are read by search engine spiders (bots). Meta tags are very important parameters for Search Engine Optimization (SEO).
In Magento, you can keep meta tags for Category, Pages and Products. I will be dealing with the meta title, meta keywords and meta description tags for Products.

Magento »

[8 Oct 2012 | 3 Comments]

I have created a new custom module. Now, I need to edit a default template file.
For example:-

Magento »

[24 Sep 2012 | No Comment]

This article shows how to add system configuration (System -> Configuration) menu with menu tab for your custom module.
Let us suppose, you have already created a local module.

Magento »

[10 Sep 2012 | 3 Comments]

Varien_Object and Varien_Collection are the parent/super class for most of the Magento Models and Collections respectively.
The path for Varien_Object is lib/Varien/Object & for Varien_Collection is lib/Varien/Data/Collection.php.

Magento »

[28 Aug 2012 | 40 Comments]

Auto Currency Switcher is a currency switcher extension which automatically switches store currency based on visitor’s IP address.
This module is compatible with Magento version 1.3 and later (Magento 1.3, 1.4, 1.5, 1.6, 1.7).

Magento »

[27 Aug 2012 | One Comment]

I am using Magento verion and I had this issue. I had enabled Paypal Express Checkout payment method. When I choose this method on checkout, I was redirected to Paypal website but order data was not displayed there.
The main reason in my case was due to applied discount to the cart. I had created a shopping cart price rule and applied it to the cart. And, when I choose Paypal Express Checkout as payment method, the paypal website would show empty order data.

Magento »

[20 Aug 2012 | No Comment]

I have a downloadable product. After I order the product and when my order is complete, I am able to download the product links from ‘My Downloadable Products’ menu in Customer Account section.
I go to ‘My Downloadable Products’ section and I click on the links to download. However, the PDF file opens in the browser itself. I would like to have the feature that asks to download / save as instead of directly opening in the browser.