Magento shell scripts
I have often seen custom shell scripts on Magento instances, be it a script testing out some code snippet or an attribute installation script which hadn’t made it’s way to a separate module. This will create a mess in the files structure as there are quite a lot files already residing in the root folder. There is, however, the dedicated place where these scripts should be placed and this place is the ‘shell’ folder in the root of every Magento installation
Custom sort field for Magento products listing
Today we are going to change Magento default products displaying order. I mean “sort by” field and it’s direction. This article will show how to add a new sorting field, called “Date added” to the products list.
Displaying a custom CMS attribute on the Magento frontend
In this article we would like to share with the community one of the ways to display a custom CMS attribute on the Magento frontend. In my previous article I have explained how to add a CMS attribute at the backend. Check it out here (Adding a custom attribute to the CMS page).
How to process Magento indexes from the command line
Magento is a pretty powerful and complex system. It allows to work with massive amounts of data, but when database is overloaded with tons of records it becomes heavy and slow. Magento uses indexes to solve this problem. Indexes are additional database tables with some flat data, which allows to organize fast responses from the database. By default, core system updates indexes on each item’s save. But in some cases you need to do it manually, for example some types of mass actions etc.
Preparation to Magento Developer Certification
As many of you know, at the end of the last year Magento has introduced an opportunity to the developers to confirm and leverage their knowledge of Magento by passing the Magento Developer Certification. Here we’d like to share some thoughts on the preparation process basing on our experience.
Accessing a custom attribute at checkout/cart in Magento
So you have added a new custom product attribute. It is not a problem to access and use it in Product View. And you probably know that you should enable it under the attribute settings page of Magento backend in order to make it available for the Product List (or category view) section. But what about checkout/cart area?
Replace the Magento language selector with flag icons
In most Magento templates, we can see the language selector provided as a simple pull down menu. Let’s explore a way to enhance the look and make a more attractive, custom style.
In the example below, I’ll tell you how to make a multilingual store and replace the standard language selector with flag icons.
Adding a custom attribute/column to the orders grid in Magento admin
Does your Magento order grid have all of the fields you need? Adding or removing columns is fairly simple. Let’s explore how.