Magento E-commerce Platform Q/ A

Magento Source Model

Source model serves to insert the data into the certain fields: checkboxes, multi selects, radios, selects in admin area: System- > Configuration.


To indicate Source Model for the field, add tag: <source_model> and define source model in it


The field must contain tag: <frontend_type> with one of the values: сheckbox, multi select, radio or select.


Magento Models

The access to the data in the database works via models. There is no universal definition for models as there are a number of different model types, each of the type is responsible for a certain part of the module.  

How to Setup Magento Scripts

In order to add a new table into Magento database you need to determine Setup Resource class in config.xml

Properties of 'backend_model' Attribute in Magento

When creating software attribute there is possibility to indicate its model. This model would be used when saving or uploading the attribute. With the help of the indicated model it would be possible to manage the data format and the content.

The model could be specified when creating the configuration field in the admin area (system.xml).

Instantiating Magento Blocks, Models, Helpers and Controllers

Usually Magento organizes its code in the individual modules. Typical Model-View-Controller (MVC ) application stores all controllers in one folder, all models in another folder etc. But Magento groups all files together and these files are called: “Modules”.  For example, in Magento you'll be able to find Controllers, Models, Helpers, Blocks, etc that are related to the Catalog functions in:

Magento Module Setup system.xml (Part 2)


System.xml (Part 2)

You can review Part 1 here

To set the fields specify the following tags:

Magento Module Setup system.xml (Part 1)


System.xml (Part 1)

Magento is highly customizable and have lots of pre-built configurations. All of it could be found in: System -> Configuration. Any module could add specific parameters into that interface. New fields, groups and tabs – it all could be added with the help of the configuration file: system.xml.


Magento Module Setup (Part 2)

Part 2

You can find Magento Module Setup (Part 1) here

Now let's take a look at the section: acl

Magento Module Setup (Part 1)


Magento as any other modern system is built with the help of modules. And it goes without saying that each module is configured independently. That is why before creating a new module it is necessary to get familiar with Magento module structure.

Magento stores the main module configuration part in etc/config.xml file:

Magento Multi-Language


Magento is a flexible platform to create personalized e-commerce solutions (web shops). One of Magento important features is multiple languages support. Thanks to this feature the platform usage grows all over the world. In this article you will learn how to add language/s to your Magento shop.


Adding another language to the website

In order to add one more (or a couple) of language/s the first thing to do is to create Store View.