Home » Archive

Articles in the Magento Category

Magento »

[20 Aug 2013 | 3 Comments]

Suppose, you have ID of some products and you want to load them at once in Magento, then here is a solution:-
Suppose, you have 5 products ID: 5, 22, 45, 75, 88

Magento »

[12 Aug 2013 | 2 Comments]

Here is a step-by-step guide on moving Magento site from one server to another. This can be from localhost to server or from server to localhost or from one server to another.
Step 1: Enable maintenance mode

Magento »

[4 Jun 2013 | One Comment]

I recently transferred a Magento website from one webhost to another. Frontend part is working fine. I am able to view products and cms pages. I am also able to view the admin login page. However, when try logging to admin, I get error page showing the following SQL query:

Magento »

[20 May 2013 | 4 Comments]

Magento has the feature to verify the authenticity of newly registered customers before activating their account.
When a user registers to your Magento shop, then he/she will get a confirmation email with a confirmation link. The customer’s account will be activated only after he/she clicks that confirmation link.

Magento »

[6 May 2013 | No Comment]

Problem: I am having the following error when I browse Layered Navigation on Magento.
You cannot define a correlation name ‘attribute_idx’ more than once

Magento »

[22 Apr 2013 | 3 Comments]

You might get this error when you go to Magento Connect Manager (System -> Magento Connect -> Magento Connect Manager) of your Magento installation. This means that Magento Connect is unable to write files to your server.
Warning: Your Magento folder does not have sufficient write permissions.

Magento »

[15 Apr 2013 | One Comment]

I had added a new product attribute. Suppose the attribute code is ‘test’. I have been trying to fetch/select that newly added product attribute. Here is my Magento collection code:-

Magento »

[2 Apr 2013 | One Comment]

Let’s suppose that you have a custom Magento module named ‘YourModule’. You have a custom database table for the module. There is a date field in the table. Now, your requirement is that your module should be able to display and edit the date field from admin section.
This article shows how you can display and edit date field from admin form. A datepicker will be displayed beside the date field in admin form. So that, you can easily choose any desired date.

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.