Magento E-commerce Platform Q/ A

Email Notification of Magento 'Contact Us' Form Submitter

The feature notifies the user who submits 'Contact Us' form on site (the notification will be delivered to the indicated by the user email address).

See the image:

248

The notification message example:

249

To enable the feature:

1. We will extend Contacts settings with the ability to Enable/ Disable notification and the ability to choose the template of the notification to send to the user.

Add file system.xml into the module folder:

Custom Redirect from a Category Page in Magento

Let's assume your customer needs to redirect store users when they click on some category link to some particular product page. You can do it by creating a simple module. 

The structure of the etc/config.xml file:

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

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)

Introduction

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

Introduction

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.

173

Magento FAQ: Module Structure

Magento Module Structure

Magento extensions are usually structured this way:

72

 

Directories creation

Magento module contains two major parts: “code” and “design”. The “code” determines functionality of the module. For example: work with the data base. The “design” is the visual representation of data that was processed by the “code”.

Directory: /app/design