Category / Magento

Magento Enterprise 1.9.0.0 redirects to home page instead of 404 error page

Magento Enterprise 1.9.0.0 redirects to home page instead of 404 error page

If you have installed and working on latest Magento’s Enterprise Edition 1.9.0.0, you could find some strange behavior with 404 error page and landing page. People say there is a patch for this, but I would like to present a quick fix for those of you who need an urgent solution. Issue is that you’ll get status 200 OK for each non-existing CMS page or controller and you will be redirected to home page.
Read more

11

How to add “View All” button in Magento’s pagination

How to add “View All” button in Magento’s pagination

Hi, I had a bit of unusual request from a client and I had to create “View All” button and put it into Magento’s pagination on category listings, so I decided to share the trick. ;) Read more

9

Working with multiple PHP frameworks – The best practice

Working with multiple PHP frameworks – The best practice

Hi, first of all, I’d like to explain the title of this post. I won’t go into depths of complicated examples, but rather explain the logic of it. Read more

15

How to make configurable options autoselected on Product view page

How to make configurable options autoselected on Product view page

If you ever tried to do anything with Magento configurable products view page, most likely you needed changes in  /js/varien/product.js in case you wanted to manipulate dropdowns.

This will be one of the ways to do it. Read more

3

Standard procedure to upgrade Magento to the newest version

Standard procedure to upgrade Magento to the newest version

I can’t give you exact recipe how to upgrade your specific Magento installation, but I’ll try to explain my standard procedure when getting Magento up to date. Read more

23

How to add massactions to Magento’s grid

How to add massactions to Magento’s grid

This article describes how does Magento’s mass actions work and how to add them in your existing grids.

You need to do 2 things:
- extend the block (grid) class with “protected function _prepareMassaction()
- add an action into your controller, which will handle your desired logic.
Read more

5

Magento performance, research and improvement

Magento performance, research and improvement

I made a small research regarding  Magento performance. Perhaps, you already know it, but I would like to share this with other people who probably haven’t heard about this problem.

Read more

5

Magento’s database layout and its EAV structure

Magento’s database layout and its EAV structure

Greetings fellow developers! Today I’ll try to explain the principles of EAV system and Magento’s implementation of it. This is a tutorial / explenation for beginners, so please be patient and even try to draw the logic on a paper if you don’t understand it. A small notice before we start. I won’t use specific SQL query examples since this will be a simplified example of principles of the EAV.
Read more

8

Contact Form in Magento

Contact Form in Magento

As you know, Magento has a built-in contact form that can be used for general contacts. That form isn’t part of any CMS page, you cannot edit some introduction text, you cannot add phone numbers administration, and you cannot see the breadcrumbs. If you wish to edit text in that default contact form, you will need to update front-end files. Luckily, there is an alternative. Read more

76

Basic folder structure for new Magento Extension

Basic folder structure for new Magento Extension

When I had first contact with Magento platform, I had to create a custom module for it. I thought to myself – how hard can it be? How wrong I was… I didn’t even know where to start… Read more

3